Bug 1467341 - [v2v] Transform VM to RHV from VMWare do not open the required dialog
Summary: [v2v] Transform VM to RHV from VMWare do not open the required dialog
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.8.2
Assignee: Martin Betak
QA Contact: Ilanit Stein
URL:
Whiteboard: rhev:v2v
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-03 12:48 UTC by Ilanit Stein
Modified: 2017-12-14 15:16 UTC (History)
9 users (show)

Fixed In Version: 5.8.1.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-14 15:16:33 UTC
Category: Bug
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
production.log (93.57 KB, application/x-gzip)
2017-07-03 12:53 UTC, Ilanit Stein
no flags Details
automation.log (1.93 MB, application/x-gzip)
2017-07-03 13:00 UTC, Ilanit Stein
no flags Details

Description Ilanit Stein 2017-07-03 12:48:05 UTC
Description of problem:


Version-Release number of selected component (if applicable):
CFME-5.8.1/RHV-4.1.3

How reproducible:
100%

Steps to Reproduce:
1. For a Down VMWare VM, go to Configuration->"Transform this VM to RHV"
2.
3.

Actual results:
No dialog window is opened.

Expected results:
The VM transform dialog should be opened. 


Additional info:
On nightly version, from June 12, master.20170701025443_976b91f, the VM Transform dialog opens properly.

Comment 2 Ilanit Stein 2017-07-03 12:53:46 UTC
Created attachment 1293885 [details]
production.log

Comment 3 Ilanit Stein 2017-07-03 13:00:32 UTC
Created attachment 1293886 [details]
automation.log

Comment 4 Ilanit Stein 2017-07-03 13:01:47 UTC
Failure from production.log:

[----] I, [2017-07-03T07:47:14.511727 #43877:117ddc8]  INFO -- :   Parameters: {"pressed"=>"vm_transform", "id"=>"377"}
[----] F, [2017-07-03T07:47:14.536441 #43877:117ddc8] FATAL -- : Error caught: [NoMethodError] undefined method `resource_actions' for nil:NilClass
/opt/rh/cfme-gemset/bundler/gems/manageiq-ui-classic-a9ea4ad7f2ef/app/controllers/vm_infra_controller.rb:82:in `vm_transform'
/opt/rh/cfme-gemset/bundler/gems/manageiq-ui-classic-a9ea4ad7f2ef/app/controllers/application_controller/explorer.rb:101:in `x_button'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/abstract_controller/base.rb:188:in `process_action'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/action_controller/metal/rendering.rb:30:in `process_action'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/opt/rh/cfme-gemset/gems/activesupport-5.0.3/lib/active_support/callbacks.rb:126:in `call'
/opt/rh/cfme-gemset/gems/activesupport-5.0.3/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
/opt/rh/cfme-gemset/gems/activesupport-5.0.3/lib/active_support/callbacks.rb:455:in `call'
/opt/rh/cfme-gemset/gems/activesupport-5.0.3/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
/opt/rh/cfme-gemset/gems/activesupport-5.0.3/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
/opt/rh/cfme-gemset/gems/activesupport-5.0.3/lib/active_support/callbacks.rb:90:in `run_callbacks'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/abstract_controller/callbacks.rb:19:in `process_action'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/action_controller/metal/rescue.rb:20:in `process_action'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
/opt/rh/cfme-gemset/gems/activesupport-5.0.3/lib/active_support/notifications.rb:164:in `block in instrument'
/opt/rh/cfme-gemset/gems/activesupport-5.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/opt/rh/cfme-gemset/gems/activesupport-5.0.3/lib/active_support/notifications.rb:164:in `instrument'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
/opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/abstract_controller/base.rb:126:in `process'
/opt/rh/cfme-gemset/gems/actionview-5.0.3/lib/action_view/rendering.rb:30:in `process'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/action_controller/metal.rb:190:in `dispatch'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/action_controller/metal.rb:262:in `dispatch'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/action_dispatch/routing/route_set.rb:32:in `serve'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/action_dispatch/journey/router.rb:39:in `block in serve'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/action_dispatch/journey/router.rb:26:in `each'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/action_dispatch/journey/router.rb:26:in `serve'
/opt/rh/cfme-gemset/gems/actionpack-5.0.3/lib/action_dispatch/routing/route_set.rb:725:in `call'
/opt/rh/cfme-gemset/gems/secure_headers-3.0.3/lib/secure_headers/middleware.rb:10:in `call'

Comment 5 Bronagh Sorota 2017-07-03 13:15:53 UTC
Hi Dan,
I am thinking this is a UI issue, but throw it back to me if it turns out to be VMware specific.

Thanks
Bronagh

Comment 6 Martin Betak 2017-07-03 13:39:17 UTC
It seems to be a problem related to backporting the service dialog (the paths differ between fine and the upstream). Posted a [FINE] PR for this https://github.com/ManageIQ/manageiq/pull/15496

Comment 9 Ilanit Stein 2017-08-28 06:44:54 UTC
Verified on 5.8.2.0.20170824192913_b09a5f8


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