opendaylight container fails to build using kolla build

Bug #1718757 reported by John Trowbridge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
John Trowbridge

Bug Description

We added conditional inclusion of an ODL container with https://review.openstack.org/498383. (and then backported that to pike?)

The problem is that the ODL container fails to build using kolla-build[1] and a long with the conditionals we add to the jinja version of the container list, we also put it into the generic untemplated container list. We use the generic list in the periodic job which builds containers to promote, so the containers in that list need to actually be buildable.

[1] https://review.rdoproject.org/jenkins/job/periodic-tripleo-centos-7-pike-containers-build/79/console

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

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

Changed in tripleo:
assignee: nobody → John Trowbridge (trown)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/506334

Revision history for this message
Janki Chhatbar (jankihchhatbar) wrote :

Kolla-build fails for ODL because tripleo_kolla_template_overrides.j2 disables external repo [1] to get packages from Delorean repo and ODL is not present in Delorean. So, kolla errors out with

INFO:kolla.image.build.opendaylight:No package opendaylight available.

This patch [2] adds ODL repo to opendaylight_header. Once [2] is merged, I doubt if this would be still valid.

[1]. https://github.com/openstack/tripleo-common/blob/master/container-images/tripleo_kolla_template_overrides.j2#L4
[2]. https://review.openstack.org/#/c/502915/

Revision history for this message
Janki Chhatbar (jankihchhatbar) wrote :
Revision history for this message
Janki Chhatbar (jankihchhatbar) wrote :

s/was/for/ in comment #4

Revision history for this message
John Trowbridge (trown) wrote :
Revision history for this message
John Trowbridge (trown) wrote :

replied before seeing comments here... https://review.openstack.org/506604 is just the pike backport of https://review.openstack.org/#/c/502915/

This is better than removing opendaylight container from build, just need to merge the pike backport and we should be good.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-common (master)

Change abandoned by John Trowbridge (<email address hidden>) on branch: master
Review: https://review.openstack.org/506333
Reason: fixing the build is better:

https://review.openstack.org/#/q/I27a49fa32420cb5f44ad516c5d65949a8f62cf29

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-common (stable/pike)

Change abandoned by John Trowbridge (<email address hidden>) on branch: stable/pike
Review: https://review.openstack.org/506334
Reason: fixing the build is better:

https://review.openstack.org/#/q/I27a49fa32420cb5f44ad516c5d65949a8f62cf29

Revision history for this message
John Trowbridge (trown) wrote :

https://review.openstack.org/#/c/506604/ merged so this is now fixed.

Changed in tripleo:
status: In Progress → Fix Committed
Changed in tripleo:
status: Fix Committed → Fix Released
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.