Bug 1314703

Summary: On importing manifest, production.log filled with 400 Bad Request
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: Subscription ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, tomckay
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/17799
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 17:44:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
NetworkError: 400 Bad Request in fireug none

Description Sachin Ghai 2016-03-04 09:53:33 UTC
Created attachment 1133132 [details]
NetworkError: 400 Bad Request in fireug

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:

Comment 2 Walden Raines 2016-12-20 14:47:47 UTC
Created redmine issue http://projects.theforeman.org/issues/17799 from this bug

Comment 3 Bryan Kearney 2016-12-20 17:22:48 UTC
Upstream bug assigned to walden

Comment 4 Bryan Kearney 2018-09-04 17:44:32 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.