Hide Forgot
Description of problem: Once logged into horizon, if I go in the keypairs tab: https://os1-public.osop.rhcloud.com/dashboard/project/access_and_security/?tab=access_security_tabs__keypairs_tab and try to upload a key naming it with a string containing "@" or other unusual signs, I got a generic error message. If I try to generate a new keypair instead I got an explicit error message stating "Keypair names may only contain letters, numbers, underscores and hyphens." Version-Release number of selected component (if applicable): Not able to provide it, since I experienced in the openstack instance hosted here: https://os1-public.osop.rhcloud.com How reproducible: Always Steps to Reproduce: see below Actual results: Generic error message trying to label a imported key with string containing @ Expected results: An explicit message as when I try to choose a label of that kind in the create keypair.
the patch was merged for icehouse-2, the backport for Havana is here: https://review.openstack.org/#/c/65059/
This will be included in the 2013.2.2 rebase.
This is how to test: before this update, when trying to add a keypair with an '@' sign in the name, one would get a generic error, with this update, the message is more specific like '... may only contain letters and numbers'.
verified while trying to add invalid characters into the keypair name... # rpm -qa |grep horizon python-django-horizon-2013.2.2-1.el6ost.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0213.html