Project

General

Profile

Bug #17799

On importing manifest, production.log filled with 400 Bad Request

Added by Walden Raines over 2 years ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1314703
Description of problem:
On importing a manifest via webUI, production.log filled with following:

2016-03-04 02:00:07 [app] [I] Task search_params requires task_id to be specified (ForemanTasks::Api::TasksController::BadRequest)
2016-03-04 02:00:07 [app] [I] Rendered api/v2/errors/param_error.json.rabl within api/v2/layouts/error_layout (0.4ms)
2016-03-04 02:00:07 [app] [I] Completed 400 Bad Request in 9ms (Views: 0.9ms | ActiveRecord: 1.9ms)
2016-03-04 02:00:09 [app] [I] Started POST "/foreman_tasks/api/tasks/bulk_search" for 10.65.193.200 at 2016-03-04 02:00:09 -0500
2016-03-04 02:00:09 [app] [I] Processing by ForemanTasks::Api::TasksController#bulk_search as JSON
2016-03-04 02:00:09 [app] [I] Parameters: {"searches"=>[{"type"=>"task", "search_id"=>"2"}], "task"=>{}}
2016-03-04 02:00:09 [app] [I] Task search_params requires task_id to be specified (ForemanTasks::Api::TasksController::BadRequest)
2016-03-04 02:00:09 [app] [I] Rendered api/v2/errors/param_error.json.rabl within api/v2/layouts/error_layout (0.4ms)
2016-03-04 02:00:09 [app] [I] Completed 400 Bad Request in 4ms (Views: 0.9ms | ActiveRecord: 0.2ms)

And firebug raises error:

bulk_search
"NetworkError: 400 Bad Request - https://cloud-qe-7.idmqe.lab.eng.bos.redhat.com/foreman_tasks/api/tasks/bulk_search"
bulk_search
"NetworkError: 400 Bad Request - https://cloud-qe-7.idmqe.lab.eng.bos.redhat.com/foreman_tasks/api/tasks/bulk_search"

I'm not sure if its related to subscription page. But I see those while importing manifest

Version-Release number of selected component (if applicable):
sat6.2 snap2

How reproducible:
always

Steps to Reproduce:
1. import manifest
2.
3.

Actual results:
"NetworkError: 400 Bad Request - https://cloud-qe-7.idmqe.lab.eng.bos.redhat.com/foreman_tasks/api/tasks/bulk_search"

Expected results:

Additional info:

History

#1 Updated by Walden Raines over 2 years ago

  • Assignee deleted (Walden Raines)

#2 Updated by Justin Sherrill over 2 years ago

  • Category changed from Web UI to Subscriptions
  • Legacy Backlogs Release (now unused) set to 114

Also available in: Atom PDF