Bug 1382878 - [ansible 1.0.8-1] fails during copy rundep - with_items expects a list or a set
Summary: [ansible 1.0.8-1] fails during copy rundep - with_items expects a list or a set
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat
Component: ceph-ansible
Version: 2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 2
Assignee: seb
QA Contact: Vasu Kulkarni
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-08 00:57 UTC by Vasu Kulkarni
Modified: 2017-03-14 15:51 UTC (History)
10 users (show)

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.
Clone Of:
Environment:
Last Closed: 2017-03-14 15:51:05 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0515 0 normal SHIPPED_LIVE Important: ansible and ceph-ansible security, bug fix, and enhancement update 2017-04-18 21:12:31 UTC

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


Note You need to log in before you can comment on or make changes to this bug.