Validating domain name in FQDN and openstack_domain variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Won't Fix
|
Low
|
Unassigned |
Bug Description
In inventory/
openstack_domain: openstack.local
However, during OSA deployment by some reason, we use FQDN name.
In /etc/hosts file all hosts populated with openstack.local domain name:
root@728987-
127.0.0.1 localhost
127.0.1.1 728987-
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.20.112.63 729359-
172.20.112.51 729075-
---------------- skipped by vnogin -------
172.20.114.149 729018-
172.20.112.155 728987-
172.20.112.55 728987-
Nevertheless, nova uses FQDN domain:
root@729013-
+-----+
| ID | Hypervisor hostname | State | Status |
+-----+
| 2 | 729075-
| 5 | 729359-
---------------- skipped by vnogin -------
| 155 | 729675-
| 158 | 729002-
+-----+
After deployment, we don't have compute nodes with proper functionality and due to this fact we not able to perform live migration (for instance).
From my point of view, we need to have validation for a domain name in FQDN and openstack_domain variable for avoiding such problems after deployment.
Regards,
Vitaliy
Please see our triage conversation: