Comment 4 for bug 1998649

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/866503
Committed: https://opendev.org/openstack/tripleo-ansible/commit/04c33a4747769cc414d163fb25cd0f8927ba9206
Submitter: "Zuul (22348)"
Branch: master

commit 04c33a4747769cc414d163fb25cd0f8927ba9206
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:
        children:
          overcloud_CephStorage: {}
      overcloud_CephStorage:
        hosts:
          ceph-0:

    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