Bug 1232546

Summary: <AEMethod servicetemplateprovisionrequest_denied> NoMethodError: undefined method `log' for main:Object
Product: Red Hat CloudForms Management Engine Reporter: Jeffrey Cutter <jcutter>
Component: AutomateAssignee: Tina Fitzgerald <tfitzger>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.4.0CC: jhardy, mfeifer, mkanoor, obarenbo, tfitzger
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-08 13:14:12 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 Jeffrey Cutter 2015-06-17 02:18:34 UTC
Description of problem:

/ RedHat / Service / Provisioning / Email / ServiceTemplateProvisionRequest_Denied method attempts to use an undefined method log() on line 103 in the rescue block, presumably should be $evm.log()

How reproducible:

Perform a build which is denied, such as by quotas which are over utilized.

Comment 3 Milan Falešník 2015-10-19 16:45:49 UTC
Checked in 5.5.0.6. I made the request to be denied and the AE method went OK. Also there is no plain `log` without `$evm` present in the method code.

Comment 5 errata-xmlrpc 2015-12-08 13:14:12 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/RHSA-2015:2551