and I want to get a list of hosts from the CephStorage group,
it is wrong to return that CephStorage has no hosts. Instead
since all hosts in the overcloud_CephStorage group are children
of the CephStorage group, I should return the hosts of the
child group. I.e. the hosts of CephStorage above are [ceph-0].
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- ansible/ +/866503 /opendev. org/openstack/ tripleo- ansible/ commit/ 04c33a4747769cc 414d163fb25cd0f 8927ba9206
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 04c33a4747769cc 414d163fb25cd0f 8927ba9206
Author: John Fulton <email address hidden>
Date: Fri Dec 2 21:04:32 2022 +0000
Handle child groups when building ceph spec from inventory
If the inventory contains the following:
CephStorage:
overcloud_ CephStorage: {} _CephStorage:
children:
overcloud
hosts:
ceph-0:
and I want to get a list of hosts from the CephStorage group, CephStorage group are children
it is wrong to return that CephStorage has no hosts. Instead
since all hosts in the overcloud_
of the CephStorage group, I should return the hosts of the
child group. I.e. the hosts of CephStorage above are [ceph-0].
Closes-Bug: #1998649 f011531642a2ee3 74bb210fa82
Change-Id: I0405f6729b492a