Bug 1552271 - internal server error when configuration_script is requested
Summary: internal server error when configuration_script is requested
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: GA
: 5.9.1
Assignee: Bill Wei
QA Contact: Martin Kourim
URL:
Whiteboard: api:rest:services
Depends On: 1540250
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-06 21:10 UTC by Satoe Imaishi
Modified: 2018-04-11 17:47 UTC (History)
5 users (show)

Fixed In Version: 5.9.1.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1540250
Environment:
Last Closed: 2018-04-11 17:46:34 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0556 0 None None None 2018-04-11 17:47:11 UTC

Comment 2 CFME Bot 2018-03-06 21:26:40 UTC
New commits detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/e8bb529b12a3f0887f201e5d9e8037df5a9e53dd
commit e8bb529b12a3f0887f201e5d9e8037df5a9e53dd
Author:     Greg McCullough <gmccullo>
AuthorDate: Wed Jan 31 17:17:12 2018 -0500
Commit:     Greg McCullough <gmccullo>
CommitDate: Wed Jan 31 17:17:12 2018 -0500

    Merge pull request #16923 from bzwei/service_config_script

    Implement #configuration_script because of virtual_has_one relationship
    (cherry picked from commit 3ebdb6a7f803a11c5820bad62ade3ae7e8ddd323)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1552271

 app/models/service.rb | 3 +
 spec/models/service_spec.rb | 4 +
 2 files changed, 7 insertions(+)

Comment 3 James Olin Oden 2018-03-16 18:57:35 UTC
Tested it and it looks.   Ran this through my browser with an actual IP:

   https://$serverIP/api/services?expand=resources&attributes=configuration_script

And got expected results back.

Comment 6 errata-xmlrpc 2018-04-11 17:46:34 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-2018:0556


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