Bug 1375245

Summary: Allow more than one iso datastore per type of EMS
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: UI - OPSAssignee: Eric Hayes <ehayes>
Status: CLOSED CURRENTRELEASE QA Contact: Angelina Vasileva <anikifor>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.7.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1376178 (view as bug list) Environment:
Last Closed: 2017-01-11 20:28:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1376178    

Description John Prause 2016-09-12 14:18:52 UTC
Currently, if an IsoDatastore is defined for any EMS of the same type, the Add a New ISO Datastore button will be disabled. For example, if a user has 2 Red Hat EMSes they will only be to create an IsoDatastore on one of them.

This code changes the logic for disabling the button to look for any EMSes without datastores before disabling the button. Also moves a couple of queries into convenience methods on the model, and adds a couple of tests.

Comment 2 John Prause 2016-09-12 14:19:23 UTC
https://github.com/ManageIQ/manageiq/pull/10046

Comment 5 Ilanit Stein 2016-10-13 09:33:20 UTC
Verified on CFME-5.7.0.3.20160927165516_075d0f3.
Possible to add a New ISO datastore from RHV-4.0.4, though there is already ISO datastore added from RHV-3.6.8-0.1.el6