Wrong string format in exception FlavorExtraSpecUpdateCreateFailed

Bug #1528250 reported by Pavel Kholkin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Sean Dague

Bug Description

class FlavorExtraSpecUpdateCreateFailed(NovaException):
    msg_fmt = _("Flavor %(id)d extra spec cannot be updated or created "
                "after %(retries)d retries.")

'id' here means 'flavorid' which is String (not Integer).

Changed in nova:
assignee: Pavel Kholkin (pkholkin) → Sean Dague (sdague)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/244029
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=c85cd57c5c156b479db75c9f14fd916f7b64298e
Submitter: Jenkins
Branch: master

commit c85cd57c5c156b479db75c9f14fd916f7b64298e
Author: Pavel Kholkin <email address hidden>
Date: Wed Nov 11 12:56:44 2015 +0300

    enginefacade: 'flavor'

    Use enginefacade in 'flavor' section.

    Implements: blueprint new-oslodb-enginefacade

    Co-Authored-By: Sergey Nikitin <email address hidden>

    Closes-Bug: #1528250

    Change-Id: I2f57bb46d087948792e749905a0c060d009fbcf8

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/nova 13.0.0.0b3

This issue was fixed in the openstack/nova 13.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/303558

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/liberty)

Reviewed: https://review.openstack.org/303558
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=ee7d455c93dbb2e80bf540585fa72b2016eb32ca
Submitter: Jenkins
Branch: stable/liberty

commit ee7d455c93dbb2e80bf540585fa72b2016eb32ca
Author: Diana Clarke <email address hidden>
Date: Fri Apr 8 13:56:39 2016 -0400

    Fix incorrect format string

    The 'id' in the FlavorExtraSpecUpdateCreateFailed message is actually
    for the flavorid (not Flavor.id) which can be a string. This was
    originally fixed in the following commit, but unfortunately the fix was
    coupled with EngineFacade changes, so it's not a simple backport. This
    patch just splits out the format string bug fix, so it can be
    backported.

        enginefacade: 'flavor' - Use enginefacade in 'flavor' section.
        https://github.com/openstack/nova/commit/c85cd57c5c156b479db75c9f14fd916f7b64298e

    Closes-Bug: #1528250
    Change-Id: I2f57bb46d087948792e749905a0c060d009fbcf8
    (cherry picked from commit c85cd57c5c156b479db75c9f14fd916f7b64298e)

tags: added: in-stable-liberty
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/nova 12.0.3

This issue was fixed in the openstack/nova 12.0.3 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.