Can someone help me with the correct containers-prepare-parameter.yaml without cinder to install undercloud

Latest response

I'm planning to install Openstack 16 and got stuck in preparing the containers-prepare-parameter.yaml file to deploy undercloud in the director. I'm getting error when I run the generated containers-prepare-parameter.yaml file.
Can someone please help. I don't need ceph storage

Responses

Hi Rajeev,

So if you're looking to exclude a particular service from deployment and containerization, you use the exclude parameter for the main entry. The exclude param uses a list of regex values to exclude containers from deployment. So to remove ceph-related containers, you would use the following:

ContainerImagePrepare:
- push_destination: true
  excludes:
    - ceph
    - prometheus
  set:
    ...

For more information, see https://access.redhat.com/solutions/4895201

Hi Daniel, Thank you for your response. This is my file output below and also please find the execution output of this file below the file output.

parameter_defaults:
  ContainerImagePrepare:
  - push_destination: true
    excludes:
    - ceph
    - prometheus
    set:
      ceph_alertmanager_image: ose-prometheus-alertmanager
      ceph_alertmanager_namespace: registry.redhat.io/openshift4
      ceph_alertmanager_tag: 4.1
      ceph_grafana_image: rhceph-4-dashboard-rhel8
      ceph_grafana_namespace: registry.redhat.io/rhceph
      ceph_grafana_tag: 4
      ceph_image: rhceph-4-rhel8
      ceph_namespace: registry.redhat.io/rhceph
      ceph_node_exporter_image: ose-prometheus-node-exporter
      ceph_node_exporter_namespace: registry.redhat.io/openshift4
      ceph_node_exporter_tag: v4.1
      ceph_prometheus_image: ose-prometheus
      ceph_prometheus_namespace: registry.redhat.io/openshift4
      ceph_prometheus_tag: 4.1
      ceph_tag: latest
      name_prefix: rhosp16-openstack-
      name_suffix: ''
#      namespace: registry.redhat.io/rhosp-rhel8
      namespace: registry.redhat.io/rh-osbs
      neutron_driver: ovn
      rhel_containers: false
      tag: 20200213.1
    tag_from_label: '{version}-{release}'
  ContainerImageRegistryCredentials:
    registry.redhat.io:
          <username> : <passd>
  ContainerImageRegistryLogin: true

After I executed this command "sudo openstack tripleo container image prepare -e ~/containers-prepare-parameter.yaml" I got the following output.

    result = fn(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 723, in _inspect
    image_url.geturl())
tripleo_common.image.exception.ImageNotFoundException: Not found image: docker://registry.redhat.io/rh-osbs/rhosp16-openstack-aodh-api:20200213.1
Not found image: docker://registry.redhat.io/rh-osbs/rhosp16-openstack-aodh-api:20200213.1
sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=25, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 48680), raddr=('184.30.189.133', 443)>
sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=24, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 58190), raddr=('23.3.123.207', 443)>

Hi Rajeev, The problem is due to the "tag:" parameter. Usually this is set to "latest" but instead it is set to specific tag. Not all of the images will have the same tags.

How director works out which image version to pull is it uses "latest" to scan all images in the registry and identify a specific versioned tag for that image using the image labels. This is because the latest specific version will be different for all images.

Essentially director does the following:

  1. Check the labels from the "latest" tag of an image.
  2. Create a versioned tag from the labels (this is where 'tag_from_label' comes into play)
  3. Use this tag to pull the versioned tag of an image
  4. When you update, if the versioned tag is newer, director updates the image

Thanks for your response. Updated the tag to latest..Still seeing the error.

cat containers-prepare-parameter.yaml

Generated with the following on 2020-08-24T14:03:00.874696

#

openstack tripleo container image prepare default --local-push-destination --output-env-file containers-prepare-parameter.yaml

#

parameter_defaults: ContainerImagePrepare: - push_destination: true set: ceph_alertmanager_image: ose-prometheus-alertmanager ceph_alertmanager_namespace: registry.redhat.io/openshift4 ceph_alertmanager_tag: 4.1 ceph_grafana_image: rhceph-4-dashboard-rhel8 ceph_grafana_namespace: registry.redhat.io/rhceph ceph_grafana_tag: 4 ceph_image: rhceph-4-rhel8 ceph_namespace: registry.redhat.io/rhceph ceph_node_exporter_image: ose-prometheus-node-exporter ceph_node_exporter_namespace: registry.redhat.io/openshift4 ceph_node_exporter_tag: v4.1 ceph_prometheus_image: ose-prometheus ceph_prometheus_namespace: registry.redhat.io/openshift4 ceph_prometheus_tag: 4.1 ceph_tag: latest name_prefix: rhosp16-openstack- name_suffix: '' namespace: registry.redhat.io/rhosp-rhel8

