Bug 1387709

Summary: Quota check causes errors for service provisioning when using Ansible Tower service types
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: Tina Fitzgerald <tfitzger>
Status: CLOSED ERRATA QA Contact: Aziza Karol <akarol>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: cpelland, jhardy, kmorey, ltsai, mkanoor, nstephan, obarenbo, simaishi, tfitzger
Target Milestone: GA   
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: tower:service:quota:provision
Fixed In Version: 5.7.0.7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1363901 Environment:
Last Closed: 2017-01-04 13:05:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1363901    
Bug Blocks:    

Comment 3 Tina Fitzgerald 2016-11-23 14:31:39 UTC
Hi Satoe,

Thanks for bringing that to my attention.
It should be in POST.

Thanks,
Tina

Comment 4 Aziza Karol 2016-12-07 11:39:56 UTC
No error in service bundle provisioning for Ansible Tower service types when quota is enforce.

Tina,
I believe quotas is not supported for Ansible tower provider.can you please confirm?

Another observation, the default entry point for catalog item type ansible is  /ConfigurationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision/provision_from_bundle. should it be  provision_from_bundle or default as provision_from_bundle is used while bundle provisioning?

Thanks,
Aziza

Comment 5 Tina Fitzgerald 2016-12-07 14:51:34 UTC
Hi Aziza,

That's correct that quota is not supported for Ansible Tower or any generic service type. 

The provision_from_bundle instance name is misleading, but the behavior is correct. 

Bill Wei has a recently merged PR that changes the default entrypoint to CatalogItemInitialization. 
https://github.com/ManageIQ/manageiq/pull/12772

Thanks,
Tina

Comment 6 Aziza Karol 2016-12-08 05:38:26 UTC
No error in service bundle provisioning for Ansible Tower service types when quota is enforce.

Verified:
5.7.0.14-rc4.20161206165848_b5cb87f

Comment 8 errata-xmlrpc 2017-01-04 13:05:20 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-2017-0012.html