PCI Device object improperly ignores missing db_object fields
Bug #1221360 reported by
Dan Smith
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Dan Smith |
Bug Description
In PCIDevice.
pci_device[key] = db_dev.get(key)
This makes the method ignore missing database object keys, which prevents the strict typechecking from doing it's job, and differs from every other object model currently in the tree. As a result, non-nullable attributes such as dev_type are string-converted to "None" in the object, which is definitely not the intent.
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-rc1 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/45297
Review: https:/