yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #32257
[Bug 1445040] Re: InstancePCIRequests.obj_from_db fails to get requests from db
** Changed in: nova/kilo
Status: Fix Committed => Fix Released
--
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/1445040
Title:
InstancePCIRequests.obj_from_db fails to get requests from db
Status in OpenStack Compute (Nova):
Fix Committed
Status in OpenStack Compute (nova) kilo series:
Fix Released
Bug description:
InstancePCIRequests.obj_from_db assumes db_requests is a dict of
whole row values from instance_extra table
https://github.com/openstack/nova/blob/d1fb8d0fbdd6cb95c43b02f754409f1c728e8cd0/nova/objects/instance_pci_requests.py#L83
but when called from Instance._from_db_object
https://github.com/openstack/nova/blob/d1fb8d0fbdd6cb95c43b02f754409f1c728e8cd0/nova/objects/instance.py#L507
It gets only the value of pci_requests column .
As a result when loading instance from DB pci_requests won't be
populated with the values from db.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1445040/+subscriptions
References