container image prepare not working as expected

Bug #1792917 reported by Joe Talerico on 2018-09-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Medium
Unassigned

Bug Description

When passing :

$ openstack overcloud container image prepare default --namespace docker-registry.engineering.redhat.com/rhosp14 --prefix openstack --tag 2018-09-06.1 --push-destination 192.168.0.1:8787 -e /usr/share/openstack-tripleo-heat-templates/environments/neutron-ml2-ovn-ha.yaml --output-images-file /home/stack/templates/overcloud_containers.yaml

I was expecting to get the default containers +/- whatever is defined in neutron-ml2-ovn-ha.yaml, however...

Looking at the default:

$ openstack overcloud container image prepare --namespace docker-registry.engineering.redhat.com/rhosp14 --prefix openstack --tag 2018-09-06.1 --push-destination 192.168.0.1:8787 --output-images-file /home/stack/templates/overcloud_containers.yaml | wc -l
167

Looking at the ovn-ha example:

$ openstack overcloud container image prepare --namespace docker-registry.engineering.redhat.com/rhosp14 --prefix openstack --tag 2018-09-06.1 --push-destination 192.168.0.1:8787 -e /usr/share/openstack-tripleo-heat-templates/environments/neutron-ml2-ovn-ha.yaml --output-images-file /home/stack/templates/overcloud_containers.yaml | wc -l
11

Has something changed?

Changed in tripleo:
status: New → Confirmed
Changed in tripleo:
status: Confirmed → Triaged
Emilien Macchi (emilienm) wrote :

Have you tried with `openstack tripleo container image prepare` ? It's the new command in Rocky.

Changed in tripleo:
milestone: rocky-rc2 → stein-1
Joe Talerico (jtaleric) wrote :

@Emilien - With the new command I still have to run the command twice. Once with no environment files passed to get the default container set, and another time with the environment file, to get the additional containers (like OVN).

Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers