Change hostname (dns suffix) on a controller host
Hi,
Renamed (move to another dns zone) http://openstack01.lab.net -> http://openstack01.os.lab.net
So basically lost connection to alot of services.
[root@openstack01 neutron(keystone_admin)]# openstack compute service list
+----+------------------+------------------------+----------+----------+-------+----------------------------+
| ID | Binary | Host | Zone | Status | State | Updated At |
+----+------------------+------------------------+----------+----------+-------+----------------------------+
| 13 | nova-compute | openstack01.lab.net | nova | disabled | down | 2020-01-30T10:07:05.000000 |
| 14 | nova-compute | openstack02.lab.net | nova | disabled | down | 2020-01-30T10:53:53.000000 |
| 15 | nova-scheduler | openstack01.os.lab.net | internal | enabled | up | 2020-01-30T13:31:20.000000 |
| 17 | nova-consoleauth | openstack01.os.lab.net | internal | enabled | up | 2020-01-30T13:31:23.000000 |
| 18 | nova-conductor | openstack01.os.lab.net | internal | enabled | up | 2020-01-30T13:31:27.000000 |
| 19 | nova-compute | openstack01.os.lab.net | nova | enabled | up | 2020-01-30T13:31:20.000000 |
+----+------------------+------------------------+----------+----------+-------+----------------------------+
Tried to disable and delete the old one after adding the compute part via nova-manage... Cannot delete since old instances are remaining on the disabled. Was hoping to clean away the instances and delete and continue using the new one.
But I guess this will/might lead to other issues since there are neutron agents running as well. Not sure how to get them "back in"... Better to wipe and reinstall this... All config is done via IP addresses but I guess they all get added in by name ...