Bug 1689894

Summary: [RFE] Default to resource name for conversion hosts
Product: Red Hat CloudForms Management Engine Reporter: Fabien Dupont <fdupont>
Component: V2VAssignee: Fabien Dupont <fdupont>
Status: CLOSED CURRENTRELEASE QA Contact: Shveta <sshveta>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.10.2CC: bthurber, kkulkarn, ytale
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.11.0   
Hardware: All   
OS: All   
Whiteboard: v2v
Fixed In Version: 5.11.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1693715 (view as bug list) Environment:
Last Closed: 2019-12-13 15:08:30 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: 1683443, 1693715    

Description Fabien Dupont 2019-03-18 11:39:35 UTC
Description of problem:

Based on feedback from the V2V team, a conversion host should default to the associated resource name if no name is explicitly specified. It would be better if the ConversionHost model did just that on creation.

Comment 2 Fabien Dupont 2019-03-18 11:41:02 UTC
https://github.com/ManageIQ/manageiq/pull/18516

Comment 4 Kedar Kulkarni 2019-07-02 18:49:31 UTC
Per my conversation offline with Fabien, this feature can be assumed to be validated if I can create conversion host in the UI without having to mention a name for it. On CFME Version 5.11.0.11 I was able to do so for RHV. @Shveta please confirm the same with API as we discussed.

Comment 5 Shveta 2019-07-02 20:52:35 UTC
Works with API without name .
The name of RHV host was assigned .

API
===========

{ "name": "", 
  "resource_type": "ManageIQ::Providers::Redhat::InfraManager::Host",
  "resource_id": "3",
  "conversion_host_ssh_private_key": "Bag Attributes\n   .....-----END PRIVATE KEY-----\n",
  "vmware_vddk_package_url": "http://10.11.5.7/~kkulkarn/VMware-vix-disklib-6.7.1-10362358.x86_64.tar.gz",
  "auth_user": "root" }

Verified in  5.11.0.11.20190625161125_392c61e