OpenStack Compute (Nova)

Specifying an unknown key produces a non-templated error message

Reported by justinsb on 2011-11-02
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Low
Brian Waldon
Diablo
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) on 2011-11-03
Changed in nova:
assignee: nobody → Brian Waldon (bcwaldon)
status: New → Confirmed
status: Confirmed → In Progress
importance: Undecided → Low

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) on 2011-11-09
Changed in nova:
milestone: none → essex-1
Thierry Carrez (ttx) on 2011-11-17
Changed in nova:
status: Fix Committed → Fix Released

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

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
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) on 2012-04-05
Changed in nova:
milestone: essex-1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers