Project

General

Profile

Actions

Bug #19290

closed

Unable to retrieve API bindings via hammer

Added by Brad Buckingham about 8 years ago. Updated almost 7 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I have a development environment that includes foreman and several plugins (e.g. katello) for both the application and hammer. When attempting to run 'bundle exec hammer shell', I continuously see an error similar to the following in the foreman development.log when it attempts to retrieve the API bindings:

2017-04-17T16:01:57 149c1b20 [app] [I] Started GET "/apidoc/v2.json" for 192.168.121.167 at 2017-04-17 16:01:57 +0000
2017-04-17T16:01:57 149c1b20 [app] [I] Processing by Apipie::ApipiesController#index as JSON
2017-04-17T16:01:57 149c1b20 [app] [I]   Parameters: {"version"=>"v2.json", "apipy"=>{}}
2017-04-17T16:01:58 149c1b20 [app] [I] Completed 500 Internal Server Error in 776ms (ActiveRecord: 1.5ms)
2017-04-17T16:01:58 149c1b20 [app] [F] 
 | NoMethodError (undefined method `merge' for nil:NilClass):
 |   lib/middleware/catch_json_parse_errors.rb:8:in `call'
 |   lib/middleware/tagged_logging.rb:18:in `call'
 | 

Note:
- I am running latest foreman(develop), katello(master), hammer* (master) and have fully updated gemset.
- The app and hammer were created using the forklift configurations


Related issues 2 (0 open2 closed)

Is duplicate of Foreman - Bug #19317: Plugin and dashboard widget registry auto-reloadedClosedDominic Cleal04/19/2017Actions
Is duplicate of Katello - Bug #19268: Can't access apidocs upstreamDuplicate04/13/2017Actions
Actions

Also available in: Atom PDF