Bug 1757114

Summary: [RFE] - Storage domain from External provider not available when creating new host on Satellite
Product: Red Hat Satellite Reporter: Joniel Pasqualetto <jpasqual>
Component: Compute Resources - RHEVAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NEXTRELEASE QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5.0CC: dsinglet, ehelms, inecas, mmello, orabin, saydas, smallamp
Target Milestone: 6.10.0Keywords: FutureFeature, Triaged
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: 2021-09-16 16:18:14 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:

Description Joniel Pasqualetto 2019-09-30 15:11:56 UTC
Description of problem:
RHV using an external provider as storage domain (Cinder). However, the Cinder storage domain is not available on Satellite when creating a new VM.


How reproducible:

Steps to Reproduce:
1. Configure a Cinder external provider on RHV
2. Configure RHV as a compute resource on Satellite
3. Try creating a new VM on RHV using Satellite, with a disk on the Cinder storage domain.

Actual results:
- Cinder storage domain is not listed in the list of available storage domains

Expected results:
- all storage domains available on the RHV should be available in Satellite when creating VMs.

Additional info:

Issue seems to be on ovirt model, which filters the storage domain by type, bringing only the ones of type "data", while cinder storage domain are of the type "volume".

See here: 

~~~
    def storage_domains(opts = {})
      client.storage_domains({:role => 'data'}.merge(opts))
    end
~~~

source: https://github.com/theforeman/foreman/blob/develop/app/models/compute_resources/foreman/model/ovirt.rb#L234

Comment 4 Shira Maximov 2020-09-14 11:35:10 UTC
Created redmine issue https://projects.theforeman.org/issues/30835 from this bug

Comment 7 Bryan Kearney 2020-09-17 16:01:13 UTC
Upstream bug assigned to mshira

Comment 8 Bryan Kearney 2020-09-17 16:01:16 UTC
Upstream bug assigned to mshira

Comment 11 Sudhir Mallamprabhakara 2020-11-09 15:07:37 UTC
@Dana - As Matt said, infrastructure to test this is going to be a challenge for QE. However, we can test this scenario as a one-off if there is an environment that we can use to test.

Comment 12 Bryan Kearney 2021-01-22 05:22:10 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30835 has been resolved.