Migration fails with "NotImplementedError: Cannot load 'pcpuset' in the base class" when a pre Victoria instance with cpu pinning is migrated in Victoria
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Balazs Gibizer | ||
Victoria |
In Progress
|
Medium
|
Balazs Gibizer | ||
Wallaby |
Fix Released
|
Medium
|
Balazs Gibizer | ||
Xena |
Fix Released
|
Medium
|
Balazs Gibizer |
Bug Description
When the cpuset -> pcpuset data migration was added to InstanceNUMATop
To reproduce:
* Install a pre Victoria cloud
* Create an instance with cpu pinning
* Upgrade to Victoria or newer
* Try to migrate / evacuate the instance
You will see the following stack trace in the nova-scheduler log
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
2021-11-30 17:36:38.963 48 ERROR oslo_messaging.
summary: |
- NotImplementedError: Cannot load 'pcpuset' in the base class if a pre - Victoria instance with cpu pinning is migrated in Victoria + Migration fails with "NotImplementedError: Cannot load 'pcpuset' in the + base class" when a pre Victoria instance with cpu pinning is migrated in + Victoria |
tags: | added: upgrade |
Changed in nova: | |
assignee: | nobody → Balazs Gibizer (balazs-gibizer) |
importance: | Undecided → Medium |
tags: | added: numa scheduler |
Fix proposed to branch: master /review. opendev. org/c/openstack /nova/+ /820121
Review: https:/