Public bug reported: This function uses the list comprehension iteration variable where it will be out of scope in Python 3, see https://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/dashboards/project/loadbalancers/tables.py#n369
This should be replace with vip_fips[0]. As long as the intention is only to remove a single IP, this code is then fine. Previously, if there were multiple floating IPs, then only the first would be removed, but the message would report that the last had been removed. ** Affects: horizon Importance: Undecided Status: New -- 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/1575589 Title: RemoveVIPFloatingIP.single() fails in Python 3 Status in OpenStack Dashboard (Horizon): New Bug description: This function uses the list comprehension iteration variable where it will be out of scope in Python 3, see https://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/dashboards/project/loadbalancers/tables.py#n369 This should be replace with vip_fips[0]. As long as the intention is only to remove a single IP, this code is then fine. Previously, if there were multiple floating IPs, then only the first would be removed, but the message would report that the last had been removed. To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1575589/+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