Bug 1801319

Summary: ceph_nfs_ceph_user invalid format causes ceph-nfs deployment with external cluster to fail
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Giulio Fidente <gfidente>
Component: Ceph-AnsibleAssignee: Dimitri Savineau <dsavinea>
Status: CLOSED NEXTRELEASE QA Contact: Yogev Rabl <yrabl>
Severity: high Docs Contact:
Priority: high    
Version: 4.0CC: aschoen, ceph-eng-bugs, gabrioux, gcharot, gmeno, gouthamr, nthomas, pasik, tserlin, vhariria, ykaul
Target Milestone: rc   
Target Release: 4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-4.0.15-1.el8, ceph-ansible-4.0.15-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1802066 (view as bug list) Environment:
Last Closed: 2020-03-20 12:52:54 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: 1696717, 1760354, 1802066    

Description Giulio Fidente 2020-02-10 16:13:39 UTC
Description of problem:
the site-docker playbook fails in [1] because ceph_nfs_ceph_user is set to a string, not a dict

there seem to be multiple references in the code to the variable which sometimes is assumed to be a string [1] but others a dict [2]

probably related to [3]

1. https://github.com/ceph/ceph-ansible/blob/master/roles/ceph-nfs/tasks/main.yml#L29
2. https://github.com/ceph/ceph-ansible/blob/master/group_vars/clients.yml.sample#L60
3. https://github.com/ceph/ceph-ansible/commit/6a6785b719d126cf54ebad8b2a22c97d90afd05e

Version-Release number of selected component (if applicable):
4.0.14

How reproducible:
deploy ceph-nfs and client connecting to an external ceph cluster

Comment 1 RHEL Program Management 2020-02-10 16:13:45 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.