Make default hypervisor hostname compatible with libvirt
This change ensures that neutron relies on the same logic as libvirt
to generate hypervisor hostname, to fix imcompatible hostname format
used in Nova and Neutron for resource provider name in some
configuration pattens like the one generated by TripleO.
Closes-Bug: #1926693
Change-Id: Iea2533f4c52935b4ecda9ec22fb619c131febfa1
(cherry picked from commit 577217c52d677ba35ca78b87c06302d506f66ff9)
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/796856 /opendev. org/openstack/ neutron/ commit/ aa8f6ff547b132a 2b85d7da561fa34 44de5f8254
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/ussuri
commit aa8f6ff547b132a 2b85d7da561fa34 44de5f8254
Author: Takashi Kajinami <email address hidden>
Date: Fri Apr 30 15:12:04 2021 +0900
Make default hypervisor hostname compatible with libvirt
This change ensures that neutron relies on the same logic as libvirt
to generate hypervisor hostname, to fix imcompatible hostname format
used in Nova and Neutron for resource provider name in some
configuration pattens like the one generated by TripleO.
Closes-Bug: #1926693 b4ecda9ec22fb61 9c131febfa1 35ca78b87c06302 d506f66ff9)
Change-Id: Iea2533f4c52935
(cherry picked from commit 577217c52d677ba