namespace: registry.redhat.io/rh-osbs
  neutron_driver: ovn
  rhel_containers: false
  tag: latest
tag_from_label: '{version}-{release}'

ContainerImageRegistryCredentials: registry.redhat.io: myusername : my_password ContainerImageRegistryLogin: true

sudo openstack tripleo container image prepare -e ~/containers-prepare-parameter.yaml Exception occured while running the command Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 718, in _inspect timeout=300 File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 281, in get **kwargs) File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 260, in _action request=req) File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 245, in check_status request.raise_for_status() File "/usr/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://registry.redhat.io/v2/rhosp-rhel8/rhosp16-openstack-aodh-api/manifests/latest

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 32, in run super(Command, self).run(parsed_args) File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/lib/python3.6/site-packages/cliff/command.py", line 185, in run return_code = self.take_action(parsed_args) or 0 File "/usr/lib/python3.6/site-packages/tripleoclient/v1/container_image.py", line 1043, in take_action cleanup=parsed_args.cleanup, lock=lock) File "/usr/lib/python3.6/site-packages/tripleo_common/image/kolla_builder.py", line 217, in container_images_prepare_multi lock=lock File "/usr/lib/python3.6/site-packages/tripleo_common/image/kolla_builder.py", line 336, in container_images_prepare images, tag_from_label) File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 927, in discover_image_tags discover_args): File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 586, in result_iterator yield fs.pop().result() File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 432, in result return self.get_result() File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 384, in __get_result raise self._exception File "/usr/lib64/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 2506, in discover_tag_from_inspect i = self._inspect(image_url, session=session) File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 2332, in _inspect image_url, session=session) File "/usr/lib/python3.6/site-packages/tenacity/__init.py", line 292, in wrapped_f return self.call(f, *args, **kw) File "/usr/lib/python3.6/site-packages/tenacity/__init__.py", line 358, in call do = self.iter(retry_state=retry_state) File "/usr/lib/python3.6/site-packages/tenacity/__init__.py", line 319, in iter return fut.result() File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 425, in result return self.__get_result() File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 384, in __get_result raise self._exception File "/usr/lib/python3.6/site-packages/tenacity/__init__.py", line 361, in call result = fn(*args, **kwargs) File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 723, in _inspect image_url.geturl()) tripleo_common.image.exception.ImageNotFoundException: Not found image: docker://registry.redhat.io/rhosp-rhel8/rhosp16-openstack-aodh-api:latest Not found image: docker://registry.redhat.io/rhosp-rhel8/rhosp16-openstack-aodh-api:latest sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=19, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50848), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=6, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 34464), raddr=('23.204.52.153', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=20, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50856), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=15, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50858), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=12, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 52362), raddr=('104.86.7.53', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=10, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50870), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=21, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50872), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=22, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 52370), raddr=('104.86.7.53', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=24, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 52374), raddr=('104.86.7.53', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=23, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 52372), raddr=('104.86.7.53', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=25, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50880), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=26, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50882), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=27, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50884), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=28, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50886), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=29, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50888), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=9, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 58382), raddr=('23.13.238.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=8, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50854), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 34442), raddr=('23.204.52.153', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=7, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50868), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=18, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 52332), raddr=('104.86.7.53', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=13, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 34452), raddr=('23.204.52.153', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=17, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 34460), raddr=('23.204.52.153', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=14, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 52358), raddr=('104.86.7.53', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=11, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50850), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=16, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 34446), raddr=('23.204.52.153', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=32, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50894), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=34, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 58444), raddr=('23.13.238.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=33, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50898), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=30, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 50890), raddr=('104.111.94.252', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=31, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 58440), raddr=('23.13.238.252', 443)>

Ah, sorry, I forgot the that the tagging changed for OSP 16.0+

