[Bug 1310340] Re: live migration fails when use long hostname of a nova compute target host
Maciej Szankin
maciej.szankin at intel.com
Thu Feb 11 14:48:51 UTC 2016
First thing - title is confusing. Problem is not in hostname length that
is provided as target in live-migration command. Maximum hostname length
is 64, and verified, it works.
Second thing - providing FQDN (which usually is used for hypervisor
hostname) in live migration does not work by design. I am not sure if
anyone is interested in being able to give FQDNs instead of hostnames as
targets of LM.
Despite above:
There was a small possibility that by changing rabbit host in nova.conf from IP to FQDN this would be fixed, but verified it, didn't work.
I think that item is invalid, but someone has to agree with me.
--
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