Link "Download key pair" regenerates keypair

Bug #1576586 reported by Dmitry Dmitriev
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
zhangguoqing

Bug Description

To reproduce the problem pass the following steps:

- login into Horizon
- click Project
- click Compute
- click Access & Security
- click Key Pairs
- click Create Key Pair
- enter key pair name
- click Generate (in Safari download starts automatically)
- click Download key pair

Expected result:

- Downloads folder contains two copy of the same private key

Actual result:

- Downloads folder contains two different private keys

Workaround:

- generate public key for each of private keys and determine which one is valid

Impact:

- user can not get SSH access to new compute nodes

Description of the environment:

- Liberty OpenStack

Ways to solve:

- rename link "Download key pair" to "Re-generate key pair".

Timur Sufiev (tsufiev-x)
Changed in horizon:
importance: Undecided → Critical
importance: Critical → Low
assignee: nobody → Timur Sufiev (tsufiev-x)
status: New → Confirmed
Timur Sufiev (tsufiev-x)
Changed in horizon:
assignee: Timur Sufiev (tsufiev-x) → nobody
tags: added: low-hanging-fruit
Revision history for this message
Matthias Runge (mrunge) wrote :

I thought, key pairs are not stored, thus have to be re-generated. IIRC, that's not a bug, but expected behavior.

Revision history for this message
Dmitry Dmitriev (dmdmitriev) wrote : Re: [Bug 1576586] Re: Link "Download key pair" regenerates keypair

Hello Matthias,

I completely agree with you. I just want to rename link from "Download key pair" (which assumes getting the same key pair) to "Re-generate key pair" (which assumes getting a new key pair).

With best regards, Dmitry

> On 29 Apr 2016, at 9:55 PM, Matthias Runge <email address hidden> wrote:
>
> I thought, key pairs are not stored, thus have to be re-generated. IIRC,
> that's not a bug, but expected behavior.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1576586
>
> Title:
> Link "Download key pair" regenerates keypair
>
> Status in OpenStack Dashboard (Horizon):
> Confirmed
>
> Bug description:
> To reproduce the problem pass the following steps:
>
> - login into Horizon
> - click Project
> - click Compute
> - click Access & Security
> - click Key Pairs
> - click Create Key Pair
> - enter key pair name
> - click Generate (in Safari download starts automatically)
> - click Download key pair
>
> Expected result:
>
> - Downloads folder contains two copy of the same private key
>
> Actual result:
>
> - Downloads folder contains two different private keys
>
> Workaround:
>
> - generate public key for each of private keys and determine which one is valid
>
> Impact:
>
> - user can not get SSH access to new compute nodes
>
> Description of the environment:
>
> - Liberty OpenStack
>
> Ways to solve:
>
> - rename link "Download key pair" to "Re-generate key pair".
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/horizon/+bug/1576586/+subscriptions

Changed in horizon:
assignee: nobody → zhangguoqing (474751729-o)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
milestone: none → next
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/311999
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=7bc53a7e77194fa7dd278de6f3f933c191f43cf2
Submitter: Jenkins
Branch: master

commit 7bc53a7e77194fa7dd278de6f3f933c191f43cf2
Author: zhangguoqing <zhang.guoqing@99cloud.net>
Date: Tue May 3 07:36:03 2016 +0000

    rename link "Download key pair" to "Re-generate key pair"

    Change-Id: I4885abf32a0ed8fe0edcfa56191d5932f7835b00
    Closes-Bug: #1576586

Changed in horizon:
status: In Progress → Fix Released
Changed in horizon:
milestone: next → newton-1
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/horizon 10.0.0.0b1

This issue was fixed in the openstack/horizon 10.0.0.0b1 development milestone.

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.