Specifying an unknown key produces a non-templated error message

Bug #885462 reported by justinsb
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Brian Waldon
Diablo
Fix Released
Undecided
Unassigned

Bug Description

When I try to start an instance with a keypair that doesn't exist, I get an error message that includes the Python templating syntax...

root@cloud:/root# euca-run-instances -k mykey -t m1.tiny ami-00000002
KeypairNotFound: Keypair %(keypair_name)s not found for user %(user_id)s

Brian Waldon (bcwaldon)
Changed in nova:
assignee: nobody → Brian Waldon (bcwaldon)
status: New → Confirmed
status: Confirmed → In Progress
importance: Undecided → Low
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/1290
Committed: http://github.com/openstack/nova/commit/028f9ba81a857d0285bf68d789eae0a65772e39f
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 028f9ba81a857d0285bf68d789eae0a65772e39f
Author: Brian Waldon <email address hidden>
Date: Thu Nov 3 09:22:35 2011 -0400

    exception.KeypairNotFound usage correction

    Fixes bug 885462

    Change-Id: I9f0df87a37395853e052b8300af777607ecbc5de

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (stable/diablo)

Reviewed: https://review.openstack.org/1670
Committed: http://github.com/openstack/nova/commit/81d956786f3d8c10569064fdc288637327098bd6
Submitter: Jenkins
Branch: stable/diablo

 tag in-stable-diablo
 done

commit 81d956786f3d8c10569064fdc288637327098bd6
Author: Brian Waldon <email address hidden>
Date: Thu Nov 3 09:22:35 2011 -0400

    exception.KeypairNotFound usage correction

    Fixes bug 885462

    (cherry picked from commit 028f9ba81a857d0285bf68d789eae0a65772e39f)

    Change-Id: I9f0df87a37395853e052b8300af777607ecbc5de

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello justinsb, or anyone else affected,

Accepted nova into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Adam Gandelman (gandelman-a) wrote :

Hi Martin-

I'm not sure why but, like Bug #861160, this bug is apparently fixed in this upload but for some reason the one-line fix is missing from the source tree, both in the orig.tar.gz as well as the debian/patches directory.

Thierry Carrez (ttx)
Changed in nova:
milestone: essex-1 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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