Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1356105

Summary: Deploying RHCS container 2.0 with ansible fails with error "'dict object' has no attribute 'stdout'"
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: krishnaram Karthick <kramdoss>
Component: ContainerAssignee: Sébastien Han <shan>
Status: CLOSED UPSTREAM QA Contact: krishnaram Karthick <kramdoss>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.0CC: adeza, annair, aschoen, ceph-eng-bugs, dang, hchen, jim.curtis, kdreyer, kramdoss, nlevine, nthomas, pprakash, rcyriac, sankarshan, seb
Target Milestone: rc   
Target Release: 2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-16 13:56:43 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1315538, 1371113    

Comment 2 Daniel Gryniewicz 2016-07-13 16:53:21 UTC
Working on a proper fix, but the workaround for this is to set a fsid in group_vars/all

Comment 3 Daniel Gryniewicz 2016-07-13 17:22:01 UTC
https://github.com/ceph/ceph-ansible/pull/883

Comment 4 Neil Levine 2016-07-14 17:46:03 UTC
Container support is not a blocker in anyway for v2.

Comment 6 Daniel Gryniewicz 2016-07-15 14:14:18 UTC
Commit merged upstream.

Comment 7 Ken Dreyer (Red Hat) 2016-07-15 14:19:28 UTC
Let's keep this in POST until a commit is merged downstream.

Comment 9 Ken Dreyer (Red Hat) 2016-08-26 18:49:42 UTC
Rejy from what I understand, this bug is in ceph-ansible, not the Dockerfile, right?

Comment 10 Rejy M Cyriac 2016-08-26 19:01:52 UTC
(In reply to Ken Dreyer (Red Hat) from comment #9)
> Rejy from what I understand, this bug is in ceph-ansible, not the
> Dockerfile, right?

This bug is not related to the Red Hat Storage Console product, on which the BZ was initially raised

This bug was discovered during the RHCS 2.0 Container image testing, and due to the absence of a 'container' related component at the Red Hat Ceph Storage product, I have moved it under the 'build' component of the Red Hat Ceph Storage product

If Red Hat Ceph Storage provides a ceph-ansible component, probably such a component is also required for the product

For more details about the bug, I am passing on the need-info to the relevant QE

Comment 12 Ken Dreyer (Red Hat) 2016-08-26 19:11:40 UTC
(In reply to Rejy M Cyriac from comment #10)
> This bug was discovered during the RHCS 2.0 Container image testing

Ok, but it still looks like a bug in RHS-C's ceph-ansible code to me? (See comment #3) and has nothing to do with Ceph build/packaging/docker images directly?

Comment 13 krishnaram Karthick 2016-08-27 01:22:19 UTC
(In reply to Rejy M Cyriac from comment #10)
> (In reply to Ken Dreyer (Red Hat) from comment #9)
> > Rejy from what I understand, this bug is in ceph-ansible, not the
> > Dockerfile, right?
> 
> This bug is not related to the Red Hat Storage Console product, on which the
> BZ was initially raised
> 
> This bug was discovered during the RHCS 2.0 Container image testing, and due
> to the absence of a 'container' related component at the Red Hat Ceph
> Storage product, I have moved it under the 'build' component of the Red Hat
> Ceph Storage product
> 
> If Red Hat Ceph Storage provides a ceph-ansible component, probably such a
> component is also required for the product
> 
> For more details about the bug, I am passing on the need-info to the
> relevant QE

Right. The bug was discovered during the testing of RHCS 2.0 container image deployment using ansible. The bug was with the 'ansible' and the fix was provided in the ansible code. I agree that we need a component for 'ceph-ansible'. This bug is no way related to either 'storage console' or 'build'.

Comment 14 seb 2016-09-16 13:56:43 UTC
This seems to be resolved upstream, we still haven't synced upstream and downstream yet to include this patch, which is fine since we recommend users to use the latest version of ceph-ansible (upstream).

Thus I'm going to close this.