Bug 1695792

Summary: ConversionHost::Configurations#enable_queue method might not pick up params
Product: Red Hat CloudForms Management Engine Reporter: Daniel Berger <dberger>
Component: V2VAssignee: Fabien Dupont <fdupont>
Status: CLOSED CURRENTRELEASE QA Contact: Shveta <sshveta>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.10.2CC: bthurber, dmetzger, ytale
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/ManageIQ/manageiq/pull/18336
Whiteboard: v2v
Fixed In Version: 5.11.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1702023 (view as bug list) Environment:
Last Closed: 2019-12-13 15:09:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: V2V Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1622728, 1702023    

Description Daniel Berger 2019-04-03 18:27:54 UTC
The ConversionHost#enable and #enable_queue methods are currently relying on symbolized params to work properly. However, the parameters are passed as strings from the ManageIQ REST API, so they could inadvertently be dropped if not symbolized first.

To replicate, attempt to call either method with stringified params instead of symbols, possibly using the rest api.

Comment 2 Fabien Dupont 2019-04-03 21:02:50 UTC
https://github.com/ManageIQ/manageiq/pull/18336

Comment 4 Shveta 2019-07-02 21:49:06 UTC
Created conversion host via REST API to trigger #enable_queue method.

Task message shows :

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.11.20190625161125_392c61e