Bug 1693715
Summary: | [RFE] Default to resource name for conversion hosts | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Satoe Imaishi <simaishi> |
Component: | V2V | Assignee: | Fabien Dupont <fdupont> |
Status: | CLOSED ERRATA | QA Contact: | Yadnyawalk Tale <ytale> |
Severity: | medium | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> |
Priority: | medium | ||
Version: | 5.10.2 | CC: | bthurber, mshriver, sshveta |
Target Milestone: | GA | Keywords: | ZStream |
Target Release: | 5.10.4 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | 5.10.4.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1689894 | Environment: | |
Last Closed: | 2019-05-21 05:46:54 UTC | Type: | --- |
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: | 1689894 | ||
Bug Blocks: |
Comment 3
CFME Bot
2019-04-24 19:47:07 UTC
irb(main):008:0> res = Host.find_by(name: 'env-rhv42-01.cfme2.lab.eng.rdu2.redhat.com') => #<ManageIQ::Providers::Redhat::InfraManager::Host id: 3, name: "env-rhv42-01.cfme2.lab.eng.rdu2.redhat.com", hostname: "env-rhv42-01.cfme2.lab.eng.rdu2.redhat.com", ipaddress: "2620:52:0:8c4:250:56ff:fe9f:e6bb", vmm_vendor: "redhat", vmm_version: "7.6", vmm_product: "rhel", vmm_buildnumber: nil, created_on: "2019-05-02 19:22:24", updated_on: "2019-05-02 19:22:24", guid: "4fbc0662-3b73-475f-85c8-82a3350a4660", ems_id: 2, user_assigned_os: nil, power_state: "on", smart: 1, settings: {}, last_perf_capture_on: nil, uid_ems: "8ec8c8ef-756b-4af5-a41a-6d68ac8224cd", connection_state: "connected", ssh_permit_root_login: nil, ems_ref_obj: "--- \"/api/hosts/8ec8c8ef-756b-4af5-a41a-6d68ac8224...", admin_disabled: nil, service_tag: nil, asset_tag: nil, ipmi_address: nil, mac_address: nil, type: "ManageIQ::Providers::Redhat::InfraManager::Host", failover: nil, ems_ref: "/api/hosts/8ec8c8ef-756b-4af5-a41a-6d68ac8224cd", hyperthreading: nil, ems_cluster_id: 3, next_available_vnc_port: nil, hypervisor_hostname: nil, availability_zone_id: nil, maintenance: false, maintenance_reason: nil, physical_server_id: nil> irb(main):009:0> conversion_host = ConversionHost.create(resource: res) => #<ConversionHost id: 4, name: "env-rhv42-01.cfme2.lab.eng.rdu2.redhat.com", address: nil, type: nil, resource_type: "Host", resource_id: 3, version: nil, max_concurrent_tasks: nil, vddk_transport_supported: nil, ssh_transport_supported: nil, created_at: "2019-05-02 21:18:50", updated_at: "2019-05-02 21:18:50", concurrent_transformation_limit: nil, cpu_limit: nil, memory_limit: nil, network_limit: nil, blockio_limit: nil> irb(main):010:0> ConversionHost.all => #<ActiveRecord::Relation [#<ConversionHost id: 4, name: "env-rhv42-01.cfme2.lab.eng.rdu2.redhat.com", address: nil, type: nil, resource_type: "Host", resource_id: 3, version: nil, max_concurrent_tasks: nil, vddk_transport_supported: nil, ssh_transport_supported: nil, created_at: "2019-05-02 21:18:50", updated_at: "2019-05-02 21:18:50", concurrent_transformation_limit: nil, cpu_limit: nil, memory_limit: nil, network_limit: nil, blockio_limit: nil>]> Working without name . Verified in 5.10.4.1.20190430152139_40a1d86 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:1247 |