PIke upgrades job fails with The task includes an option with an undefined variable. The error was: 'overcloud_docker_registry_namespace' is undefined

Bug #1786016 reported by Carlos Camacho
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Critical
Carlos Camacho

Bug Description

From: http://logs.openstack.org/36/589736/1/check/tripleo-ci-centos-7-scenario000-multinode-oooq-container-upgrades/3dbb138/job-output.txt.gz#_2018-08-08_08_09_11_920031

2018-08-08 08:09:11.409520 | primary |
2018-08-08 08:09:11.409804 | primary | TASK [tripleo-validations : Run negative tests for pre-introspection group] ****
2018-08-08 08:09:11.427745 | primary | Wednesday 08 August 2018 08:09:11 +0000 (0:00:00.091) 0:00:28.127 ******
2018-08-08 08:09:11.456799 | primary | skipping: [undercloud]
2018-08-08 08:09:11.489372 | primary |
2018-08-08 08:09:11.489657 | primary | PLAY [Prepare for containerized deployment] ************************************
2018-08-08 08:09:11.537351 | primary |
2018-08-08 08:09:11.537640 | primary | TASK [container-prep : set docker_registry_namespace_used] *********************
2018-08-08 08:09:11.564596 | primary | Wednesday 08 August 2018 08:09:11 +0000 (0:00:00.136) 0:00:28.264 ******
2018-08-08 08:09:11.704967 | primary | ok: [undercloud]
2018-08-08 08:09:11.749523 | primary |
2018-08-08 08:09:11.749860 | primary | TASK [container-prep : set container_build_id from get_build_command] **********
2018-08-08 08:09:11.768629 | primary | Wednesday 08 August 2018 08:09:11 +0000 (0:00:00.203) 0:00:28.468 ******
2018-08-08 08:09:11.803718 | primary | skipping: [undercloud]
2018-08-08 08:09:11.847955 | primary |
2018-08-08 08:09:11.848241 | primary | TASK [container-prep : set mixed upgrade container_build_id] *******************
2018-08-08 08:09:11.870198 | primary | Wednesday 08 August 2018 08:09:11 +0000 (0:00:00.101) 0:00:28.569 ******
2018-08-08 08:09:11.920031 | primary | fatal: [undercloud]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'overcloud_docker_registry_namespace' is undefined\n\nThe error appears to have been in '/home/zuul/workspace/.quickstart/usr/local/share/ansible/roles/container-prep/tasks/main.yml': line 15, 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 mixed upgrade container_build_id\n ^ here\n"}
2018-08-08 08:09:11.943872 | primary |
2018-08-08 08:09:11.944157 | primary | PLAY RECAP *********************************************************************
2018-08-08 08:09:11.944416 | primary | undercloud : ok=6 changed=4 unreachable=0 failed=1
2018-08-08 08:09:11.944477 | primary |
2018-08-08 08:09:11.979126 | primary | Wednesday 08 August 2018 08:09:11 +0000 (0:00:00.108) 0:00:28.678 ******
2018-08-08 08:09:11.979535 | primary | ===============================================================================
2018-08-08 08:09:11.979818 | primary | overcloud-prep-images : Prepare the overcloud images for deploy -------- 12.19s
2018-08-08 08:09:11.980104 | primary | overcloud-prep-config : Checkout custom tht heat templates from src ----- 4.68s
2018-08-08 08:09:11.980389 | primary | overcloud-prep-config : Create network environment file for network isolation --- 3.57s
2018-08-08 08:09:11.980647 | primary | overcloud-prep-images : Create overcloud prep-images script ------------- 3.17s
2018-08-08 08:09:11.980920 | primary | overcloud-prep-config : Create overcloud custom tht script -------------- 2.72s
2018-08-08 08:09:11.981179 | primary | container-prep : set docker_registry_namespace_used --------------------- 0.20s
2018-08-08 08:09:11.981455 | primary | overcloud-prep-config : Add extra THT config file to the deploy command --- 0.14s
2018-08-08 08:09:11.981712 | primary | tripleo-validations : Run negative tests for pre-introspection group ---- 0.14s
2018-08-08 08:09:11.981990 | primary | overcloud-prep-config : Deprecation message for network isolation types --- 0.11s
2018-08-08 08:09:11.982251 | primary | container-prep : set mixed upgrade container_build_id ------------------- 0.11s

Tags: ci
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/589834

Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
milestone: none → rocky-rc1
Revision history for this message
Carlos Camacho (ccamacho) wrote :

We are executing a job that shouldn't be executed at all, testing upgrades from ocata to pike should be non-containerized to containerized, but this job is containers to containers.

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

Change abandoned by Carlos Camacho (<email address hidden>) on branch: master
Review: https://review.openstack.org/589834
Reason: Not needed we shouldn't be executing container-to-container-upgrades from ocata to pike

Revision history for this message
Carlos Camacho (ccamacho) wrote :

REmoving the not needed job here: https://review.openstack.org/#/c/590175/

tags: added: ci
Revision history for this message
Carlos Camacho (ccamacho) wrote :
Changed in tripleo:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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