The tripleo-ci-centos-9-scenario010-standalone job fails with ansible error in ceph tasks

Bug #1980185 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

Description
===========
Found in https://zuul.opendev.org/t/openstack/build/18265126f0404dd986909c5dab78468f

Deployment is failing because of the following ansible error.

https://fd1207866f13d5e5834a-35ecc7b59ac0acd5f8ed77dd8ebc5343.ssl.cf2.rackcdn.com/838959/6/gate/tripleo-ci-centos-9-scenario010-standalone/1826512/logs/undercloud/home/zuul/ansible.log
~~~
2022-06-29 02:50:13,843 p=33030 u=root n=ansible | 2022-06-29 02:50:13.843120 | fa163efa-a90c-7df8-cc31-000000000017 | TASK | Add hosts with mon label to ceph_mon inventory group for next play
2022-06-29 02:50:13,870 p=33030 u=root n=ansible | 2022-06-29 02:50:13.869151 | fa163efa-a90c-7df8-cc31-000000000017 | FATAL | Add hosts with mon label to ceph_mon inventory group for next play | undercloud | error={"msg": "Invalid data passed to 'loop', it requires a list, got this instead: [] + [ 'standalone.localdomain' ]. Hint: If you passed a list/dict of just one element, try adding wantlist=True to your lookup invocation or use q/query instead of lookup."}
2022-06-29 02:50:13,871 p=33030 u=root n=ansible | NO MORE HOSTS LEFT *************************************************************
2022-06-29 02:50:13,873 p=33030 u=root n=ansible | PLAY RECAP *********************************************************************
2022-06-29 02:50:13,874 p=33030 u=root n=ansible | undercloud : ok=2 changed=0 unreachable=0 failed=1 skipped=8 rescued=0 ignored=0
~~~

description: updated
summary: The tripleo-ci-centos-9-scenario010-standalone job fails with ansible
- error
+ error in ceph tasks
Amol Kahat (amolkahat)
tags: added: alert ci promotion-blocker
Changed in tripleo:
status: New → Confirmed
importance: Undecided → Critical
milestone: none → yoga-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (master)
Changed in tripleo:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/848075
Committed: https://opendev.org/openstack/tripleo-ansible/commit/35be5dda559ec1815812e33a605f910fbd1cb912
Submitter: "Zuul (22348)"
Branch: master

commit 35be5dda559ec1815812e33a605f910fbd1cb912
Author: rabi <email address hidden>
Date: Wed Jun 29 11:28:37 2022 +0530

    Fix list append for ansible 2.13

    Looks like the current syntax does not work on ansible 2.13.

    Change-Id: I18a898ad7f6fcd3818bac707ce34a93303a59430
    Closes-Bug: #1980185

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/848111

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/848111
Committed: https://opendev.org/openstack/tripleo-ansible/commit/22ac916e3e3f35c2d4be752a71606bb019152da9
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 22ac916e3e3f35c2d4be752a71606bb019152da9
Author: rabi <email address hidden>
Date: Wed Jun 29 11:28:37 2022 +0530

    Fix list append for ansible 2.13

    Looks like the current syntax does not work on ansible 2.13.

    Change-Id: I18a898ad7f6fcd3818bac707ce34a93303a59430
    Closes-Bug: #1980185
    (cherry picked from commit 35be5dda559ec1815812e33a605f910fbd1cb912)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 5.0.0

This issue was fixed in the openstack/tripleo-ansible 5.0.0 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.