So two things you'll need to change:

  1. You'll need to set tag: 16.0
  2. Set name_prefix: openstack- (remove rhosp16-)
  3. Set namespace: registry.redhat.io/rhosp-rhel8 (don't use rh-osbs)

So for 16.0+, we're using one image stream and using version tags all within that stream. For each release, there's a main tag (e.g. 16.0, 16.1), which acts as the 'latest' for the respective release, while the minor releases use specific subtags that follow the '{version}-{release}' label format.

Thanks. We are planning to install 16.1 so do i need to set to 16.1or 16.0?

That's correct. Sorry, for some reason I thought you were installing 16.0.

I modifed as per ur suggesstion still i can see the error,

[stack@dirc20 ~]$ sudo openstack tripleo container image prepare -e ~/containers-prepare-parameter.yaml Exception occured while running the command Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 718, in _inspect timeout=300 File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 281, in get **kwargs) File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 260, in _action request=req) File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 245, in check_status request.raise_for_status() File "/usr/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://registry.redhat.io/containers/content/dist/containers/rhel8/multiarch/containers/redhat-rhosp-rhel8-openstack-designate-api/manifests/1/16.0?_auth_=exp=1598385321~hmac=4396ccb0b8ac25930a8ff5e568e47e458312e7db053915c694019630a2005b81

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 32, in run super(Command, self).run(parsed_args) File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/lib/python3.6/site-packages/cliff/command.py", line 185, in run return_code = self.take_action(parsed_args) or 0 File "/usr/lib/python3.6/site-packages/tripleoclient/v1/container_image.py", line 1043, in take_action cleanup=parsed_args.cleanup, lock=lock) File "/usr/lib/python3.6/site-packages/tripleo_common/image/kolla_builder.py", line 217, in container_images_prepare_multi lock=lock File "/usr/lib/python3.6/site-packages/tripleo_common/image/kolla_builder.py", line 336, in container_images_prepare images, tag_from_label) File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 927, in discover_image_tags discover_args): File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 586, in result_iterator yield fs.pop().result() File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 432, in result return self.get_result() File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 384, in __get_result raise self._exception File "/usr/lib64/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 2506, in discover_tag_from_inspect i = self._inspect(image_url, session=session) File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 2332, in _inspect image_url, session=session) File "/usr/lib/python3.6/site-packages/tenacity/__init.py", line 292, in wrapped_f return self.call(f, *args, **kw) File "/usr/lib/python3.6/site-packages/tenacity/__init__.py", line 358, in call do = self.iter(retry_state=retry_state) File "/usr/lib/python3.6/site-packages/tenacity/__init__.py", line 319, in iter return fut.result() File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 425, in result return self.__get_result() File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 384, in __get_result raise self._exception File "/usr/lib/python3.6/site-packages/tenacity/__init__.py", line 361, in call result = fn(*args, **kwargs) File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 723, in _inspect image_url.geturl()) tripleo_common.image.exception.ImageNotFoundException: Not found image: docker://registry.redhat.io/rhosp-rhel8/openstack-designate-api:16.0 Not found image: docker://registry.redhat.io/rhosp-rhel8/openstack-designate-api:16.0 sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=14, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 34712), raddr=('23.204.52.153', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=13, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 34716), raddr=('23.204.52.153', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=11, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 52610), raddr=('104.86.7.53', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=19, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 34718), raddr=('23.204.52.153', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=9, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 34720), raddr=('23.204.52.153', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=10, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 34722), raddr=('23.204.52.153', 443)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=16, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.20.4.10', 49570), raddr=('184.30.189.133', 443)> [stack@dirc20 ~]$

File "/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py", line 723, in _inspect image_url.geturl()) tripleo_common.image.exception.ImageNotFoundException: Not found image: docker://registry.redhat.io/rhosp-rhel8/openstack-designate-api:16.0 Not found image: docker://registry.redhat.io/rhosp-rhel8/openstack-designate-api:16.0

File "/usr/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://registry.redhat.io/containers/content/dist/containers/rhel8/multiarch/containers/redhat-rhosp-rhel8-openstack-designate-api/manifests/1/16.0?auth=exp=1598385321~hmac=4396ccb0b8ac25930a8ff5e568e47e458312e7db053915c694019630a2005b81

It looks like rhosp-rhel8/openstack-designate-api is only available for 16.1+ but it's trying to pull the 16.0 version (which doesn't exist AFIAK).

Did you install a 16.0 or a 16.1 undercloud? And are you trying to pull containers for 16.0 or 16.1?

I have tried both the version 16.0 &16.1. I got the same error.

ile "/usr/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://registry.redhat.io/containers/content/dist/containers/rhel8/multiarch/containers/redhat-rhosp-rhel8-openstack-designate-api/manifests/1/

