Project

General

Profile

Actions

Feature #30835

closed

Storage domain from External provider not available when creating new host

Added by Shira Maximov about 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - oVirt
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1757114

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

Actions

Also available in: Atom PDF