Use ceph_mon_network to find Ceph monitor IPs for export
When 'openstack overcloud export ceph' is run, do not assume
the storage_ip will be set. Instead, find the ceph_mon_network
name in the service_net_map, e.g. 'storage' or 'ctlplane', and
then use that network name to get the IP from the inventory.
Closes-Bug: #1922788
Change-Id: I962bed846b2cae7206c76f883f9294d366031245
(cherry picked from commit 1e690136913062dc0b14b328a295f34fb1c02bd1)
(cherry picked from commit 1683e1bff97bf0d0db6221fc6d56ed8069f1e5d7)
Reviewed: https:/ /review. opendev. org/c/openstack /python- tripleoclient/ +/786227 /opendev. org/openstack/ python- tripleoclient/ commit/ 226a9078711a89a 90b0c270c51bf91 1a8d16c421
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/ussuri
commit 226a9078711a89a 90b0c270c51bf91 1a8d16c421
Author: John Fulton <email address hidden>
Date: Tue Apr 6 21:01:02 2021 +0000
Use ceph_mon_network to find Ceph monitor IPs for export
When 'openstack overcloud export ceph' is run, do not assume
the storage_ip will be set. Instead, find the ceph_mon_network
name in the service_net_map, e.g. 'storage' or 'ctlplane', and
then use that network name to get the IP from the inventory.
Closes-Bug: #1922788 7206c76f883f929 4d366031245 c0b14b328a295f3 4fb1c02bd1) 0db6221fc6d56ed 8069f1e5d7)
Change-Id: I962bed846b2cae
(cherry picked from commit 1e690136913062d
(cherry picked from commit 1683e1bff97bf0d