yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08425
[Bug 1270984] [NEW] Horizon throws a generic error when failing to import a public key
Public bug reported:
When a user attempts to import a keypair into Horizon, and the import
fails, they are faced with a generic error message: "unable to import
keypair".
This does not help the user in identifying what they may have done wrong
(invalid name, invalid, maybe they even mistakenly pasted a private key
in there).
Additionally, this doesn't help the user identify whether they made the
mistake (this would be a Bad Request), or whether there's an issue with
nova that their administrator should be looking at.
Since the import is done through novaclient, we can get use the error
message from Nova when faced with a Bad Request, and fall back to the
generic error message in case we received another error.
Here is a proposed fix: https://review.openstack.org/#/c/67334/
** Affects: horizon
Importance: Undecided
Status: New
** Description changed:
When a user attempts to import a keypair into Horizon, and the import
fails, they are faced with a generic error message: "unable to import
keypair".
This does not help the user in identifying what they may have done wrong
(invalid name, invalid, maybe they even mistakenly pasted a private key
in there).
Additionally, this doesn't help the user identify whether they made the
mistake (this would be a Bad Request), or whether there's an issue with
nova that their administrator should be looking at.
-
- Since the import is done through novaclient, we can get use the error message from Nova when faced witha Bad Requesst, and fall back to the generic error message in case we received another error.
+ Since the import is done through novaclient, we can get use the error
+ message from Nova when faced with a Bad Request, and fall back to the
+ generic error message in case we received another error.
Here is a proposed fix: https://review.openstack.org/#/c/67334/
--
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/1270984
Title:
Horizon throws a generic error when failing to import a public key
Status in OpenStack Dashboard (Horizon):
New
Bug description:
When a user attempts to import a keypair into Horizon, and the import
fails, they are faced with a generic error message: "unable to import
keypair".
This does not help the user in identifying what they may have done
wrong (invalid name, invalid, maybe they even mistakenly pasted a
private key in there).
Additionally, this doesn't help the user identify whether they made
the mistake (this would be a Bad Request), or whether there's an issue
with nova that their administrator should be looking at.
Since the import is done through novaclient, we can get use the error
message from Nova when faced with a Bad Request, and fall back to the
generic error message in case we received another error.
Here is a proposed fix: https://review.openstack.org/#/c/67334/
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1270984/+subscriptions
Follow ups
References