Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 10 additions & 16 deletions omnia.sh
Original file line number Diff line number Diff line change
Expand Up @@ -902,29 +902,23 @@ show_help() {

install_omnia_core() {
# Print message for pulling the Omnia core docker image.
# echo -e "${BLUE} Pulling the Omnia core image.${NC}"
echo -e "${BLUE} Pulling the Omnia core image.${NC}"

# Pull the Omnia core docker image.
# if podman pull omnia_core:latest; then
# echo -e "${GREEN} Omnia core image has been pulled.${NC}"
# else
# echo -e "${RED} Failed to pull Omnia core image.${NC}"
# fi
if podman pull docker.io/dellhpcomniaaisolution/omnia_core:latest; then
echo -e "${GREEN} Omnia core image has been pulled.${NC}"
else
echo -e "${RED} Failed to pull Omnia core image.${NC}"
fi
# Fail if image is not found. podman inspect can be used to check if image exists locally.
if podman inspect omnia_core:latest >/dev/null 2>&1; then
if podman inspect docker.io/dellhpcomniaaisolution/omnia_core:latest >/dev/null 2>&1; then
echo -e "${BLUE} Omnia core image already exists locally, skipping pull.${NC}"
else
echo -e "${RED}ERROR: Omnia core image not found locally.${NC}"
echo ""
echo -e "${YELLOW}To resolve this, please follow these steps:${NC}"
echo -e "1. Clone the Omnia Artifactory repository:"
echo -e " git clone https://github.com/dell/omnia-artifactory -b omnia-container"
echo -e "2. Navigate to the repository directory:"
echo -e " cd omnia-artifactory"
echo -e "3. Build the core image locally:"
echo -e " ./build_images.sh core omnia_branch=<version/branch_name>"
echo -e "4. After building the image, re-run this script:"
echo -e " ./omnia.sh --install"
echo -e "${YELLOW}Suggested next steps to resolve this:${NC}"
echo -e "1. Verify internet access"
echo -e "2. Retry after some time in case of rate limits"
exit 1
fi

Expand Down
10 changes: 4 additions & 6 deletions prepare_oim/roles/deploy_containers/auth/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,14 @@ openldap_ports:
- 389
- 636
wait_time: 10
auth_service_image_name: omnia_auth
auth_service_image_name: docker.io/dellhpcomniaaisolution/omnia_auth
auth_service_container_name: omnia_auth
auth_service_image_pull_fail_msg:
- The pull of the auth service image {{ auth_service_image_name }} has failed.
- "ERROR: {{ auth_service_image_name }} not found locally."
- To resolve this, please follow these steps
- Clone the Omnia Artifactory repository
- git clone https://github.com/dell/omnia-artifactory -b omnia-container
- Navigate to the repository directory and Build the core image locally
- ./build_images.sh auth
- To resolve this, please check below
- Verify internet access
- Retry after some time in case of rate limits or pull limits
auth_service_quadlet_mode: "0644"

auth_service_container_success_msg: "The {{ auth_service_container_name }} container has been successfully deployed."
Expand Down