Bug 1586112

Summary: ceph-ansible needs python-netaddr as a dependency for Ansible ipaddr filter
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Douglas Fuller <dfuller>
Component: Ceph-AnsibleAssignee: Sébastien Han <shan>
Status: CLOSED NOTABUG QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.1CC: aschoen, ceph-eng-bugs, dfuller, gmeno, nthomas, sankarshan, tserlin, vakulkar
Target Milestone: rcFlags: vakulkar: automate_bug?
Target Release: 3.1   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-15 17:17:20 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: 1581350    

Description Douglas Fuller 2018-06-05 14:11:23 UTC
Description of problem:
ceph-ansible should require python-netaddr, since it uses Ansible's ipaddr filter

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

How reproducible:
Fully reproducible

Steps to Reproduce:
1. Install ceph-ansible
2. Set monitor_address_block
3. Run ceph-ansible

Actual results:
TASK [ceph-config : generate ceph configuration file: ceph.conf] *************************************
   fatal: [c05-h33-6018r]: FAILED! => {"msg": "The ipaddr filter requires python-netaddr be installed on the ansible controller"}

Expected results:
ceph-ansible completes successfully

Additional info:

python-netaddr should be made a dependency for ceph-ansible.

Comment 4 Sébastien Han 2018-06-06 04:36:15 UTC
Thanks Thomas for jumping in.

dfuller, please check your setup and let us know if there is anything missing.
Thanks.

Comment 5 Douglas Fuller 2018-06-15 17:17:20 UTC
This was an error, NOTABUG. The version of ceph-ansible used was not installed from the distribution.