Reviewed:  https://review.opendev.org/c/openstack/nova/+/961211
Committed: 
https://opendev.org/openstack/nova/commit/ca158f2da3c49ccea0c77ec0240ced44f0ec1d20
Submitter: "Zuul (22348)"
Branch:    master

commit ca158f2da3c49ccea0c77ec0240ced44f0ec1d20
Author: Rajesh Tailor <[email protected]>
Date:   Mon Sep 15 16:00:41 2025 +0530

    Fix string format specifier
    
    This change fixes string format specifier from $ to % for
    correct formatting.
    
    Closes-Bug: #2123840
    Signed-off-by: Rajesh Tailor <[email protected]>
    Change-Id: I04f6e1ba3eff443d40a13c6fe2d0b77a78a020e6


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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):
  Fix Released

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


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to