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].
Closes-Bug: #1998649
Change-Id: I0405f6729b492af011531642a2ee374bb210fa82
(cherry picked from commit 04c33a4747769cc414d163fb25cd0f8927ba9206)
(cherry picked from commit 37fc1a9d11fad1ed52e3ae4a7381b90150dcdbe5)
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- ansible/ +/866465 /opendev. org/openstack/ tripleo- ansible/ commit/ 6f1b1fe8e76724a 724e7aa765e8779 109af4341a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 6f1b1fe8e76724a 724e7aa765e8779 109af4341a
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 414d163fb25cd0f 8927ba9206) d52e3ae4a7381b9 0150dcdbe5)
Change-Id: I0405f6729b492a
(cherry picked from commit 04c33a4747769cc
(cherry picked from commit 37fc1a9d11fad1e