Created attachment 1328443[details]
File contains inventory file, contents of all.yml, ansible log
Description of problem:
Conf file generation failing on rgw nodes when nodes have different interface names.
Version-Release number of selected component (if applicable):
ceph-ansible-3.0.0-0.1.rc8.el7cp.noarch
How reproducible:
Always
Steps to Reproduce:
1. Configure ceph-ansible to get a cluster up with multiple rgws nodes having different interface names
2. Run ansible-playbook site.yml
Actual results:
ceph-ansible is failing to generate conf files on rgw nodes saying
"'dict object' has no attribute u'ansible_enp4s0f0'"
Expected results:
rgws configuration must be successful
Additional info:
As radosgw_interface has different values for different nodes, the variables was initialized in inventory file as
[rgws]
magna069 radosgw_interface=eno1
hp-ms-01-c04.moonshot1.lab.eng.rdu.redhat.com radosgw_interface=enp4s0f0
hp-ms-01-c05.moonshot1.lab.eng.rdu.redhat.com radosgw_interface=enp4s0f0
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
Created attachment 1328443 [details] File contains inventory file, contents of all.yml, ansible log Description of problem: Conf file generation failing on rgw nodes when nodes have different interface names. Version-Release number of selected component (if applicable): ceph-ansible-3.0.0-0.1.rc8.el7cp.noarch How reproducible: Always Steps to Reproduce: 1. Configure ceph-ansible to get a cluster up with multiple rgws nodes having different interface names 2. Run ansible-playbook site.yml Actual results: ceph-ansible is failing to generate conf files on rgw nodes saying "'dict object' has no attribute u'ansible_enp4s0f0'" Expected results: rgws configuration must be successful Additional info: As radosgw_interface has different values for different nodes, the variables was initialized in inventory file as [rgws] magna069 radosgw_interface=eno1 hp-ms-01-c04.moonshot1.lab.eng.rdu.redhat.com radosgw_interface=enp4s0f0 hp-ms-01-c05.moonshot1.lab.eng.rdu.redhat.com radosgw_interface=enp4s0f0