Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1328767 - [Negative] Adding new OpenStack key pair throws un-comprehensive error message
[Negative] Adding new OpenStack key pair throws un-comprehensive error message
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers (Show other bugs)
5.6.0
Unspecified Unspecified
high Severity medium
: GA
: 5.6.0
Assigned To: Marek Aufart
Ola Pavlenko
openstack:provider
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-20 05:10 EDT by Ronnie Rasouli
Modified: 2017-08-29 23:49 EDT (History)
6 users (show)

See Also:
Fixed In Version: 5.6.0.6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-29 11:51:26 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Error message after adding bad key (57.16 KB, image/png)
2016-04-20 05:10 EDT, Ronnie Rasouli
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Ronnie Rasouli 2016-04-20 05:10:12 EDT
Created attachment 1148936 [details]
Error message after adding bad key

Description of problem:

We should be able to inform the user that the ssh key format is wrong.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.login the CFME
2. go to clouds key pairs 
3. add new key pair with wrong values 
4. Click add

Actual results:

Error message that does not indicate the root cause

Expected results:

Nice user experience message

Additional info:
Comment 4 CFME Bot 2016-05-03 03:15:38 EDT
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/386d3c55ef23cb3775b2bd0b256fc5f98a9bbe7e

commit 386d3c55ef23cb3775b2bd0b256fc5f98a9bbe7e
Author:     Marek Aufart <maufart@redhat.com>
AuthorDate: Fri Apr 29 16:10:38 2016 +0200
Commit:     Marek Aufart <maufart@redhat.com>
CommitDate: Mon May 2 18:18:19 2016 +0200

    Fix openstack keypair throws un-comprehensive error message
    
    Openstack keypair throws long and complicated error message when
    public key has an invalid format.
    
    Error message was shortened, so it should be more descriptive now.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1328767

 app/controllers/auth_key_pair_cloud_controller.rb       |  9 +++++++--
 spec/controllers/auth_key_pair_cloud_controller_spec.rb | 14 ++++++++++++++
 2 files changed, 21 insertions(+), 2 deletions(-)
Comment 7 errata-xmlrpc 2016-06-29 11:51:26 EDT
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.

https://access.redhat.com/errata/RHBA-2016:1348

Note You need to log in before you can comment on or make changes to this bug.