containers-prep fails w/ update_containers is undefined due to lack of default

Bug #1786106 reported by wes hayutin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Quique Llorente

Bug Description

5:19:03 TASK [extras-common : Set update_containers_append_tag for the play] ***********
15:19:03 task path: /home/jenkins/workspace/tripleo-quickstart-gate-master-delorean-quick-basic/usr/local/share/ansible/roles/extras-common/tasks/main.yml:24
15:19:03 Wednesday 08 August 2018 15:19:03 +0000 (0:00:00.121) 0:00:01.199 ******
15:19:03 fatal: [localhost]: FAILED! => {"msg": "The conditional check 'update_containers and update_containers_append_tag is undefined' failed. The error was: error while evaluating conditional (update_containers and update_containers_append_tag is undefined): 'update_containers' is undefined\n\nThe error appears to have been in '/home/jenkins/workspace/tripleo-quickstart-gate-master-delorean-quick-basic/usr/local/share/ansible/roles/extras-common/tasks/main.yml': line 24, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Set update_containers_append_tag for the play\n ^ here\n"}

https://ci.centos.org/job/tripleo-quickstart-gate-master-delorean-quick-basic/6606/

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/590017

Changed in tripleo:
assignee: nobody → wes hayutin (weshayutin)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.openstack.org/590017
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=f6dd92d23bb47930bea076b471cb7fcdbdc6f8a8
Submitter: Zuul
Branch: master

commit f6dd92d23bb47930bea076b471cb7fcdbdc6f8a8
Author: Wes Hayutin <email address hidden>
Date: Wed Aug 8 15:55:40 2018 -0400

    add default value for update_containers

    missing default value

    Closes-Bug: #1786106
    Change-Id: I517cc3e68edb52cedf8c9504526effd20f4f396a

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
Sorin Sbarnea (ssbarnea) wrote :
Revision history for this message
Marios Andreou (marios-b) wrote :

noticed that your comment is pointing to quickstart-gate-ocata-delorean but wes description is pointing to quickstart-gate-master-delorean. I think the problem is we need to also include his fix in the include_packages for ocata https://github.com/openstack/tripleo-quickstart/blob/d9fc6a82f84f551ab112adc7429db5ed5cecb64e/config/release/tripleo-ci/ocata.yml#L61 (https://review.openstack.org/#/c/594314/ does master and rocky)

but this is just speculation still

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

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

Revision history for this message
Marios Andreou (marios-b) wrote :

this fixed things for master/rocky

"we need to allow tripleo-roles to be updated in ci" https://review.openstack.org/#/c/594314/ tripleo-quickstart Id8eac05dbd05b49cbcc3c54b4989622802d50726

(merged already but missed the bug so adding manually)

Changed in tripleo:
status: Fix Released → In Progress
Changed in tripleo:
assignee: wes hayutin (weshayutin) → Sorin Sbarnea (ssbarnea)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart (master)

Reviewed: https://review.openstack.org/594933
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart/commit/?id=3f5e97d55fa66339efe3d5787530f26ab46b99d2
Submitter: Zuul
Branch: master

commit 3f5e97d55fa66339efe3d5787530f26ab46b99d2
Author: Sorin Sbarnea <email address hidden>
Date: Wed Aug 22 12:23:41 2018 +0100

    allow tripleo-roles to be updated in ci

    We need to ensure that updates to some critical
    tripleo ansible roles are updated along with
    the other tripleo check/gated repos.

    Change-Id: Iff1d36acb878bb29440a75ee18db75201afe88ff
    Partial-Bug: #1786106
    Follow-Up: Id8eac05dbd05b49cbcc3c54b4989622802d50726

Changed in tripleo:
milestone: rocky-rc1 → stein-1
Revision history for this message
Sorin Sbarnea (ssbarnea) wrote :
tags: added: promotion-blocker
Changed in tripleo:
assignee: Sorin Sbarnea (ssbarnea) → Quique Llorente (quiquell)
Revision history for this message
Sorin Sbarnea (ssbarnea) wrote :
Revision history for this message
wes hayutin (weshayutin) wrote :
Revision history for this message
wes hayutin (weshayutin) wrote :

I think this can be closed, the reason we saw this in ci.centos was because it was using an older hash, however we recently promoted and have the latest content.

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
Sorin Sbarnea (ssbarnea) wrote :

Wes/Quique, are you sure it can be closed because I just got an error that looks very similar to this one.

See https://ci.centos.org/job/tripleo-quickstart-gate-master-delorean-quick-basic/7276/console

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-quickstart-extras 2.1.1

This issue was fixed in the openstack/tripleo-quickstart-extras 2.1.1 release.

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.