yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #96422
[Bug 2123840] [NEW] Incorrect string format specifier in exception msg format
Public bug reported:
There is a typo in string format specifier in PlacementReshapeConflict
exception's msg_fmt in nova/exception.py [1], where instead of using
%(error)s, we have $(error)s which is incorrect.
Currently it doesn't cause any issue and the actual error msg doesn't
get included in the logs correctly and instead it logs $(error)s.
Filing this bug for this trivial issue, so that we could backport it for debuggability.
[1]
https://opendev.org/openstack/nova/src/commit/87bf7700b8e2adecdd854cd1607317048b6d86da/nova/exception.py#L2248
** Affects: nova
Importance: Undecided
Assignee: Rajesh Tailor (ratailor)
Status: Triaged
** Changed in: nova
Assignee: (unassigned) => Rajesh Tailor (ratailor)
** Changed in: nova
Status: New => In Progress
** Changed in: nova
Status: In Progress => Triaged
--
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/2123840
Title:
Incorrect string format specifier in exception msg format
Status in OpenStack Compute (nova):
Triaged
Bug description:
There is a typo in string format specifier in PlacementReshapeConflict
exception's msg_fmt in nova/exception.py [1], where instead of using
%(error)s, we have $(error)s which is incorrect.
Currently it doesn't cause any issue and the actual error msg doesn't
get included in the logs correctly and instead it logs $(error)s.
Filing this bug for this trivial issue, so that we could backport it for debuggability.
[1]
https://opendev.org/openstack/nova/src/commit/87bf7700b8e2adecdd854cd1607317048b6d86da/nova/exception.py#L2248
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2123840/+subscriptions