I modified the file ..This time no error..But i want to confirm..Is this good?

openstack tripleo container image prepare -e /home/stack/containers-prepare-parameter.yaml

#

parameter_defaults: AlertManagerContainerImage: registry.redhat.io/openshift4/ose-prometheus-alertmanager:v4.1.37-202003021622 ContainerAodhApiImage: registry.redhat.io/rhosp-rhel8/openstack-aodh-api:16.1-45 ContainerAodhConfigImage: registry.redhat.io/rhosp-rhel8/openstack-aodh-api:16.1-45 ContainerAodhEvaluatorImage: registry.redhat.io/rhosp-rhel8/openstack-aodh-evaluator:16.1-45 ContainerAodhListenerImage: registry.redhat.io/rhosp-rhel8/openstack-aodh-listener:16.1-43 ContainerAodhNotifierImage: registry.redhat.io/rhosp-rhel8/openstack-aodh-notifier:16.1-45 ContainerBarbicanApiImage: registry.redhat.io/rhosp-rhel8/openstack-barbican-api:16.1-45 ContainerBarbicanConfigImage: registry.redhat.io/rhosp-rhel8/openstack-barbican-api:16.1-45 ContainerBarbicanKeystoneListenerConfigImage: registry.redhat.io/rhosp-rhel8/openstack-barbican-keystone-listener:16.1-45 ContainerBarbicanKeystoneListenerImage: registry.redhat.io/rhosp-rhel8/openstack-barbican-keystone-listener:16.1-45 ContainerBarbicanWorkerConfigImage: registry.redhat.io/rhosp-rhel8/openstack-barbican-worker:16.1-45 ContainerBarbicanWorkerImage: registry.redhat.io/rhosp-rhel8/openstack-barbican-worker:16.1-45 ContainerCeilometerCentralImage: registry.redhat.io/rhosp-rhel8/openstack-ceilometer-central:16.1-45 ContainerCeilometerComputeImage: registry.redhat.io/rhosp-rhel8/openstack-ceilometer-compute:16.1-45 ContainerCeilometerConfigImage: registry.redhat.io/rhosp-rhel8/openstack-ceilometer-central:16.1-45 ContainerCeilometerNotificationImage: registry.redhat.io/rhosp-rhel8/openstack-ceilometer-notification:16.1-45 ContainerCephDaemonImage: registry.redhat.io/rhceph/rhceph-4-rhel8:4-32 ContainerCinderApiImage: registry.redhat.io/rhosp-rhel8/openstack-cinder-api:16.1-43 ContainerCinderBackupImage: registry.redhat.io/rhosp-rhel8/openstack-cinder-backup:16.1-43 ContainerCinderConfigImage: registry.redhat.io/rhosp-rhel8/openstack-cinder-api:16.1-43 ContainerCinderSchedulerImage: registry.redhat.io/rhosp-rhel8/openstack-cinder-scheduler:16.1-43 ContainerCinderVolumeImage: registry.redhat.io/rhosp-rhel8/openstack-cinder-volume:16.1-42 ContainerClustercheckConfigImage: registry.redhat.io/rhosp-rhel8/openstack-mariadb:16.1-52 ContainerClustercheckImage: registry.redhat.io/rhosp-rhel8/openstack-mariadb:16.1-52 ContainerCollectdConfigImage: registry.redhat.io/rhosp-rhel8/openstack-collectd:16.1-50 ContainerCollectdImage: registry.redhat.io/rhosp-rhel8/openstack-collectd:16.1-50 ContainerCrondConfigImage: registry.redhat.io/rhosp-rhel8/openstack-cron:16.1-50 ContainerCrondImage: registry.redhat.io/rhosp-rhel8/openstack-cron:16.1-50 ContainerDesignateApiImage: registry.redhat.io/rhosp-rhel8/openstack-designate-api:16.1-33 ContainerDesignateBackendBIND9Image: registry.redhat.io/rhosp-rhel8/openstack-designate-backend-bind9:16.1-32 ContainerDesignateCentralImage: registry.redhat.io/rhosp-rhel8/openstack-designate-central:16.1-33 ContainerDesignateConfigImage: registry.redhat.io/rhosp-rhel8/openstack-designate-worker:16.1-33 ContainerDesignateMDNSImage: registry.redhat.io/rhosp-rhel8/openstack-designate-mdns:16.1-33 ContainerDesignateProducerImage: registry.redhat.io/rhosp-rhel8/openstack-designate-producer:16.1-33 ContainerDesignateSinkImage: registry.redhat.io/rhosp-rhel8/openstack-designate-sink:16.1-32 ContainerDesignateWorkerImage: registry.redhat.io/rhosp-rhel8/openstack-designate-worker:16.1-33 ContainerEc2ApiConfigImage: registry.redhat.io/rhosp-rhel8/openstack-ec2-api:16.1-47 ContainerEc2ApiImage: registry.redhat.io/rhosp-rhel8/openstack-ec2-api:16.1-47 ContainerEtcdConfigImage: registry.redhat.io/rhosp-rhel8/openstack-etcd:16.1-49 ContainerEtcdImage: registry.redhat.io/rhosp-rhel8/openstack-etcd:16.1-49 ContainerGlanceApiConfigImage: registry.redhat.io/rhosp-rhel8/openstack-glance-api:16.1-41 ContainerGlanceApiImage: registry.redhat.io/rhosp-rhel8/openstack-glance-api:16.1-41 ContainerGnocchiApiImage: registry.redhat.io/rhosp-rhel8/openstack-gnocchi-api:16.1-45 ContainerGnocchiConfigImage: registry.redhat.io/rhosp-rhel8/openstack-gnocchi-api:16.1-45 ContainerGnocchiMetricdImage: registry.redhat.io/rhosp-rhel8/openstack-gnocchi-metricd:16.1-45 ContainerGnocchiStatsdImage: registry.redhat.io/rhosp-rhel8/openstack-gnocchi-statsd:16.1-45 ContainerHAProxyConfigImage: registry.redhat.io/rhosp-rhel8/openstack-haproxy:16.1-50 ContainerHAProxyImage: registry.redhat.io/rhosp-rhel8/openstack-haproxy:16.1-50 ContainerHeatApiCfnConfigImage: registry.redhat.io/rhosp-rhel8/openstack-heat-api-cfn:16.1-46 ContainerHeatApiCfnImage: registry.redhat.io/rhosp-rhel8/openstack-heat-api-cfn:16.1-46 ContainerHeatApiConfigImage: registry.redhat.io/rhosp-rhel8/openstack-heat-api:16.1-45 ContainerHeatApiImage: registry.redhat.io/rhosp-rhel8/openstack-heat-api:16.1-45 ContainerHeatConfigImage: registry.redhat.io/rhosp-rhel8/openstack-heat-api:16.1-45 ContainerHeatEngineImage: registry.redhat.io/rhosp-rhel8/openstack-heat-engine:16.1-45 ContainerHorizonConfigImage: registry.redhat.io/rhosp-rhel8/openstack-horizon:16.1-46 ContainerHorizonImage: registry.redhat.io/rhosp-rhel8/openstack-horizon:16.1-46 ContainerIronicApiConfigImage: registry.redhat.io/rhosp-rhel8/openstack-ironic-api:16.1-45 ContainerIronicApiImage: registry.redhat.io/rhosp-rhel8/openstack-ironic-api:16.1-45 ContainerIronicConductorImage: registry.redhat.io/rhosp-rhel8/openstack-ironic-conductor:16.1-44 ContainerIronicConfigImage: registry.redhat.io/rhosp-rhel8/openstack-ironic-pxe:16.1-45 ContainerIronicInspectorConfigImage: registry.redhat.io/rhosp-rhel8/openstack-ironic-inspector:16.1-48 ContainerIronicInspectorImage: registry.redhat.io/rhosp-rhel8/openstack-ironic-inspector:16.1-48 ContainerIronicNeutronAgentImage: registry.redhat.io/rhosp-rhel8/openstack-ironic-neutron-agent:16.1-48 ContainerIronicPxeImage: registry.redhat.io/rhosp-rhel8/openstack-ironic-pxe:16.1-45 ContainerIscsidConfigImage: registry.redhat.io/rhosp-rhel8/openstack-iscsid:16.1-49 ContainerIscsidImage: registry.redhat.io/rhosp-rhel8/openstack-iscsid:16.1-49 ContainerKeepalivedConfigImage: registry.redhat.io/rhosp-rhel8/openstack-keepalived:16.1-49 ContainerKeepalivedImage: registry.redhat.io/rhosp-rhel8/openstack-keepalived:16.1-49 ContainerKeystoneConfigImage: registry.redhat.io/rhosp-rhel8/openstack-keystone:16.1-44 ContainerKeystoneImage: registry.redhat.io/rhosp-rhel8/openstack-keystone:16.1-44 ContainerManilaApiImage: registry.redhat.io/rhosp-rhel8/openstack-manila-api:16.1-45 ContainerManilaConfigImage: registry.redhat.io/rhosp-rhel8/openstack-manila-api:16.1-45 ContainerManilaSchedulerImage: registry.redhat.io/rhosp-rhel8/openstack-manila-scheduler:16.1-44 ContainerManilaShareImage: registry.redhat.io/rhosp-rhel8/openstack-manila-share:16.1-45 ContainerMemcachedConfigImage: registry.redhat.io/rhosp-rhel8/openstack-memcached:16.1-50 ContainerMemcachedImage: registry.redhat.io/rhosp-rhel8/openstack-memcached:16.1-50 ContainerMetricsQdrConfigImage: registry.redhat.io/rhosp-rhel8/openstack-qdrouterd:16.1-49 ContainerMetricsQdrImage: registry.redhat.io/rhosp-rhel8/openstack-qdrouterd:16.1-49 ContainerMistralApiImage: registry.redhat.io/rhosp-rhel8/openstack-mistral-api:16.1-44 ContainerMistralConfigImage: registry.redhat.io/rhosp-rhel8/openstack-mistral-api:16.1-44 ContainerMistralEngineImage: registry.redhat.io/rhosp-rhel8/openstack-mistral-engine:16.1-45 ContainerMistralEventEngineImage: registry.redhat.io/rhosp-rhel8/openstack-mistral-event-engine:16.1-46 ContainerMistralExecutorImage: registry.redhat.io/rhosp-rhel8/openstack-mistral-executor:16.1-50 ContainerMultipathdConfigImage: registry.redhat.io/rhosp-rhel8/openstack-multipathd:16.1-49 ContainerMultipathdImage: registry.redhat.io/rhosp-rhel8/openstack-multipathd:16.1-49 ContainerMysqlClientConfigImage: registry.redhat.io/rhosp-rhel8/openstack-mariadb:16.1-52 ContainerMysqlConfigImage: registry.redhat.io/rhosp-rhel8/openstack-mariadb:16.1-52 ContainerMysqlImage: registry.redhat.io/rhosp-rhel8/openstack-mariadb:16.1-52 ContainerNeutronApiImage: registry.redhat.io/rhosp-rhel8/openstack-neutron-server-ovn:16.1-44 ContainerNeutronConfigImage: registry.redhat.io/rhosp-rhel8/openstack-neutron-server-ovn:16.1-44 ContainerNeutronDHCPImage: registry.redhat.io/rhosp-rhel8/openstack-neutron-dhcp-agent:16.1-45 ContainerNeutronL3AgentImage: registry.redhat.io/rhosp-rhel8/openstack-neutron-l3-agent:16.1-45 ContainerNeutronMetadataImage: registry.redhat.io/rhosp-rhel8/openstack-neutron-metadata-agent:16.1-49 ContainerNovaApiImage: registry.redhat.io/rhosp-rhel8/openstack-nova-api:16.1-47 ContainerNovaComputeImage: registry.redhat.io/rhosp-rhel8/openstack-nova-compute:16.1-43 ContainerNovaComputeIronicImage: registry.redhat.io/rhosp-rhel8/openstack-nova-compute-ironic:16.1-45 ContainerNovaConductorImage: registry.redhat.io/rhosp-rhel8/openstack-nova-conductor:16.1-45 ContainerNovaConfigImage: registry.redhat.io/rhosp-rhel8/openstack-nova-api:16.1-47 ContainerNovaLibvirtConfigImage: registry.redhat.io/rhosp-rhel8/openstack-nova-compute:16.1-43 ContainerNovaLibvirtImage: registry.redhat.io/rhosp-rhel8/openstack-nova-libvirt:16.1-46 ContainerNovaMetadataConfigImage: registry.redhat.io/rhosp-rhel8/openstack-nova-api:16.1-47 ContainerNovaMetadataImage: registry.redhat.io/rhosp-rhel8/openstack-nova-api:16.1-47 ContainerNovaSchedulerImage: registry.redhat.io/rhosp-rhel8/openstack-nova-scheduler:16.1-44 ContainerNovaVncProxyImage: registry.redhat.io/rhosp-rhel8/openstack-nova-novncproxy:16.1-46 ContainerOctaviaApiImage: registry.redhat.io/rhosp-rhel8/openstack-octavia-api:16.1-45 ContainerOctaviaConfigImage: registry.redhat.io/rhosp-rhel8/openstack-octavia-api:16.1-45 ContainerOctaviaDriverAgentConfigImage: registry.redhat.io/rhosp-rhel8/openstack-octavia-api:16.1-45 ContainerOctaviaDriverAgentImage: registry.redhat.io/rhosp-rhel8/openstack-octavia-api:16.1-45 ContainerOctaviaHealthManagerImage: registry.redhat.io/rhosp-rhel8/openstack-octavia-health-manager:16.1-45 ContainerOctaviaHousekeepingImage: registry.redhat.io/rhosp-rhel8/openstack-octavia-housekeeping:16.1-45 ContainerOctaviaRsyslogImage: registry.redhat.io/rhosp-rhel8/openstack-rsyslog:16.1-47 ContainerOctaviaWorkerImage: registry.redhat.io/rhosp-rhel8/openstack-octavia-worker:16.1-45 ContainerOpenvswitchImage: registry.redhat.io/rhosp-rhel8/openstack-neutron-openvswitch-agent:16.1-47 ContainerOvnControllerConfigImage: registry.redhat.io/rhosp-rhel8/openstack-ovn-controller:16.1-46 ContainerOvnControllerImage: registry.redhat.io/rhosp-rhel8/openstack-ovn-controller:16.1-46 ContainerOvnDbsConfigImage: registry.redhat.io/rhosp-rhel8/openstack-ovn-northd:16.1-45 ContainerOvnDbsImage: registry.redhat.io/rhosp-rhel8/openstack-ovn-northd:16.1-45 ContainerOvnMetadataImage: registry.redhat.io/rhosp-rhel8/openstack-neutron-metadata-agent-ovn:16.1-46 ContainerOvnNbDbImage: registry.redhat.io/rhosp-rhel8/openstack-ovn-nb-db-server:16.1-44 ContainerOvnNorthdImage: registry.redhat.io/rhosp-rhel8/openstack-ovn-northd:16.1-45 ContainerOvnSbDbImage: registry.redhat.io/rhosp-rhel8/openstack-ovn-sb-db-server:16.1-47 ContainerPankoApiImage: registry.redhat.io/rhosp-rhel8/openstack-panko-api:16.1-44 ContainerPankoConfigImage: registry.redhat.io/rhosp-rhel8/openstack-panko-api:16.1-44 ContainerPlacementConfigImage: registry.redhat.io/rhosp-rhel8/openstack-placement-api:16.1-48 ContainerPlacementImage: registry.redhat.io/rhosp-rhel8/openstack-placement-api:16.1-48 ContainerQdrouterdConfigImage: registry.redhat.io/rhosp-rhel8/openstack-qdrouterd:16.1-49 ContainerQdrouterdImage: registry.redhat.io/rhosp-rhel8/openstack-qdrouterd:16.1-49 ContainerRabbitmqConfigImage: registry.redhat.io/rhosp-rhel8/openstack-rabbitmq:16.1-50 ContainerRabbitmqImage: registry.redhat.io/rhosp-rhel8/openstack-rabbitmq:16.1-50 ContainerRedisConfigImage: registry.redhat.io/rhosp-rhel8/openstack-redis:16.1-48 ContainerRedisImage: registry.redhat.io/rhosp-rhel8/openstack-redis:16.1-48 ContainerRsyslogConfigImage: registry.redhat.io/rhosp-rhel8/openstack-rsyslog:16.1-47 ContainerRsyslogImage: registry.redhat.io/rhosp-rhel8/openstack-rsyslog:16.1-47 ContainerRsyslogSidecarConfigImage: registry.redhat.io/rhosp-rhel8/openstack-rsyslog:16.1-47 ContainerRsyslogSidecarImage: registry.redhat.io/rhosp-rhel8/openstack-rsyslog:16.1-47 ContainerSwiftAccountImage: registry.redhat.io/rhosp-rhel8/openstack-swift-account:16.1-44 ContainerSwiftConfigImage: registry.redhat.io/rhosp-rhel8/openstack-swift-proxy-server:16.1-44 ContainerSwiftContainerImage: registry.redhat.io/rhosp-rhel8/openstack-swift-container:16.1-45 ContainerSwiftObjectImage: registry.redhat.io/rhosp-rhel8/openstack-swift-object:16.1-45 ContainerSwiftProxyImage: registry.redhat.io/rhosp-rhel8/openstack-swift-proxy-server:16.1-44 ContainerZaqarConfigImage: registry.redhat.io/rhosp-rhel8/openstack-zaqar-wsgi:16.1-45 ContainerZaqarImage: registry.redhat.io/rhosp-rhel8/openstack-zaqar-wsgi:16.1-45 GrafanaContainerImage: registry.redhat.io/rhceph/rhceph-4-dashboard-rhel8:4-12 NodeExporterContainerImage: registry.redhat.io/openshift4/ose-prometheus-node-exporter:v4.1.41-202004130646 PrometheusContainerImage: registry.redhat.io/openshift4/ose-prometheus:v4.1.37-202003021622 [stack@dirc20 ~]$ vi containers-prepare-parameter.yaml [stack@dirc20 ~]$

