yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #84086
[Bug 1898554] [NEW] Legacy 'InstanceNUMACell' with 'mixed' policy results in 'TypeError'
Public bug reported:
We added support for the 'mixed' CPU policy in Victoria. This required
changes to the 'cpu_policy' field of the 'InstanceNUMACell' object. As
part of that change, we had to check that the consumer of the o.vo
supported the 'mixed' policy and, if not, raise an 'ObjectActionError'.
Unfortunately we're attempting to use a tuple as a string in the string
formatting for that exception's error message. As a result, if you
attempt to actually raise it, you see the following:
TypeError: not all arguments converted during string formatting
** Affects: nova
Importance: Low
Assignee: Stephen Finucane (stephenfinucane)
Status: Confirmed
** Tags: libvirt numa
** Changed in: nova
Status: New => Confirmed
** Changed in: nova
Importance: Undecided => Low
** Changed in: nova
Assignee: (unassigned) => Stephen Finucane (stephenfinucane)
** Tags added: libvirt numa
--
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/1898554
Title:
Legacy 'InstanceNUMACell' with 'mixed' policy results in 'TypeError'
Status in OpenStack Compute (nova):
Confirmed
Bug description:
We added support for the 'mixed' CPU policy in Victoria. This required
changes to the 'cpu_policy' field of the 'InstanceNUMACell' object. As
part of that change, we had to check that the consumer of the o.vo
supported the 'mixed' policy and, if not, raise an
'ObjectActionError'.
Unfortunately we're attempting to use a tuple as a string in the
string formatting for that exception's error message. As a result, if
you attempt to actually raise it, you see the following:
TypeError: not all arguments converted during string formatting
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1898554/+subscriptions
Follow ups