Failed to update object doesn't have attribute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.versionedobjects |
In Progress
|
Undecided
|
Hiroyuki Eguchi |
Bug Description
I'm evaluating a rolling upgrade of nova 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/
return getattr(target, method)(*args, **kwargs)
File "/usr/lib/
return fn(self, *args, **kwargs)
File "/usr/lib/
updates = self.obj_
File "/usr/lib/
changes[key] = getattr(self, key)
File "/usr/lib/
self.
File "/usr/lib/
_("Cannot load '%s' in the base class") % attrname)
NotImplementedE
The cause of error is that a parent_addr parameter which has been added newly since mitaka is not set correctly.
We should consider a old version object doesn't have a new attribute when updating.
Changed in nova: | |
assignee: | nobody → Hiroyuki Eguchi (h-eguchi) |
description: | updated |
Changed in oslo.versionedobjects: | |
assignee: | nobody → Hiroyuki Eguchi (h-eguchi) |
no longer affects: | nova |
summary: |
- pci device object doesn't set correctly during rolling upgrade + Failed to update object doesn't have attribute |
description: | updated |
Fix proposed to branch: master /review. openstack. org/358964
Review: https:/