← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1501440] Re: Ironic driver uses node's UUID instead of name

 

I feel that request for feature would need a huge effort for changing
the current situation and would be better provided as a blueprint, see
that wikipage for more explanation :

https://wiki.openstack.org/wiki/Nova/Liberty_Release_Schedule#How_do_I_get_my_code_merged.3F

** Changed in: nova
   Importance: Undecided => Wishlist

** Changed in: nova
       Status: New => Opinion

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1501440

Title:
  Ironic driver uses node's UUID instead of name

Status in OpenStack Compute (nova):
  Opinion

Bug description:
  When nova creates a hypervisor from an Ironic node, the hypervisor is
  created with hypervisor_hostname set to the UUID of the Ironic node.
  This is inconvenient, as it's not very human-friendly. It would be
  nice if the hypervisor_hostname attribute could be set to the node's
  name, or at least some combination, such as `node.name + '-' +
  node.uuid`. The relevant line is here:

  https://github.com/openstack/nova/blob/stable/kilo/nova/virt/ironic/driver.py#L290

  This is on CentOS 7, and yum shows me as running version
  2015.1.1.dev18 for all nova packages.

  I tried just changing the line above to read `'hypervisor_hostname':
  str(node.name),`, but this caused no hypervisors to get created,
  although nothing crashed, which makes it seem like there's more that
  needs to be done than just changing that line.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1501440/+subscriptions


References