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.
Fix proposed to branch: master /review. openstack. org/101096
Review: https:/