Bug 1427475 - RHV ISO domain can't be updated in CFME
Summary: RHV ISO domain can't be updated in CFME
Keywords:
Status: CLOSED DUPLICATE of bug 1447560
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.9.0
Assignee: Moti Asayag
QA Contact: Ilanit Stein
URL:
Whiteboard: rhev
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-28 10:14 UTC by Ilanit Stein
Modified: 2017-12-05 15:09 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-18 08:58:09 UTC
Category: ---
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1131683 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1131683

Description Ilanit Stein 2017-02-28 10:14:37 UTC
Description of problem:
In case of replacing ISO domain in RHV, refresh of the RHV provider, cannot allow adding the new ISO domain.

The previous ISO domain images, still remain listed in the CFME database.
Under datastores, both old & new ISO domains are displayed.
Only when removing the provider, and adding it back again, does the add of the new ISO is allowed.
Version-Release number of selected component (if applicable):

Comment 2 Moti Asayag 2017-04-20 14:43:41 UTC
The current assumption on ManageIQ is that RHV provider is allowed to have only one ISO domain.

However, RHV supports ISO domain per Data Center. Therefore the code should be modify to support that.

So the real issue is a bit more severe, since you won't be able to have more than one ISO domain in a multi data-center RHV setup.

Ilanit, could you test that scenario ?

1. Have 1 RHV with 2 DC
2. Have ISO domain in each of RHV's DCs
3. Perform refresh
4. Add ISO domain for RHV
5. Attempt to add a second ISO domain for RHV (for the other DC)

the 5th step should fail.

Next, please check the following scenario:

1. Go to 'Provision VM' dialog
2. Select a template from DC that has no ISO domain on manage-iq.
3. Select 'Provision via ISO' and check the presented list of images.
3.1. If there is a selected list of images, pick one and submit the request. This step should be failed by RHV.
3.2. If no images are presented for that VM - that's the same issue as before, but at least there is no suggestions for a wrong images list.

Please update your findings.

Comment 3 Ilanit Stein 2017-04-30 14:26:35 UTC
There are several basic problems, that prevent from checking these 2 scenarios:  

1. It seems that ISO domain images are not displayed (on latest: CFME-5.8.0.12, CFME-5.7.2).
On CFME-5.7.0.17 - ISO images are displayed but these are not the images of the only iso domain connected to a RHV datacenter, as expected, 
but of some other ISO domain, that probably was connected sometime in the past. 

2. CFME allow to add only a single ISO dataStore (Under PXE tab) per specific RHV. 
When adding ISO Datastore we get a list of all providers, and once added for a provider, this provider will no longer appear for adding a new ISO domain, even though there are several datacenters on this RHV, and in each of them another ISO domain.

3. After ISO domain is removed from RHV, it will remain in the CFME DB, and displyed under CFME->DataStores.

Comment 4 Ilanit Stein 2017-05-03 19:52:22 UTC
masayag:

"I'd like to add couple of thinks about the scenario which lead to that
bug: The specific RHV setup had 2 ISO storage domain.
One active, and the other inactive. Since the 'inactive' one was picked
by the ovirt-gem, it reported as no images are available.
By removing the inactive ISO storage domain from RHV, and by refreshing
the ISO Domain images on ManageIQ (under PXE-> Configuration -> refresh 
relationships), the active storage domain was picked and the available 
list of images was retrieved and saved in ManageIQ.

I'd consider removing the blocker or reducing the severity of that bug
since there is a workaround for it.

A general note: On RHV, the ISO domain can be a shared between several
data-centers, or can be a specific ISO storage domain per data center.
In order to identify ISO domain, we should filter first the active data
centers and search for the associated ISO domain with the active DCs.
Then select the first active ISO domain and report its images.

The existing implementation resides on the ovirt-gem, and due to its
narrowed support to pull the info from RHV, I'd suggest to implement
the fix for this bug and the proposed logic above based on the
ovirt-sdk."

Comment 5 Oved Ourfali 2017-05-15 10:30:21 UTC
Moving to 5.9 for now, to prioritize it then.

Comment 6 Dave Johnson 2017-07-14 03:48:04 UTC
Please assess the importance of this issue and update the priority accordingly.  Somewhere it was missed in the bug triage process.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#priority for a reminder on each priority's definition.

If it's something like a tracker bug where it doesn't matter, please set it to Low/Low.

Comment 7 Ilanit Stein 2017-07-18 06:54:50 UTC
Clearing need info on me, as I am not suppose to set the priority, but the PM.

Comment 8 Ilanit Stein 2017-07-18 08:58:09 UTC

*** This bug has been marked as a duplicate of bug 1447560 ***


Note You need to log in before you can comment on or make changes to this bug.