Use the Ironic's node name as the instance hostname

Bug #1508970 reported by Lucas Alvares Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Won't Fix
Wishlist
Lucas Alvares Gomes

Bug Description

It would be very handy if we could use the name of the Ironic node as the instance hostname. The node's name are unique in Ironic and they could contain information such as rack number, rack location, node number, etc...

By default Nova uses the display name as the hostname for the instance we can keep that as the default behavior and have a configuration option in the [ironic] config group to enable/disable the behavior of using the node's name (if present) as the instance's hostname

Tags: ironic
Revision history for this message
Lucas Alvares Gomes (lucasagomes) wrote :

I can't set the importance, but this should be whishlist

tags: added: ironic
Changed in nova:
assignee: nobody → Lucas Alvares Gomes (lucasagomes)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/238593

Changed in nova:
status: New → In Progress
Michael Davies (mrda)
Changed in nova:
importance: Undecided → Wishlist
Revision history for this message
Michael Davies (mrda) wrote :

In the review Dan Smith suggested this is not behaviour that Nova wished to support, so marking this as something that's not going to get fixed.

Changed in nova:
status: In Progress → Won't Fix
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Michael Still (<email address hidden>) on branch: master
Review: https://review.openstack.org/238593
Reason: This code hasn't been updated in a long time, and is in merge conflict. I am going to abandon this review, but feel free to restore it if you're still working on this.

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.