Bug 1689894 - [RFE] Default to resource name for conversion hosts
Summary: [RFE] Default to resource name for conversion hosts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: V2V
Version: 5.10.2
Hardware: All
OS: All
medium
medium
Target Milestone: GA
: 5.11.0
Assignee: Fabien Dupont
QA Contact: Shveta
Red Hat CloudForms Documentation
URL:
Whiteboard: v2v
Depends On:
Blocks: 1683443 1693715
TreeView+ depends on / blocked
 
Reported: 2019-03-18 11:39 UTC by Fabien Dupont
Modified: 2019-12-13 15:08 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

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


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