← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1288583] Re: Space is not allowed while creating Key Pairs

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => juno-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1288583

Title:
  Space is not allowed while creating Key Pairs

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Space is not allowed while creating Key Pairs

  
  If you enter the space in the "Key Pair Name" while creating new key pairs following error is displayed in a popup message.
  "Key pair names may only contain letters, numbers, underscores and hyphens."

  Steps to reproduce:
  -------------------
  1. Login to Horizon dashboard
  2. On Project tab click on Access & Security Group
  3. Click on "Key Pairs" tab and click on "Create Key Pair" button
  4. Enter space in "Key Pair Name" e.g. "Sample Key Pair"
  5. Click on "Create Key Pair" button
  6. "Key pair names may only contain letters, numbers, underscores and hyphens." error message will be displayed.

  Note:
  -----
  If you create the key pair using nova-client then it will create the key pair with space in name.

  nova keypair-add "Sample Key Pair"

  nova keypair-show "Sample Key Pair"
  +-------------+-------------------------------------------------+
  | Property    | Value                                           |
  +-------------+-------------------------------------------------+
  | created_at  | 2014-03-06T06:56:41.000000                      |
  | deleted     | False                                           |
  | deleted_at  | -                                               |
  | fingerprint | 03:e7:67:f4:f0:20:87:31:20:ad:31:0d:05:73:04:c2 |
  | id          | 1                                               |
  | name        | Sample Key Pair                                 |
  | updated_at  | -                                               |
  | user_id     | 98bbc9ecd6eb4c6cab2d08d7f560d0f1                |
  +-------------+-------------------------------------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1288583/+subscriptions


References