Security Key Pair creation is not allowed with "underscore" character from the Launch Instance menu on Horizon.

Bug #1775030 reported by David Hill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
David Hill

Bug Description

Using Horizon to instantiate VM:
Instances -> Launch Instance -> Key Pair -> Create Key Pair
Trying to create Key Pair name with underscore character, getting "name contains bad characters" error - see attached screenshot.
If you are trying to create Security Key Pair prior to VM instantiation using Access & Security -> Create Key Pair, "underscore" character is accepted.
"Underscore" character shall be accepted in Security Key Pair name also in Instances -> Launch Instance -> Key Pair -> Create Key Pair menu.

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/572141

Changed in horizon:
assignee: nobody → David Hill (david-hill-ubisoft)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/572141
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=edb1aabc87f948dd4c9541dc1af7cc9d96a44694
Submitter: Zuul
Branch: master

commit edb1aabc87f948dd4c9541dc1af7cc9d96a44694
Author: Dave Hill <email address hidden>
Date: Mon Jun 4 11:31:00 2018 -0400

    Allow keypairs to contain a underscore

    When manually creating keypairs, underscore are allowed but
    when creating keypairs while instanciating an instance, it's
    not allowed. This patch solves this.

    Change-Id: I0ad19bd1239b7c9ac18888d84e123e478cf40508
    closes-bug: #1775030

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 14.0.0.0b3

This issue was fixed in the openstack/horizon 14.0.0.0b3 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.