Public bug reported: When migrating a server, current host should not contain in the new host list.
def populate_host_choices(self, request, initial): hosts = initial.get('hosts') current_host = initial.get('current_host') host_list = [(host.hypervisor_hostname, host.hypervisor_hostname) for host in hosts if host.hypervisor_hostname != current_host] //// we should not use hypervisor_hostname compare with current_host, they can be different on the same host. ** Affects: horizon Importance: Undecided Assignee: Zhenguo Niu (niu-zglinux) Status: New ** Changed in: horizon Assignee: (unassigned) => Zhenguo Niu (niu-zglinux) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1267733 Title: Live Migration can set new host to the current host. Status in OpenStack Dashboard (Horizon): New Bug description: When migrating a server, current host should not contain in the new host list. def populate_host_choices(self, request, initial): hosts = initial.get('hosts') current_host = initial.get('current_host') host_list = [(host.hypervisor_hostname, host.hypervisor_hostname) for host in hosts if host.hypervisor_hostname != current_host] //// we should not use hypervisor_hostname compare with current_host, they can be different on the same host. To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1267733/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp