** Also affects: oslo.versionedobjects Importance: Undecided Status: New
** Changed in: oslo.versionedobjects Assignee: (unassigned) => Hiroyuki Eguchi (h-eguchi) ** No longer affects: nova -- 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/1615922 Title: pci device object doesn't set correctly during rolling upgrade Status in oslo.versionedobjects: New Bug description: I'm evaluating a rolling upgrade from liberty to mitaka in sr-iov environment. The following error occurred in resource_tracker in case controller node is mitaka and compute node is liberty. Error updating resources for node compute0: Cannot load 'parent_addr' in the base classTraceback (most recent call last): File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 85, in _object_dispatch return getattr(target, method)(*args, **kwargs) File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 223, in wrapper return fn(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/objects/pci_device.py", line 251, in save updates = self.obj_get_changes() File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 604, in obj_get_changes changes[key] = getattr(self, key) File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 67, in getter self.obj_load_attr(name) File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 580, in obj_load_attr _("Cannot load '%s' in the base class") % attrname) NotImplementedError: Cannot load 'parent_addr' in the base class The cause of error is that a parent_addr parameter which has been added newly since mitaka is not set correctly. We should consider the a pci device object that nova-conductor receives from nova-compute does not have a parent_addr attribute. To manage notifications about this bug go to: https://bugs.launchpad.net/oslo.versionedobjects/+bug/1615922/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp