hi, David could you paste the new trace to the bug ? (note it with the patch) that's close to the fix i think.
diff --git a/nova/objects/pci_device.py b/nova/objects/pci_device.py index a83b8f3..d0a628a 100644 --- a/nova/objects/pci_device.py +++ b/nova/objects/pci_device.py @@ -145,7 +145,7 @@ class PciDevice(base.NovaPersistentObject, base.NovaObject): if key != 'extra_info': pci_device[key] = db_dev[key] else: - extra_info = db_dev.get("extra_info") + extra_info = db_dev.get("extra_info", '{}') pci_device.extra_info = jsonutils.loads(extra_info) pci_device._context = context pci_device.obj_reset_changes()
-- Russell Bryant
hi, David
could you paste the new trace to the bug ? (note it with the patch) that's close to the fix i think.
diff --git a/nova/ objects/ pci_device. py b/nova/ objects/ pci_device. py objects/ pci_device. py objects/ pci_device. py base.NovaPersis tentObject,
pci_ device[ key] = db_dev[key] get("extra_ info") get("extra_ info", '{}')
pci_ device. extra_info = jsonutils. loads(extra_ info)
pci_device. _context = context
pci_device. obj_reset_ changes( )
index a83b8f3..d0a628a 100644
--- a/nova/
+++ b/nova/
@@ -145,7 +145,7 @@ class PciDevice(
base.NovaObject):
if key != 'extra_info':
else:
- extra_info = db_dev.
+ extra_info = db_dev.
--
Russell Bryant