Bug #25097
closedListing puppet classes fails after adding default organization/location
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1631379
Description of problem: After adding default organization/location, Listing puppet class fails with error
Internal Server Error: the server was unable to finish the request. This may be caused by unavailability of some required service, incorrect API call or a server-side bug. There may be more information in the server's logs.
Version-Release number of selected component (if applicable): Satellite 6.4
satellite-6.4.0-14.el7sat.noarch
How reproducible: Always
Steps to Reproduce:
[root@satellite64 ~]# hammer organization list
---|----------------------|----------------------|-------------|----------------------
ID | TITLE | NAME | DESCRIPTION | LABEL
---|----------------------|----------------------|-------------|----------------------
1 | Default Organization | Default Organization | | Default_Organization
---|----------------------|----------------------|-------------|----------------------
[root@satellite64 ~]# hammer defaults list
----------------|------
PARAMETER | VALUE
----------------|------
organization_id | 1
----------------|------
[root@satellite64 ~]# hammer puppet-class list
Internal Server Error: the server was unable to finish the request. This may be caused by unavailability of some required service, incorrect API call or a server-side bug. There may be more information in the server's logs*Actual results:*
Expected results: It should list puppet classes
Additional info: Applied the PR https://github.com/theforeman/foreman/pull/6075/files but still, this is failing.
This is working in satellite 6.3