yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #67602
[Bug 1717365] Re: binding:profile is None breaks migration
** Also affects: nova/newton
Importance: Undecided
Status: New
** Also affects: nova/ocata
Importance: Undecided
Status: New
** Also affects: nova/pike
Importance: Undecided
Status: New
** Tags added: live-migration neutron
** Changed in: nova
Status: New => Triaged
** Changed in: nova/newton
Status: New => Confirmed
** Changed in: nova
Importance: Undecided => Medium
** Changed in: nova/ocata
Status: New => Confirmed
** Changed in: nova/ocata
Importance: Undecided => Medium
** Changed in: nova/pike
Importance: Undecided => Medium
** Changed in: nova/newton
Importance: Undecided => Medium
** Changed in: nova/pike
Status: New => Confirmed
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1717365
Title:
binding:profile is None breaks migration
Status in OpenStack Compute (nova):
Triaged
Status in OpenStack Compute (nova) newton series:
Confirmed
Status in OpenStack Compute (nova) ocata series:
Confirmed
Status in OpenStack Compute (nova) pike series:
Confirmed
Bug description:
Nova Newton (commit: d8b30c3772 as pulled in with OSA 14.2.7)
During a live-migration, setup_networks_at_host tries to lookup some
information from the network port.
at
https://review.openstack.org/#/c/275073/45/nova/network/neutronv2/api.py@289
If the port has None assigned to "binding:profile" further code breaks
with a TypeError assigning to NoneType.
mriedem suggested catching this with an extended .get():
16:27 < mriedem> since the port_profile should default to {}, UNLESS the port has binding:profile=None...
16:27 < mriedem> it should be: port_profile = p.get(BINDING_PROFILE, {}) or {}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1717365/+subscriptions
References