Bug 1282627 - Automate | Quota | Add deprecation warning to old validate_quotas methods.
Summary: Automate | Quota | Add deprecation warning to old validate_quotas methods.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: GA
: 5.6.0
Assignee: Tina Fitzgerald
QA Contact: Jeff Teehan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-16 22:32 UTC by Tina Fitzgerald
Modified: 2016-06-29 15:08 UTC (History)
4 users (show)

Fixed In Version: 5.6.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-29 15:08:37 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

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


Note You need to log in before you can comment on or make changes to this bug.