Bug 1023982

Summary: Horizon Keypair download URL doesn't work
Product: Red Hat OpenStack Reporter: Nir Magnezi <nmagnezi>
Component: python-django-horizonAssignee: RHOS Maint <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: Ami Jeain <ajeain>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.0CC: aortega, hateya, jpichon, mrunge, yeylon
Target Milestone: ---   
Target Release: 4.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-29 07:24:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Nir Magnezi 2013-10-28 13:55:43 UTC
Description of problem:
=======================
When a user create a new Keypair, Horizon automatically redirects him to 'Download Keypair'
Despite the fact that the download starts automatically - and works, Clicking 'Download keypair "<Keypair name>"' Will fail with an error.

Version-Release number of selected component (if applicable):
=============================================================
Grizzly 2013-10-24.5
python-django-horizon-2013.1.4-1.el6ost.noarch

How reproducible:
=================
Always

Steps to Reproduce:
===================
1. Browse to: Project --> Access & Security --> Keypairs
2. Click Create Keypair and enter any name.
3. Keypair download should start automatically - it doesn't matter if you'll download it or not.
4. Click 'Download keypair "<Keypair name>"'.

Actual results:
===============
1. The ERROR:
Error: Unable to create keypair: Key pair '<Keypair name>' already exists. (HTTP 409) (Request-ID: req-6a82b529-d8c2-4baf-ad94-0fd87ab1c9b6)

Expected results:
=================
Keypair .pem file should be downloaded to the user's computer.

Comment 2 Matthias Runge 2013-10-29 07:24:56 UTC

*** This bug has been marked as a duplicate of bug 958041 ***