Preparing the NetBackup for OpenStack container images
Warning:
All commands need to be run as user "stack".
NetBackup for OpenStack uses the local registry on the undercloud to house packages.
NetBackup for OpenStack provides a shell script, which pushes the containers to the undercloud and updates the nbos_env.yaml.
cd /home/stack/nbos-cfg-scripts/redhat-director-scripts/<RHOSP_release_directory>/scripts
sudo ./prepare_nbos_images.sh <UNDERCLOUD_REGISTRY_HOSTNAME> <IMAGE_SOURCE_FOLDER>
Run following command to find UNDERCLOUD_REGISTRY_HOSTNAME.
In the following example nbos-undercloud is <UNDERCLOUD_REGISTRY_HOSTNAME>
$ openstack tripleo container image list | grep keystone | docker://nbos-undercloud:8787/rhosp-rhel9/openstack-keystone:17.1
CONTAINER_TAG format for RHOSP17.1: <NBOS_VERSION>-rhosp17.1
Example,
sudo ./prepare_nbos_images.sh nbos-undercloud 10.4.1.1035-rhosp17.1 /home/stack/nbos/nbos-rhosp17.1-10.4.1.1035
The changes can be verified using the following commands.
sudo podman images | grep nbos localhost/nbos-horizon-plugin 10.4.1.1035-rhosp17.1 c4ba2c4ff0f8 3 days ago 1.01 GB localhost/nbosdmapi 10.4.1.1035-rhosp17.1 8baac9920a8e 3 days ago 1.13 GB localhost/nbosdm 10.4.1.1035-rhosp17.1 86542c17acc2 3 days ago 2.76 GB ----------------------------------------------------------------------------------------------------- (undercloud) [stack@host scripts]$ grep -i image ../environments/nbos_env.yaml docker_nbosdm_image: nbos-undercloud:8787/nbosdm:10.4.1.1035-rhosp17.1 docker_nbosdmapi_image: nbos-undercloud:8787/nbosdmapi:10.4.1.1035-rhosp17.1 ContainerHorizonImage: nbos-undercloud:8787/nbos-horizon-plugin:10.4.1.1035-rhosp17.1