Bug 1351178

Summary: RedHat Domain - Change placement methods to avoid read-only datastores
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: AutomateAssignee: William Fitzgerald <wfitzger>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: cpelland, jhardy, mfalesni, mkanoor, nachandr, ncatling, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: FutureFeature, ZStream
Target Release: 5.6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: automate:datastore
Fixed In Version: 5.6.1.2 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1324100 Environment:
Last Closed: 2016-08-18 17:53:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1324100    
Bug Blocks:    

Comment 3 Milan Falešník 2016-08-01 12:24:32 UTC
Verified in 5.6.1.0 using our vSphere 5.5, I switched off the Provider Inventory role after the provider got refreshed, then I did:

HostStorage.all.each {|hs| hs.read_only = true; hs.save! }

And then I went to provision VMs. There were no datastores for manual selection and when I checked the automatic selection, the provision request has failed with "[MiqException::MiqProvisionError]: Destination placement_ds_name not provided"

Comment 5 errata-xmlrpc 2016-08-18 17:53:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-1634.html