container-image-prepare is building too many containers

Bug #1804222 reported by Thomas Herve
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
In Progress
High
Thomas Herve

Bug Description

I'm trying to track down the root cause, but I'm filling this in the mean time.

In a simple containers-multinode CI job, tripleo-container-image-prepare takes more than 20 minutes. Of the 50+ containers built, at least 20 aren't used during the deployment (aodh, ceilometer, panko, cinder, barbican, etc).

It's my understanding that we should use role date to find out which services are enabled, but the detection doesn't seem to work.

Changed in tripleo:
milestone: none → stein-2
importance: Undecided → High
status: New → Triaged
Revision history for this message
Emilien Macchi (emilienm) wrote :

So the problem is on the Undercloud, we pull all containers from services that are in the default role:
https://github.com/openstack/tripleo-heat-templates/blob/master/roles/Undercloud.yaml#L14-L94

No matter the resource is set to OS::Heat::None or not. They are pulled here:
https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/services/container-image-prepare.j2.yaml#L109

And that's why we pull them all.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

Fix proposed to branch: master
Review: https://review.openstack.org/619177

Changed in tripleo:
assignee: nobody → Thomas Herve (therve)
status: Triaged → In Progress
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

I'm not sure the problem is CI specific, but rather that's something to be fixed in t-h-t DF

tags: added: rocky-backport-potential
tags: added: ci quickstart
removed: rocky-backport-potential
tags: added: containers rocky-backport-potential tech-debt
removed: ci quickstart
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart-extras (master)

Change abandoned by Thomas Herve (<email address hidden>) on branch: master
Review: https://review.openstack.org/619177

Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → stein-rc1
Changed in tripleo:
milestone: stein-rc1 → 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
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.