hostnames are not unique

Bug #1183646 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Unassigned

Bug Description

hostname is a unique key for nova compute nodes, but we have no enforcement that it's unique in stacks at the moment, so it's trivial to end up with two compute nodes claiming to have the same hostname.

I suggest we make the hostname be derived from the IP address, rather than the heat stack role. It may be we can override this in nova.conf alone.

Today, heat causes duplicate hostnames due to the way it derives hostnames (bug 1184713), but even were that fixed, we'd want to make it hard, if not impossible, to end up with duplicates, which suggests enforcing uniqueness at the nova naming layer.

description: updated
Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.