Bug 1282627

Summary: Automate | Quota | Add deprecation warning to old validate_quotas methods.
Product: Red Hat CloudForms Management Engine Reporter: Tina Fitzgerald <tfitzger>
Component: AutomateAssignee: Tina Fitzgerald <tfitzger>
Status: CLOSED ERRATA QA Contact: Jeff Teehan <jteehan>
Severity: low Docs Contact:
Priority: low    
Version: 5.5.0CC: jhardy, mkanoor, obarenbo, tfitzger
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 15:08:37 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:

Description Tina Fitzgerald 2015-11-16 22:32:02 UTC
Consolidated Quota is configured be default. Added deprecation log messages for:  /Cloud/VM/Provisioning/StateMachines/ProvisionRequestQuotaVerification/validate_quotas and /Infrastructure/VM/Provisioning/StateMachines/ProvisionRequestQuotaVerification/validate_quotas methods.

Automation.log messages:

<AEMethod [/ManageIQ/Infrastructure/VM/Provisioning/StateMachines/ProvisionRequestQuotaVerification/validate_quotas]> Starting
...
<AEMethod validate_quotas> [DEPRECATION] validate_quotas method will be deprecated.  Please use consolidated quota instead.


[/ManageIQ/Cloud/VM/Provisioning/StateMachines/ProvisionRequestQuotaVerification/validate_quotas]> Starting
......
[----] W, [2015-11-16T17:11:48.290937 #89894:3fc4f9e5e9b4]  WARN -- : Q-task_id([miq_provision_request_491]) <AEMethod validate_quotas> [DEPRECATION] validate_quotas method method will be deprecated.  Please use consolidated quota instead.

Comment 3 CFME Bot 2015-12-17 21:02:33 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/efaa0e4ee9182d83f3f4a49b06edda2755e3148a

commit efaa0e4ee9182d83f3f4a49b06edda2755e3148a
Author:     Tina Fitzgerald <tfitzger>
AuthorDate: Mon Nov 16 17:40:38 2015 -0500
Commit:     Tina Fitzgerald <tfitzger>
CommitDate: Mon Nov 16 17:40:38 2015 -0500

    Automate - added deprecation messages to old quota methods.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1282627

 .../__methods__/validate_quotas.rb                                      | 2 ++
 .../__methods__/validate_quotas.rb                                      | 2 ++
 2 files changed, 4 insertions(+)

Comment 4 Jeff Teehan 2016-04-19 15:53:03 UTC
Moving to verified with 5.6.0.1 on https://10.16.7.174/

Comment 6 errata-xmlrpc 2016-06-29 15:08:37 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://access.redhat.com/errata/RHBA-2016:1348