[Bug 1310340] Re: live migration fails when use long hostname of a nova compute target host

Adam Spiers aspiers at suse.com
Wed Oct 14 14:21:47 UTC 2015


Hi Melanie, just wondering why this change was abandoned?  Unless I
misunderstood, it seemed that the only objections to Patch Set 4 were
regarding implementation details, not against the approach.  Your way of
guarding against accidentally using the wrong non-unique hypervisor host
seems good to me, but maybe I'm missing something?  Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1310340

Title:
  live migration fails when use long hostname of a nova compute target
  host

Status in OpenStack Compute (nova):
  Confirmed
Status in nova package in Ubuntu:
  Triaged

Bug description:
  Nova don't do live-migration when used long hostname of target host

  nova show ubuntu14.04
  +--------------------------------------+-----------------------------------------------------------+
  | Property                             | Value                                                     |
  +--------------------------------------+-----------------------------------------------------------+
  ..................................................................................................................................
  | OS-EXT-SRV-ATTR:host                 |     compute2                                                |
  | OS-EXT-SRV-ATTR:hypervisor_hostname  |      compute2.site.local                                     |
  ..................................................................................................................................

  nova live-migration ubuntu14.04  compute2.site.local
  ERROR (BadRequest): Compute service of  compute2.site.local is unavailable at this time. (HTTP 400) (Request-ID: req-f344c0bf-aaa3-47e6-a24c-8f37e89858e4)

  but 
  nova live-migration ubuntu14.04  compute2
  runs without error 

  
  Also if you try to do migration through horizon it always fails because horizon use long hostname fo target host.

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



More information about the Ubuntu-openstack-bugs mailing list