Bug 1695792 - ConversionHost::Configurations#enable_queue method might not pick up params
Summary: ConversionHost::Configurations#enable_queue method might not pick up params
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
high
Target Milestone: GA
: 5.11.0
Assignee: Fabien Dupont
QA Contact: Shveta
Red Hat CloudForms Documentation
URL: https://github.com/ManageIQ/manageiq/...
Whiteboard: v2v
Depends On:
Blocks: 1622728 1702023
TreeView+ depends on / blocked
 
Reported: 2019-04-03 18:27 UTC by Daniel Berger
Modified: 2019-12-13 15:09 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

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


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