Booting instance with pci_device fails during rocky->stein live upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Dan Smith | ||
Stein |
Fix Released
|
Undecided
|
Unassigned | ||
Train |
Fix Released
|
Undecided
|
Unassigned | ||
Ussuri |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Environment:
Stein nova-conductor having set upgrade_levels to rocky
Rocky nova-compute
Boot an instance with a flavour that has a pci_device
Error:
Failed to publish message to topic 'nova': maximum recursion depth exceeded: RuntimeError: maximum recursion depth exceeded
Tracked this down it it continually trying to backport the InstancePCIRequ
It gets as arguments:
objinst=
object_
It fails because it doesn't backport the individual InstancePCIRequest inside the InstancePCIRequests object and so keeps trying.
Error it shows is: IncompatibleObj
I have fixed this in our setup by altering obj_make_compatible to downgrade the individual requests to version 1.2 which seems to work and all is good
Changed in nova: | |
importance: | Undecided → High |
tags: | added: upgrade |
tags: | added: pci |
Changed in nova: | |
status: | New → Confirmed |
assignee: | nobody → Stephen Finucane (stephenfinucane) |
For reference this is the hotfix we've deployed in production
https:/ /github. com/NeCTAR- RC/nova/ commit/ cbb2921375df6cf c33273ab84c29b8 b309885c04