Bug 1957363 - Canonical name should be a short name instead of FQDN
Summary: Canonical name should be a short name instead of FQDN
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-05 16:44 UTC by Takashi Kajinami
Modified: 2022-08-23 10:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-12 15:10:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-3639 0 None None None 2022-08-23 10:30:57 UTC

Internal Links: 1900500

Description Takashi Kajinami 2021-05-05 16:44:11 UTC
Description of problem:

I'm filing a bug based on the feedback in bz 1900500 .
In bz 1900500 we observed that neutron detects hypervisor name incorrectly
and that result in issue with syncing resource provider record.

The current inconsistency is caused by the following facts.

- socket.gethostname() returns short name

- canonical name is FQDN because of records in /etc/hosts\
~~~
172.17.1.17 compute-0.redhat.local compute-0
~~~

Feedback from nova's perspective is that we should not use FQDN but should use
a short name as canonical name because of nova's expectation.
Note that it is required by nova to have a unique short name because that is
used to determine service host name (*1), thus short name is always unique.

(*1)
In TripleO setup this is not true, though, since we override host parameter
using FQDN and service host record doesn't rely on socket.gethostname().

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Deploy overcloud
2. Check canonical name


Actual results:
Canonical name is FQDN

Expected results:
Canonical name is a short name

Additional info:


Note You need to log in before you can comment on or make changes to this bug.