It should be. A lot of the container images seem to be using the latest numbered version.

Probably the only side note I'll make is that you also need to include the /home/stack/containers-prepare-parameter.yaml file when you run the openstack overcloud deploy command so that director can apply the Heat Param to image mappings as a part of the deployment.. Director will also use this file to automatically run openstack tripleo container image prepare and download the latest images.

Also just in case other people looking for advice find this thread, what did you end up modifying in the containers-prepare-parameter.yaml file to get it to work?

Thanks. Below the modifications:

# - push_destination: true tag: '16.1' name_prefix: openstack- ContainerImageRegistryLogin: true

I have aquestion, Can i use only ContainerImageRegistryLogin: true ? i am not using( push_destination: true ). Will this work when i deploy overcloud?

parameter_defaults: ContainerImagePrepare: # - push_destination: true - set: ceph_alertmanager_image: ose-prometheus-alertmanager ceph_alertmanager_namespace: registry.redhat.io/openshift4 ceph_alertmanager_tag: 4.1 ceph_grafana_image: rhceph-4-dashboard-rhel8 ceph_grafana_namespace: registry.redhat.io/rhceph ceph_grafana_tag: 4 ceph_image: rhceph-4-rhel8 ceph_namespace: registry.redhat.io/rhceph ceph_node_exporter_image: ose-prometheus-node-exporter ceph_node_exporter_namespace: registry.redhat.io/openshift4 ceph_node_exporter_tag: v4.1 ceph_prometheus_image: ose-prometheus ceph_prometheus_namespace: registry.redhat.io/openshift4 ceph_prometheus_tag: 4.1 ceph_tag: latest name_prefix: openstack- name_suffix: '' namespace: registry.redhat.io/rhosp-rhel8 neutron_driver: ovn rhel_containers: false tag: '16.1' tag_from_label: '{version}-{release}' ContainerImageRegistryCredentials: registry.redhat.io: username : password ContainerImageRegistryLogin: true

