Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1329426 - Cloud : Adding new Key pair does not work
Cloud : Adding new Key pair does not work
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers (Show other bugs)
5.6.0
Unspecified Unspecified
high Severity high
: GA
: 5.6.0
Assigned To: Marcel Hild
Shveta
cloud
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-21 19:28 EDT by Shveta
Modified: 2016-06-29 11:52 EDT (History)
11 users (show)

See Also:
Fixed In Version: 5.6.0.5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-29 11:52:20 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)
Key pair (47.10 KB, image/png)
2016-04-21 19:28 EDT, Shveta
no flags Details
No provider (56.04 KB, image/png)
2016-05-04 13:27 EDT, Shveta
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 Shveta 2016-04-21 19:28:23 EDT
Created attachment 1149594 [details]
Key pair

Description of problem:


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


How reproducible:


Steps to Reproduce:
1. Add Ec2 provider
2. Clouds - Key pair
3. Give any name , select provider. Click on Add . Nothing happens

Actual results:


Expected results:


Additional info:
Build : 5.6.0.1-beta2.20160413141124_e25ac0e 

===================
Logs 
=====================
[----] I, [2016-04-21T19:27:08.821038 #3390:de96f8]  INFO -- : Completed 500 Internal Server Error in 749ms (ActiveRecord: 0.0ms)
[----] F, [2016-04-21T19:27:08.822293 #3390:de96f8] FATAL -- :   
[----] F, [2016-04-21T19:27:08.822377 #3390:de96f8] FATAL -- : NotImplementedError (raw_create_key_pair must be implemented in a subclass):
[----] F, [2016-04-21T19:27:08.822444 #3390:de96f8] FATAL -- :   
[----] F, [2016-04-21T19:27:08.822504 #3390:de96f8] FATAL -- : app/models/manageiq/providers/cloud_manager/auth_key_pair/operations.rb:34:in `raw_create_key_pair'
[----] F, [2016-04-21T19:27:08.822562 #3390:de96f8] FATAL -- : app/models/manageiq/providers/cloud_manager/auth_key_pair.rb:15:in `create_key_pair'
[----] F, [2016-04-21T19:27:08.822648 #3390:de96f8] FATAL -- : app/controllers/auth_key_pair_cloud_controller.rb:126:in `create'
[----] F, [2016-04-21T19:27:08.822710 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
[----] F, [2016-04-21T19:27:08.822767 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/abstract_controller/base.rb:181:in `process_action'
[----] F, [2016-04-21T19:27:08.822823 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_controller/metal/rendering.rb:30:in `process_action'
[----] F, [2016-04-21T19:27:08.822882 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
[----] F, [2016-04-21T19:27:08.822937 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activesupport/lib/active_support/callbacks.rb:126:in `call'
[----] F, [2016-04-21T19:27:08.823008 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activesupport/lib/active_support/callbacks.rb:126:in `call'
[----] F, [2016-04-21T19:27:08.823066 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activesupport/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
[----] F, [2016-04-21T19:27:08.823123 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activesupport/lib/active_support/callbacks.rb:455:in `call'
[----] F, [2016-04-21T19:27:08.823183 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activesupport/lib/active_support/callbacks.rb:455:in `call'
[----] F, [2016-04-21T19:27:08.823732 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activesupport/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
[----] F, [2016-04-21T19:27:08.823815 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activesupport/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
[----] F, [2016-04-21T19:27:08.823876 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activesupport/lib/active_support/callbacks.rb:90:in `run_callbacks'
[----] F, [2016-04-21T19:27:08.823937 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/abstract_controller/callbacks.rb:19:in `process_action'
[----] F, [2016-04-21T19:27:08.824008 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_controller/metal/rescue.rb:31:in `process_action'
[----] F, [2016-04-21T19:27:08.824068 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
[----] F, [2016-04-21T19:27:08.824127 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activesupport/lib/active_support/notifications.rb:164:in `block in instrument'
[----] F, [2016-04-21T19:27:08.824185 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
[----] F, [2016-04-21T19:27:08.824242 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activesupport/lib/active_support/notifications.rb:164:in `instrument'
[----] F, [2016-04-21T19:27:08.824302 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
[----] F, [2016-04-21T19:27:08.824360 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
[----] F, [2016-04-21T19:27:08.824418 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activerecord/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
[----] F, [2016-04-21T19:27:08.824478 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/abstract_controller/base.rb:126:in `process'
[----] F, [2016-04-21T19:27:08.824535 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionview/lib/action_view/rendering.rb:30:in `process'
[----] F, [2016-04-21T19:27:08.824595 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_controller/metal.rb:190:in `dispatch'
[----] F, [2016-04-21T19:27:08.824683 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_controller/metal.rb:262:in `dispatch'
[----] F, [2016-04-21T19:27:08.824743 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
[----] F, [2016-04-21T19:27:08.824802 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_dispatch/routing/route_set.rb:32:in `serve'
[----] F, [2016-04-21T19:27:08.824858 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_dispatch/journey/router.rb:39:in `block in serve'
[----] F, [2016-04-21T19:27:08.824917 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_dispatch/journey/router.rb:26:in `each'
[----] F, [2016-04-21T19:27:08.824974 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_dispatch/journey/router.rb:26:in `serve'
[----] F, [2016-04-21T19:27:08.825049 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_dispatch/routing/route_set.rb:739:in `call'
[----] F, [2016-04-21T19:27:08.825108 #3390:de96f8] FATAL -- : omniauth (1.3.1) lib/omniauth/strategy.rb:186:in `call!'
[----] F, [2016-04-21T19:27:08.825167 #3390:de96f8] FATAL -- : omniauth (1.3.1) lib/omniauth/strategy.rb:164:in `call'
[----] F, [2016-04-21T19:27:08.825234 #3390:de96f8] FATAL -- : omniauth (1.3.1) lib/omniauth/builder.rb:63:in `call'
[----] F, [2016-04-21T19:27:08.825293 #3390:de96f8] FATAL -- : secure_headers (3.0.3) lib/secure_headers/middleware.rb:10:in `call'
[----] F, [2016-04-21T19:27:08.825352 #3390:de96f8] FATAL -- : rack (2.0.0.alpha) lib/rack/etag.rb:25:in `call'
[----] F, [2016-04-21T19:27:08.825407 #3390:de96f8] FATAL -- : rack (2.0.0.alpha) lib/rack/conditional_get.rb:38:in `call'
[----] F, [2016-04-21T19:27:08.825464 #3390:de96f8] FATAL -- : rack (2.0.0.alpha) lib/rack/head.rb:12:in `call'
[----] F, [2016-04-21T19:27:08.826170 #3390:de96f8] FATAL -- : rack (2.0.0.alpha) lib/rack/session/abstract/id.rb:220:in `context'
[----] F, [2016-04-21T19:27:08.826236 #3390:de96f8] FATAL -- : rack (2.0.0.alpha) lib/rack/session/abstract/id.rb:214:in `call'
[----] F, [2016-04-21T19:27:08.826294 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_dispatch/middleware/cookies.rb:613:in `call'
[----] F, [2016-04-21T19:27:08.826350 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
[----] F, [2016-04-21T19:27:08.826406 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activesupport/lib/active_support/callbacks.rb:97:in `__run_callbacks__'
[----] F, [2016-04-21T19:27:08.826464 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activesupport/lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
[----] F, [2016-04-21T19:27:08.826518 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activesupport/lib/active_support/callbacks.rb:90:in `run_callbacks'
[----] F, [2016-04-21T19:27:08.826572 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_dispatch/middleware/callbacks.rb:36:in `call'
[----] F, [2016-04-21T19:27:08.826654 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
[----] F, [2016-04-21T19:27:08.826712 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
[----] F, [2016-04-21T19:27:08.826766 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
[----] F, [2016-04-21T19:27:08.826822 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/railties/lib/rails/rack/logger.rb:36:in `call_app'
[----] F, [2016-04-21T19:27:08.826881 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/railties/lib/rails/rack/logger.rb:26:in `call'
[----] F, [2016-04-21T19:27:08.826940 #3390:de96f8] FATAL -- : request_store (1.3.1) lib/request_store/middleware.rb:9:in `call'
[----] F, [2016-04-21T19:27:08.827013 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_dispatch/middleware/request_id.rb:24:in `call'
[----] F, [2016-04-21T19:27:08.827069 #3390:de96f8] FATAL -- : rack (2.0.0.alpha) lib/rack/method_override.rb:22:in `call'
[----] F, [2016-04-21T19:27:08.827124 #3390:de96f8] FATAL -- : rack (2.0.0.alpha) lib/rack/runtime.rb:22:in `call'
[----] F, [2016-04-21T19:27:08.827180 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/activesupport/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
[----] F, [2016-04-21T19:27:08.827237 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/actionpack/lib/action_dispatch/middleware/executor.rb:12:in `call'
[----] F, [2016-04-21T19:27:08.827295 #3390:de96f8] FATAL -- : rack (2.0.0.alpha) lib/rack/sendfile.rb:111:in `call'
[----] F, [2016-04-21T19:27:08.827350 #3390:de96f8] FATAL -- : /opt/rh/cfme-gemset/bundler/gems/rails-efaa6e4f79d4/railties/lib/rails/engine.rb:522:in `call'
[----] F, [2016-04-21T19:27:08.827417 #3390:de96f8] FATAL -- : puma (3.3.0) lib/puma/configuration.rb:224:in `call'
[----] F, [2016-04-21T19:27:08.827473 #3390:de96f8] FATAL -- : puma (3.3.0) lib/puma/server.rb:561:in `handle_request'
[----] F, [2016-04-21T19:27:08.827524 #3390:de96f8] FATAL -- : puma (3.3.0) lib/puma/server.rb:406:in `process_client'
[----] F, [2016-04-21T19:27:08.827578 #3390:de96f8] FATAL -- : puma (3.3.0) lib/puma/server.rb:271:in `block in run'
[----] F, [2016-04-21T19:27:08.827682 #3390:de96f8] FATAL -- : puma (3.3.0) lib/puma/thread_pool.rb:111:in `call'
[----] F, [2016-04-21T19:27:08.827741 #3390:de96f8] FATAL -- : puma (3.3.0) lib/puma/thread_pool.rb:111:in `block in spawn_thread'
^C
[root@host-192-168-55-227 ~]#
Comment 2 Greg Blomquist 2016-04-24 23:04:28 EDT
Marcel, looks like there should be a `validate_unsupported` somewhere to deal with this action for now.

Or, it needs to be implemented :)
Comment 3 Marcel Hild 2016-04-27 07:32:27 EDT
working on it: https://github.com/ManageIQ/manageiq/pull/8249
Comment 4 Shveta 2016-05-04 13:27 EDT
Created attachment 1153958 [details]
No provider

Provider is not displayed in drop down
Checked in 5.6.0.5-beta2.4.20160503153816_1fb554f
Comment 5 Marcel Hild 2016-05-09 09:48:00 EDT
@shveta The reason for this is, that we only show providers that support adding key pairs. As of now this is only openstack.
I totally agree that this is a suboptimal usability case. IMHO we should at least inform the user that no configured provider supports it or dont display the key pair menu at all.

But this adds another level of complexity. Do you mind adding a RFE for this? And would you consider this BZ as resolved as is?
Comment 7 errata-xmlrpc 2016-06-29 11:52:20 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.