Bug 1382878

Summary: [ansible 1.0.8-1] fails during copy rundep - with_items expects a list or a set
Product: Red Hat Storage Console Reporter: Vasu Kulkarni <vakulkar>
Component: ceph-ansibleAssignee: seb
Status: CLOSED ERRATA QA Contact: Vasu Kulkarni <vakulkar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2CC: adeza, aschoen, ceph-eng-bugs, edonnell, gmeno, hnallurv, kdreyer, nthomas, sankarshan, seb
Target Milestone: ---   
Target Release: 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-2.1.1-1.el7scon Doc Type: Bug Fix
Doc Text:
Due to a bug in the underlying source code, the ceph-ansible utility in some cases failed on the copy roundep task. Consequently, the installation process was unsuccessful. This bug has been fixed, and the installation now proceeds as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-14 15:51:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vasu Kulkarni 2016-10-08 00:57:27 UTC
Description of problem:

1 mon, 2 osd's with following config

[mons]
ceph-run854-node1-mon monitor_interface=eth0
[osds]
ceph-run854-node3-osd devices='["/dev/vdb", "/dev/vdc", "/dev/vdd"]'
ceph-run854-node2-osd devices='["/dev/vdb", "/dev/vdc", "/dev/vdd"]'

fails at

full logs: https://paste.fedoraproject.org/445824/14758881/raw/

TASK: [ceph.ceph-common | add ceph stable repository] ************************* 
skipping: [ceph-run60-node1-mon]

TASK: [ceph.ceph-common | add ceph development repository] ******************** 
skipping: [ceph-run60-node1-mon]

TASK: [ceph.ceph-common | add ceph development repository] ******************** 
skipping: [ceph-run60-node1-mon]

TASK: [ceph.ceph-common | add custom repo] ************************************ 
skipping: [ceph-run60-node1-mon]

TASK: [ceph.ceph-common | purge yum cache] ************************************ 
skipping: [ceph-run60-node1-mon]

TASK: [ceph.ceph-common | make sure /tmp exists] ****************************** 
skipping: [ceph-run60-node1-mon]

TASK: [ceph.ceph-common | use mktemp to create name for rundep] *************** 
skipping: [ceph-run60-node1-mon]

TASK: [ceph.ceph-common | copy rundep] **************************************** 
fatal: [ceph-run60-node1-mon] => with_items expects a list or a set

FATAL: all hosts have already failed -- aborting

PLAY RECAP ******************************************************************** 
           to retry, use: --limit @/home/cephuser/site.retry

ceph-run60-node1-mon       : ok=6    changed=0    unreachable=1    failed=0

Comment 2 Vasu Kulkarni 2016-10-08 01:01:52 UTC
group vars

[cephuser@ceph-run854-node1-mon ceph-ansible]$ cat group_vars/all
ceph_conf_overrides:
  global:
    osd_default_pool_size: 2
    osd_pool_default_pg_num: 128
    osd_pool_default_pgp_num: 128
ceph_origin: distro
ceph_stable: true
ceph_stable_rh_storage: true
ceph_test: true
journal_collocation: true
journal_size: 1024
osd_auto_discovery: false
public_network: 172.16.0.0/12

Comment 3 seb 2016-10-10 07:58:38 UTC
can you test this patch? https://github.com/ceph/ceph-ansible/pull/1023
thanks

Comment 5 Vasu Kulkarni 2016-10-10 17:30:51 UTC
This i verified with same repo

rpm: ceph-ansible-1.0.8-1.0.bz1382878.el7scon.noarch

Comment 7 Ken Dreyer (Red Hat) 2017-01-11 23:12:37 UTC
This BZ is fixed in ceph-ansible v2.1.1

Comment 9 Vasu Kulkarni 2017-02-20 18:50:43 UTC
This was already verified in later version, Not sure why it got moved back to qa again.

Comment 10 Ken Dreyer (Red Hat) 2017-02-20 21:32:36 UTC
It's because we can't move to VERIFIED on scratch builds :)

Comment 12 errata-xmlrpc 2017-03-14 15:51:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:0515