Bug #29283
closedForeman lists unrelated RHV storage domains using v4 API
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1808843
Description of problem:
When creating host using satellite 6.6 and deploy on RHV API v4 in the VM tab all the storage domains are displayed when I have only 1 storage domain under the selected data center.
Version-Release number of selected component (if applicable):
RHV 4.4.0-23 engine and hosts (All installed on RHEL 8.2)
Satellite 6.6.1 on rhel 7 using
How reproducible:
Always 100%
Steps to Reproduce:
1. Setup RHV environment with 1 host, data center, cluster, and nfs storage, and network interface
2. Reserved sat66 vm with rhel 7 (rhel7-sat66-4)
3. Add a Compute resource with provider RHV, URL ({server}/ovirt-engine/api/v4)
4. Enable Use APIv4 (experimental)
5. Enter Create Host
6. Select Deploy On Rhev v4 compute resource
7. In the VM tab click on add volume and expand the Storage domain ComboBox
Actual results:
Everything worked until step 7.
In step 7, I see all Storage domains from RHV
Expected results:
In step 7, I should only see the related storage domain to the data center I selected