Servers in `nova list` get renamed on a minor upgrade of Red Hat OpenStack Platform 8

Solution In Progress - Updated -

Issue

Servers in nova list get renamed on a minor upgrade of Red Hat OpenStack Platform 8 and OpenStack Director does not seem to respect the custom names from HostnameMap any longer.

From scheduler_hints.yaml:

HostnameMap:
   overcloud-controller-0: custom-controllername-01
   overcloud-controller-1: custom-controllername-02
   overcloud-controller-2: custom-controllername-03
   overcloud-novacompute-0: custom-computename-001
   overcloud-novacompute-1: custom-computename-002
   overcloud-novacompute-2: custom-computename-003

Before the minor upgrade:

| b45330a7-6020-4f24-8178-1419aee9df1b | custom-computename-001  | ACTIVE | -          | Running     | ctlplane=192.0.2.158 |

After the minor upgrade:

[stack@undercloud ~]$ nova list | head -n20
+--------------------------------------+-----------------------+--------+------------+-------------+-------------------------+
| ID                                   | Name                  | Status | Task State | Power State | Networks                |
+--------------------------------------+-----------------------+--------+------------+-------------+-------------------------+
| e95ad875-cb0e-4605-a666-78d1f0481d35 | custom-controllername-01          | ACTIVE | -          | Running     | ctlplane=192.0.2.150 |
| 20db4129-bf0a-417f-bb11-7e152e868fb4 | custom-controllername-02          | ACTIVE | -          | Running     | ctlplane=192.0.2.147 |
| 26557b8a-7221-4a11-9549-51c5c3f4c947 | custom-controllername-03          | ACTIVE | -          | Running     | ctlplane=192.0.2.149 |
| b45330a7-6020-4f24-8178-1419aee9df1b | overcloud-compute-0   | ACTIVE | -          | Running     | ctlplane=192.0.2.158 |
| b656e58e-0dcd-43b3-bc08-bcca1f3f8e49 | overcloud-compute-1   | ACTIVE | -          | Running     | ctlplane=192.0.2.153 |
| 8e36cbf9-41c4-4cb3-a7f4-ef781e9b2b78 | overcloud-compute-100 | ACTIVE | -          | Running     | ctlplane=192.0.2.242 |
| 9cf231ab-fa8d-44d1-b83f-fbeed29c04a1 | overcloud-compute-101 | ACTIVE | -          | Running     | ctlplane=192.0.2.234 |
| 06cd75bc-d2a0-4dbe-bd2d-bbb90bd3205d | overcloud-compute-102 | ACTIVE | -          | Running     | ctlplane=192.0.2.235 |
| ce2b4002-244b-4292-854c-d5650943cf1a | overcloud-compute-103 | ACTIVE | -          | Running     | ctlplane=192.0.2.241 |
| 3c9cbdd4-3cb8-4321-b92f-82b8c053df1e | overcloud-compute-104 | ACTIVE | -          | Running     | ctlplane=192.0.2.236 |
| 81fb7860-5a23-4b41-9426-0f1c181846c8 | overcloud-compute-105 | ACTIVE | -          | Running     | ctlplane=192.0.2.238 |
| 0069e54a-5dc4-45f1-a80a-43bfe4148771 | overcloud-compute-106 | ACTIVE | -          | Running     | ctlplane=192.0.2.240 |
| 229838dd-ef68-4ad0-8470-c59fbbf25c60 | overcloud-compute-107 | ACTIVE | -          | Running     | ctlplane=192.0.2.233 |
| 07b5d22d-c54a-4895-a414-536c5d7ba57a | overcloud-compute-108 | ACTIVE | -          | Running     | ctlplane=192.0.2.237 |
| 0b500bd2-3295-403e-9673-be97ca17d9d3 | overcloud-compute-109 | ACTIVE | -          | Running     | ctlplane=192.0.2.239 |
| 8860abdd-e2c3-43fb-ae00-53a482c3b57b | overcloud-compute-110 | ACTIVE | -          | Running     | ctlplane=192.0.2.246 |
| 2ae9ab9a-88dc-43a2-9299-8a3680d66bcd | overcloud-compute-111 | ACTIVE | -          | Running     | ctlplane=192.0.2.243 |

Environment

Red Hat OpenStack Platform 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content