Bug 1232548 - <AEMethod servicetemplateprovisionrequest_denied> [wrong number of arguments (3 for 2)]
Summary: <AEMethod servicetemplateprovisionrequest_denied> [wrong number of arguments ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: 5.5.0
Assignee: Tina Fitzgerald
QA Contact: Alex Newman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-17 02:34 UTC by Jeffrey Cutter
Modified: 2015-12-08 13:14 UTC (History)
6 users (show)

Fixed In Version: 5.5.0.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-08 13:14:16 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 RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Description Jeffrey Cutter 2015-06-17 02:34:00 UTC
Description of problem:

/ RedHat / Service / Provisioning / Email / ServiceTemplateProvisionRequest_Denied method line 28 accepting wrong number of arguments, accepts 2, needs 3 (reason).

[----] E, [2015-06-16T22:08:04.224717 #2083:68ac504] ERROR -- : Q-task_id([service_template_provision_request_1000000000127]) <AEMethod servicetemplateprovisionrequest_denied> [wrong number of arguments (3 for 2)]
<code: def approver_denied_text(requester_email, msg)>:28:in `approver_denied_text'
<code: body += approver_denied_text(requester_email, msg, reason)>:37:in `approver_text'
<code: send_mail(to, from, subject, approver_text(appliance, msg, requester_email))>:59:in `email_approver'
<code: email_approver(appliance, msg)>:101:in `<main>'
approver_denied_text() is called passing 3 args but method only accepts 2, should accept 3 by the looks of it

Version-Release number of selected component (if applicable):


How reproducible:

Force a provision to be denied as in over allowed quotas.

Comment 3 Shveta 2015-09-01 00:21:16 UTC
Verified on upstream 

master.20150831201655_178618c
. No error seen in logs for a denied provision

Comment 4 Alex Newman 2015-12-04 21:54:43 UTC
Tested: 5.5.0.13

Comment 6 errata-xmlrpc 2015-12-08 13:14:16 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


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