Bug #26836
closedActionController::RoutingError (No route matches [POST] "/katello/api/v2/repositories/sync_complete")
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1708154
Description of problem:
When syncing (custom) repositories to Sat 6.5, I see the following in the log.
2019-05-09T04:50:33 [I|app|] Started POST "/katello/api/v2/repositories/sync_complete?token=XXX" for 10.8.29.228 at 2019-05-09 04:50:33 -0400
2019-05-09T04:50:33 [F|app|]
2019-05-09T04:50:33 [F|app|] ActionController::RoutingError (No route matches [POST] "/katello/api/v2/repositories/sync_complete"):
2019-05-09T04:50:33 [F|app|]
2019-05-09T04:50:33 [F|app|] katello (3.10.0.46) lib/katello/prevent_json_parsing.rb:12:in `call'
2019-05-09T04:50:34 [I|app|] Started POST "/katello/api/v2/repositories/sync_complete?token=XXX" for 10.8.29.228 at 2019-05-09 04:50:34 -0400
2019-05-09T04:50:34 [F|app|]
2019-05-09T04:50:34 [F|app|] ActionController::RoutingError (No route matches [POST] "/katello/api/v2/repositories/sync_complete"):
2019-05-09T04:50:34 [F|app|]
2019-05-09T04:50:34 [F|app|] katello (3.10.0.46) lib/katello/prevent_json_parsing.rb:12:in `call'
2019-05-09T04:50:36 [I|app|] Started POST "/katello/api/v2/repositories/sync_complete?token=XXX" for 10.8.29.228 at 2019-05-09 04:50:36 -0400
2019-05-09T04:50:36 [F|app|]
2019-05-09T04:50:36 [F|app|] ActionController::RoutingError (No route matches [POST] "/katello/api/v2/repositories/sync_complete"):
2019-05-09T04:50:36 [F|app|]
2019-05-09T04:50:36 [F|app|] katello (3.10.0.46) lib/katello/prevent_json_parsing.rb:12:in `call'
2019-05-09T04:50:36 [I|app|] Started POST "/katello/api/v2/repositories/sync_complete?token=XXX" for 10.8.29.228 at 2019-05-09 04:50:36 -0400
2019-05-09T04:50:36 [F|app|]
2019-05-09T04:50:36 [F|app|] ActionController::RoutingError (No route matches [POST] "/katello/api/v2/repositories/sync_complete"):
2019-05-09T04:50:36 [F|app|]
2019-05-09T04:50:36 [F|app|] katello (3.10.0.46) lib/katello/prevent_json_parsing.rb:12:in `call'
10.8.29.228 is the machine itself, so it's trying to access itself as it seems
Version-Release number of selected component (if applicable):
Satellite 6.5 Snap 26
How reproducible:
Not sure yet
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info: