Bug 1769760

Summary: [ceph-ansible] - ceph_repository_type being validated unnecessarily in containerized scenario
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: low Docs Contact:
Priority: low    
Version: 3.3CC: aschoen, ceph-eng-bugs, ceph-qe-bugs, dsavinea, gmeno, nthomas, tchandra, tserlin, ykaul
Target Milestone: z2Keywords: Regression
Target Release: 3.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.2.36-1.el7cp Ubuntu: ceph-ansible_3.2.36-2redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-19 17:58:49 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:
Attachments:
Description Flags
File contains playbook log, all.yml none

Description Vasishta 2019-11-07 11:58:51 UTC
Created attachment 1633608 [details]
File contains playbook log, all.yml

Description of problem:
site-docker.yml is failing in task "ceph-validate : validate ceph_repository_type" validating ceph_repository_type unnecessarily.

Version-Release number of selected component (if applicable):
ceph-ansible-3.2.34-1.el7cp.noarch

How reproducible:
Always (3/3)

Steps to Reproduce:
1. Configure ceph-ansible to initialize RHCS containerized cluster following official docs.

Actual results:
fatal: [magna110]: FAILED! => {
    "changed": false,
    "msg": "ceph_repository_type must be either 'cdn' or 'iso'"


Expected results:
Containerized cluster must be configured

Additional info:

Comment 1 Vasishta 2019-11-07 12:09:05 UTC
Hi,

Have sent a PR - https://github.com/ceph/ceph-ansible/pull/4718 
It has the fix, needs to be reviewed, merged and back-ported.


Regards,
Vasishta Shastry
QE, Ceph

Comment 10 errata-xmlrpc 2019-12-19 17:58:49 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-2019:4353