16.2.2. Running the container image prepare
Complete the container image preparation process by running the director container preparation command. This prepares all container image configurations for the overcloud and retrieves the latest Red Hat Ceph Storage 6 container image.
If you are using Red Hat Satellite Server to host RPMs and container images for your Red Hat OpenStack Platform (RHOSP) environment, do not perform this procedure. Update Satellite to include the Red Hat Ceph Storage 6 container image and update your containers-prepare-parameter.yaml file to reference the URL of the container image that is hosted on the Satellite server.
Procedure
-
Log in to the undercloud host as the
stackuser. Source the
stackrcundercloud credentials file:$ source ~/stackrcRun the container preparation command:
$ openstack tripleo container image prepare -e <container_preparation_file>-
Replace
<container_preparation_file>with the name of your file. The default file iscontainers-prepare-parameter.yaml.
-
Replace
Verify that the new Red Hat Ceph Storage image is present in the undercloud registry:
$ openstack tripleo container image list -f value | awk -F '//' '/ceph/ {print $2}'Verify that the new Red Hat Ceph Storage monitoring stack images are present in the undercloud registry:
$ openstack tripleo container image list -f value | awk -F '//' '/dashboard|grafana|prometheus|alertmanager|node-exporter/ {print $2}'