Keypair name lost after launch

Bug #1043584 reported by Ken Pepple
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Vish Ishaya
OpenStack Dashboard (Horizon)
Fix Released
Low
Gabriel Hurley

Bug Description

After launching an instance via Horizon, Horizon correctly shows the keypair that you used to launch the instance. However, after it has finished launching and you navigate away from the instances screen and then back to it, the "Keypair" field is set to "Not available".

I am unsure if this is a security "feature" or a bug. If it is as designed, the text should be changed to something more descriptive such as "set" or otherwise obscured to let the user know that there was a keypair set for the instance at launch.

I run into this error repeatedly with Devstack (single server) on trunk (#b177299).

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

This is an inconsistency in the Nova API. Under some calls there is a "key_name" attribute returned with the server data, under others there is not...

Changed in horizon:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Vish Ishaya (vishvananda) wrote :

key_name is added to show and detail. It is not added to the list view. If Horizon wants to show data about the keypair it just needs to be converted to use GET /server/detail instead of GET /server

Changed in nova:
status: New → Won't Fix
Revision history for this message
Vish Ishaya (vishvananda) wrote :

I was incorrect. There is a bug preventing key_name from appearing in detail

Changed in nova:
status: Won't Fix → In Progress
importance: Undecided → High
assignee: nobody → Vish Ishaya (vishvananda)
milestone: none → folsom-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/12895

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

Reviewed: https://review.openstack.org/12895
Committed: http://github.com/openstack/nova/commit/e06d8bc8cd2b9cc98b0105d036479cb3773b30ac
Submitter: Jenkins
Branch: master

commit e06d8bc8cd2b9cc98b0105d036479cb3773b30ac
Author: Vishvananda Ishaya <email address hidden>
Date: Wed Sep 12 10:37:29 2012 -0700

    Makes key_name show in details view of servers

    The wrong authorizor was being used in the details view and the test
    for details was broken. This fixes the test and makes sure that
    key_name shows up in details like it is supposed to.

    Fixes bug 1043584

    Change-Id: I4ff01bbd32759f30e7a31ef2eac9f58922843037

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-rc1 → 2012.2
Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

Needs verification in Horizon

Changed in horizon:
milestone: none → grizzly-1
assignee: nobody → Gabriel Hurley (gabriel-hurley)
status: Triaged → Confirmed
importance: Wishlist → Low
Changed in horizon:
status: Confirmed → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: grizzly-1 → 2013.1
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.