While instaling undercloud we are getting below error, [stack@dirc20 ~]$ openstack undercloud install Exception occured while running the command Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/oslo_config/cfg.py", line 1604, in _parse_file parser.parse() File "/usr/lib/python3.6/site-packages/oslo_config/cfg.py", line 1559, in parse return super(ConfigParser, self).parse(f) File "/usr/lib/python3.6/site-packages/oslo_config/iniparser.py", line 74, in parse self.error_unexpected_continuation(line) File "/usr/lib/python3.6/site-packages/oslo_config/iniparser.py", line 120, in error_unexpected_continuation self.lineno, line) oslo_config.cfg.ParseError: at /home/stack/undercloud.conf:253, Unexpected continuation line: ' "network_config": ['

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 32, in run

undercloud config file:

We have uncommented this script..Do we need to enable this script? cat undercloud.conf # "network_config": [ { "type": "ovs_bridge", "name": "br-ctlplane", "ovs_extra": [ "br-set-external-id br-ctlplane bridge-id br-ctlplane" ], "members": [ { "type": "interface", "name": "{{LOCAL_INTERFACE}}", "primary": "true", "mtu": {{LOCAL_MTU}}, "dns_servers": {{UNDERCLOUD_NAMESERVERS}} } ], "addresses": [ { "ip_netmask": "{{PUBLIC_INTERFACE_IP}}" } ], "routes": {{SUBNETS_STATIC_ROUTES}}, "mtu": {{LOCAL_MTU}} } ]

(string value) net_config_override =