Bug 1222616

Summary: Automate - Add Services Quota StateMachine to RedHat domain
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: AutomateAssignee: Tina Fitzgerald <tfitzger>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: high Docs Contact:
Priority: high    
Version: 5.4.0CC: adahms, cpelland, dajohnso, drieden, jhardy, jprause, mfeifer, mkanoor, obarenbo, sshveta, tfitzger
Target Milestone: GA   
Target Release: 5.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1212204 Environment:
Last Closed: 2015-06-16 13:02:39 UTC Type: Bug
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: 1212204    
Bug Blocks:    

Comment 1 John Prause 2015-05-18 15:48:40 UTC
This is the clone for 5.4.0 release. The fix is already on 5.4.z branch for the release.

Comment 3 Marianne Feifer 2015-05-19 19:53:02 UTC
Setting requires_doc_text?, but there may be a doc BZ already cloned for this.  Setting Needinfo? for Andrew to confirm.

Comment 4 Tina Fitzgerald 2015-05-28 20:10:47 UTC
Hi Shveta,

ServiceQuota is turned off by default. 

Copy the /Redhat/Service/Provisioning/StateMachines/ServiceProvisionRequestQuotaValidation/ class to a writable domain.

Modify the class schema:
Set manage_quotas to 'true'
Select default quota values for your test. 

Provision the service 2 times, once for passing and once for quota failure.
Should repeat above directions for other quota values.

Let me know if you have any questions.

Thanks,
Tina

Comment 5 Shveta 2015-06-05 18:45:44 UTC
Hi Tina , 

Added Redhat domain quota method to new domain and given values to set quota .
Provisioned service for values more than the quota limit but service provisioned successfully .

Comment 6 Tina Fitzgerald 2015-06-05 19:02:48 UTC
Hi Shveta,

Can you send me the evm.log and automation.logs and/or give me access to your test environment?

Thanks,
Tina

Comment 7 Shveta 2015-06-08 21:29:11 UTC
Please check https://10.8.59.62 . 
Copied Redhat domain quota method to new_domain.
Created quota tags and tagged  service "quota_Service" with max_CPU=2 .

Comment 9 errata-xmlrpc 2015-06-16 13:02:39 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/RHBA-2015-1100.html