Bug 1695924 - The ConversionHost#enable_queue method is looking for the wrong parameter
Summary: The ConversionHost#enable_queue method is looking for the wrong parameter
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: V2V
Version: 5.10.2
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: GA
: 5.11.0
Assignee: Fabien Dupont
QA Contact: Shveta
Red Hat CloudForms Documentation
URL: https://github.com/ManageIQ/manageiq/...
Whiteboard:
Depends On:
Blocks: 1702021
TreeView+ depends on / blocked
 
Reported: 2019-04-03 22:34 UTC by Daniel Berger
Modified: 2020-06-30 18:21 UTC (History)
3 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1702021 (view as bug list)
Environment:
Last Closed: 2019-12-13 15:16:47 UTC
Category: ---
Cloudforms Team: V2V
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Daniel Berger 2019-04-03 22:34:20 UTC
The manageiq-api code was changed to send a "resource" parameter instead of "resource_id" and "resource_type" separately. For the code to work properly, it needs to look for "resource".

The resource_id and resource_type are then parsed out and passed along to the task as args.

Current behavior: the enable_queue method will fail.

Expected behavior: the enable_queue method will work, and the resource_id and resource_type methods will be set properly.

To duplicate: attempt to create a conversion host without a resource param.

Comment 4 Shveta 2019-05-20 20:57:37 UTC
Resource is sent as parameter.
Configuring a conversion_host: operation=enable resource=(name: env-rhv43-01.cfme2.lab.eng.rdu2.redhat.com type: ManageIQ::Providers::Redhat::InfraManager::Host id: 3)
Verified in 5.11.0.4.20190514210444_0c91ee1


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