Bug 1496692

Summary: [ceph-ansible] - value set for 'ceph_repository_type' as iso is getting ignored
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: Ceph-AnsibleAssignee: Sébastien Han <shan>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: urgent Docs Contact:
Priority: high    
Version: 3.0CC: adeza, anharris, aschoen, ceph-eng-bugs, ceph-qe-bugs, gmeno, kdreyer, nthomas, sankarshan, tchandra
Target Milestone: rc   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.0.0-0.1.rc12.el7cp Ubuntu: ceph-ansible_3.0.0~rc12-2redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:46:00 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:

Description Vasishta 2017-09-28 07:17:55 UTC
Description of problem:

While trying to set-up cluster using iso, playbook failed in task - verify that a repository type was chosen for ceph rhcs version saying - choose between 'cdn' or 'iso' installation, e.g: ceph_repository_type: cdn.\nValid ceph_repository_type are: [u'cdn', u'iso']" even though respective variable in all.yml has been set to appropriate value.

Version-Release number of selected component (if applicable):
ceph-ansible-3.0.0-0.1.rc11.el7cp.noarch

How reproducible:
Always (3/3)

Steps to Reproduce:
1. Configure ceph-ansible to get a cluster up using an iso image
2. Run playbook

Actual results:
choose between 'cdn' or 'iso' installation, e.g: ceph_repository_type: cdn.\nValid ceph_repository_type are: [u'cdn', u'iso']"

Expected results:
Ansible should be able to configure cluster using iso image

Additional info:
******************
As informed by the Sebastien, dev team has fixed this issue and will be available for testing in ceph-ansible version *rc12* (upcoming version). 
This BZ has been filed to ease the tracking.
******************

Comment 6 Vasishta 2017-10-10 14:49:23 UTC
Working fine, moving to VERIFIED state.

verified using - 
RHEL - ceph-ansible-3.0.0-0.1.rc15.el7cp.noarch.rpm 
Ubuntu- 3.0.0~rc19-2redhat1

Comment 9 errata-xmlrpc 2017-12-05 23:46:00 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/RHBA-2017:3387