Yes, I met this problem, horizon give me nodes like "node1.expr", while
the database has only "node1", causing live migration failure, a little
fix is listed below:

 50     def populate_host_choices(self, request, initial):
 51         hosts = initial.get('hosts')
 52         current_host = initial.get('current_host')
 53         +host_list = [(host.service['host'],
 54         +              host.service['host'])
 55         +             for host in hosts
 56         +             if host.service['host'] != current_host]
 57         -host_list = [(host.hypervisor_hostname,
 58         -              host.hypervisor_hostname)
 59         -             for host in hosts
 60         -             if host.service['host'] != current_host]
 61         if host_list:
 62             host_list.insert(0, ("", _("Select a new host")))

** Attachment added: "2.png"
   https://bugs.launchpad.net/nova/+bug/1310340/+attachment/4170087/+files/2.png

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to