[rocky] tripleo-ci-centos-7-undercloud-containers job fails undercloud install for "ansible-playbook -vvvvv /tmp/tripleo-modify-image-playbook ... Exit code: 2"

Bug #1808767 reported by Marios Andreou on 2018-12-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Critical
Marios Andreou

Bug Description

The [rocky] tripleo-ci-centos-7-undercloud-containers job fails during undercloud install for "ansible-playbook -vvvvv /tmp/tripleo-modify-image-playbook ... Exit code: 2" with trace from [1][2] like:

 INFO:tripleo_common.image.image_uploader:Running skopeo inspect --tls-verify=false docker://192.168.24.1:8787/tripleorocky/centos-binary-rsyslog-base:current-tripleo-updated-20181217000650
 INFO:tripleo_common.image.image_uploader:Pulling docker.io/tripleorocky/centos-binary-rsyslog-base
 INFO:tripleo_common.actions.ansible:Running ansible-playbook command: ['ansible-playbook', '-vvvvv', '/tmp/tripleo-modify-image-playbook-HYTGX_/playbook.yaml']
 Traceback (most recent call last):
   File "/usr/bin/tripleo-container-image-prepare", line 100, in <module>
     env, roles_data, cleanup=args.cleanup)
   File "/usr/lib/python2.7/site-packages/tripleo_common/image/kolla_builder.py", line 193, in container_images_prepare_multi
     uploader.upload()
   File "/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 132, in upload
     uploader.run_tasks()
   File "/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 514, in run_tasks
     result = self.upload_image(*first)
   File "/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 262, in upload_image
     target_image_source_tag, append_tag)
   File "/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 212, in run_modify_playbook
     result = action.run(None)
   File "/usr/lib/python2.7/site-packages/tripleo_common/actions/ansible.py", line 589, in run
     log_errors=processutils.LogErrors.ALL)
   File "/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 424, in execute
     cmd=sanitized_cmd)
 oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.
 Command: ansible-playbook -vvvvv /tmp/tripleo-modify-image-playbook-HYTGX_/playbook.yaml
Exit code: 2
...
  -tripleo\\": error reading image: error locating image \\"docker.io/tripleorocky/centos-binary-rsyslog-base:current-tripleo\\" for importing settings: error locating image with name \\"docker.io/tripleorocky/centos-binary-rsyslog-base:current-tripleo\\": image not known"\n

 [1] http://logs.openstack.org/60/625260/1/check/tripleo-ci-centos-7-undercloud-containers/e90e723/logs/undercloud/home/zuul/install-undercloud.log.txt.gz
 [2] http://logs.openstack.org/93/604293/85/check/tripleo-ci-centos-7-undercloud-containers/2cd6cfe/logs/undercloud/home/zuul/install-undercloud.log.txt.gz

Tags: ci Edit Tag help
Marios Andreou (marios-b) wrote :

    09:54 #tripleo: < ykarel> marios_|ruck, therve this seems to have caused it
    https://review.openstack.org/#/c/608452/21/roles/undercloud-deploy/templates/containers-prepare-parameter.yaml.j2

Changed in tripleo:
assignee: nobody → Marios Andreou (marios-b)
Marios Andreou (marios-b) wrote :

another question is why was this job green there then https://review.openstack.org/#/c/608452/21

description: updated
Marios Andreou (marios-b) wrote :

(answering myself in comment #2 well cos that is master )

Changed in tripleo:
importance: Undecided → Critical
milestone: none → stein-2

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

commit 12cc9a2e50ca52c5e9f7d576fe8c0edf7b6fb99d
Author: Marios Andreou <email address hidden>
Date: Mon Dec 17 11:54:13 2018 +0200

    Use buildah only for stein onwards, fixes rocky

    container_build_tool should be set to buildah only for stein or
    newer. This was added in https://review.openstack.org/608452

    Testing with https://review.openstack.org/625535

    Change-Id: I5dc2dffbc93c4af2bc403ba6ab0c6e9c731865ea
    Related-Bug: #1808767

Changed in tripleo:
milestone: stein-2 → stein-3
wes hayutin (weshayutin) wrote :
Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers