yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58647
[Bug 1641413] [NEW] Unnecessary db traffic when constructing instance object from db info
Public bug reported:
During construction of an instance object from db info, a call to
_from_db_object() is made. In many situations this results in one or
more unnecessary db calls due to the way instance extras are handled.
This occurs when the following two conditions apply; (1) the
'expected_attrs' parameter contains one of the affected instance_extras
fields (see below) and (2) the corresponding value in the provided
db_instance data either does not exist or else contains None.
The affected instance extras fields are:
- numa_topology
- pci_requests
- device_metadata
- vcpu_model
** Affects: nova
Importance: Medium
Assignee: Hans Lindgren (hanlind)
Status: New
** Tags: unified-objects
--
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/1641413
Title:
Unnecessary db traffic when constructing instance object from db info
Status in OpenStack Compute (nova):
New
Bug description:
During construction of an instance object from db info, a call to
_from_db_object() is made. In many situations this results in one or
more unnecessary db calls due to the way instance extras are handled.
This occurs when the following two conditions apply; (1) the
'expected_attrs' parameter contains one of the affected
instance_extras fields (see below) and (2) the corresponding value in
the provided db_instance data either does not exist or else contains
None.
The affected instance extras fields are:
- numa_topology
- pci_requests
- device_metadata
- vcpu_model
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1641413/+subscriptions
Follow ups