Bug 1712331

Summary: Import a VM from rackspace compute resource, doesn't imports the interfaces
Product: Red Hat Satellite Reporter: Shira Maximov <mshira>
Component: Compute Resources - RackspaceAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: Nightly   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-11 17:28:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1707440    

Description Shira Maximov 2019-05-21 11:07:40 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Brad Buckingham 2019-06-07 13:01:04 UTC
Can you provide additional details for this? Specifically steps to reproduce, actual results, and expected results.

Comment 4 Shira Maximov 2019-06-10 07:48:34 UTC
So I found this Issue first In ovirt compute resource,
In ovirt the steps are just:
1. GO to the compute resource -> Virtual Machines Tab
2.  select a VM (with interfaces)- > Import

The expected result is that a virtual machine will be created with the interfaces.


When I wrote a Fix for the ovirt, I discovered this following test file: 
https://github.com/theforeman/foreman/blob/develop/test/unit/compute_resource_host_importer_test.rb#L207

In this test file, there is the same the wrong test for all compute resources: GCE, Libvirt, ovirt, rackspace, openstack , ec2 
The test basically imports a VM with interfaces and verify that the interfaces are empty.