Description of problem: How to include a vendor specific cinder volume container image in RHOSP14. From RHOSP14, for container image, the guide explains to use '$ openstack tripleo container image prepare default \ --output-env-file containers-prepare-parameter.yaml'. However, the method only describes for Red Hat shipped images. In Cinder, users will need to use a vendor specific cinder volume container image for their storage.
I looked over the current osp14 documentation. It looks like most of the details are there, but could the docs could be improved to specifically cover this use case (i.e. deploying a vendor plugin). The relevant sections are [1] and [2]. [1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/14/html/advanced_overcloud_customization/sect-containerized_services#container-image-preparation-parameters [2] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/14/html/advanced_overcloud_customization/sect-containerized_services#layering-image-preparation-entries It looks like [2] provides the details, but the title "Layering image preparation entries" doesn't make this clear. It states, "The following example demonstrates two entries where the director uses the latest version of all images except for the nova-api image, which uses the version tagged with 14.0-44." This section could be enhanced with another example, stating something like: "The following example demonstrates two entries where the director uses the latest version of all images except for the cinder-volume image, which uses a vendor plugin." I don't know if any vendors have submitted plugins for OSP-14, but it would be great if we could test the procedure by attempting a deployment that includes the vendor's plugin.
I tested my own suggestion in comment #1 and learned that it currently does not work. The reason is 3rd-party plugins are distributed in Red Hat's registry.connect.redhat.com container catalog, which requires authentication that is currently not supported by the director's "openstack tripleo container image prepare default" command. Until the director supports container registry authentication, it will be necessary to manually pull down the plugin. Here is an example using Dell EMC's cinder-volume plugin for OSP-14. 1. Log into the registry.connect.redhat.com catalog % docker login registry.connect.redhat.com 2. Download the plugin % docker pull registry.connect.redhat.com/dellemc/openstack-cinder-volume-dellemc-rhosp14 3. Tag and push the image to the local undercloud registry (substitute the proper undercloud IP address) % docker tag registry.connect.redhat.com/dellemc/openstack-cinder-volume-dellemc-rhosp14 192.168.24.1:8787/dellemc/openstack-cinder-volume-dellemc-rhosp14 % docker push 192.168.24.1:8787/dellemc/openstack-cinder-volume-dellemc-rhosp14 4. Deploy the overcloud with an additional env file that contains the following: parameter_defaults: DockerCinderVolumeImage: 192.168.24.1:8787/dellemc/openstack-cinder-volume-dellemc-rhosp14
*** Bug 1740882 has been marked as a duplicate of this bug. ***