Bug 1231857 - Service Quota service_request_rejected automate method puts truncated data in the miq_request reason attribute.
Summary: Service Quota service_request_rejected automate method puts truncated data in...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.4.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.4.1
Assignee: Tina Fitzgerald
QA Contact: Pete Savage
URL:
Whiteboard:
Depends On: 1227931
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-15 13:50 UTC by Tina Fitzgerald
Modified: 2015-07-30 13:11 UTC (History)
9 users (show)

Fixed In Version: 5.4.1.0
Doc Type: Bug Fix
Doc Text:
Clone Of: 1227931
Environment:
Last Closed: 2015-07-30 13:11:45 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-2015:1511 0 normal SHIPPED_LIVE CFME 5.4.1 bug fixes, and enhancement update 2015-07-30 17:10:05 UTC

Comment 1 CFME Bot 2015-06-15 15:16:43 UTC
New commit detected on cfme_productization/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme_productization.git;a=commit;h=43cc3a6efd57111f67bbe452496ddb61b94545c3

commit 43cc3a6efd57111f67bbe452496ddb61b94545c3
Merge: 6cec6b0 0223d54
Author:     Madhu Kanoor <mkanoor>
AuthorDate: Mon Jun 15 11:14:39 2015 -0400
Commit:     Madhu Kanoor <mkanoor>
CommitDate: Mon Jun 15 11:14:39 2015 -0400

    Merge branch 'cherry_pick_1227931' into '5.4.z'
    
    Changed Service Quota rejected automate method.
    
    Modified request rejected method to remove unnecessary quota_reason, log message and reason input field.
    
    BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1231857
    
    Original MR:
    http://gitlab.cloudforms.lab.eng.rdu2.redhat.com/cloudforms/cfme_productization/merge_requests/60
    
    Original BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1227931
    
    Clean cherry-pick
    
    See merge request !68

 .../__methods__/service_request_rejected.rb        |  7 ++-----
 .../__methods__/service_request_rejected.yaml      | 22 +---------------------
 2 files changed, 3 insertions(+), 26 deletions(-)

Comment 2 CFME Bot 2015-06-15 15:25:44 UTC
New commit detected on cfme_productization/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme_productization.git;a=commit;h=43cc3a6efd57111f67bbe452496ddb61b94545c3

commit 43cc3a6efd57111f67bbe452496ddb61b94545c3
Merge: 6cec6b0 0223d54
Author:     Madhu Kanoor <mkanoor>
AuthorDate: Mon Jun 15 11:14:39 2015 -0400
Commit:     Madhu Kanoor <mkanoor>
CommitDate: Mon Jun 15 11:14:39 2015 -0400

    Merge branch 'cherry_pick_1227931' into '5.4.z'
    
    Changed Service Quota rejected automate method.
    
    Modified request rejected method to remove unnecessary quota_reason, log message and reason input field.
    
    BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1231857
    
    Original MR:
    http://gitlab.cloudforms.lab.eng.rdu2.redhat.com/cloudforms/cfme_productization/merge_requests/60
    
    Original BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1227931
    
    Clean cherry-pick
    
    See merge request !68

 .../__methods__/service_request_rejected.rb        |  7 ++-----
 .../__methods__/service_request_rejected.yaml      | 22 +---------------------
 2 files changed, 3 insertions(+), 26 deletions(-)

Comment 4 Pete Savage 2015-07-20 13:35:17 UTC
Please provider reproduction steps

Comment 5 Tina Fitzgerald 2015-07-21 15:09:46 UTC
Hi Pete,

Setup a service and configure the service quota so the request is rejected.

Goto the service request page and select the failed service which will bring you to the request detail page.  You'll notice the reason field has a value of "t".

Additional information on setting up quota values:
https://bugzilla.redhat.com/show_bug.cgi?id=1227945

Once the fix has been applied, you will see a reason value of "Quota Exceeded".

Let me know if you have any questions.

Thanks,
Tina

Comment 6 Pete Savage 2015-07-21 16:16:34 UTC
Verified in 5.4.1.0

Comment 8 errata-xmlrpc 2015-07-30 13:11:45 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-2015-1511.html


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