Bug 1349940 - "Completed 422 Unprocessable Entity" when deploying RHEV engine+hypervisor
Summary: "Completed 422 Unprocessable Entity" when deploying RHEV engine+hypervisor
Keywords:
Status: CLOSED DUPLICATE of bug 1321971
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: rhci-common-installer
TreeView+ depends on / blocked
 
Reported: 2016-06-24 15:19 UTC by Antonin Pagac
Modified: 2017-09-19 17:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-29 06:55:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Antonin Pagac 2016-06-24 15:19:18 UTC
Description of problem:
I can consistently reproduce the message. It appears in production log twice, once for the hypervisor and once for the engine:

"2016-06-24 10:24:58 [app] [I] Started POST "/api/hosts/facts" for 127.0.0.1 at 2016-06-24 10:24:58 -0400
2016-06-24 10:24:58 [app] [I] Processing by Api::V2::HostsController#facts as JSON
2016-06-24 10:24:58 [app] [I]   Parameters: {"facts"=>"[FILTERED]", "name"=>"h.example.com", "certname"=>"h.example.com", "apiv"=>"v2", :host=>{"name"=>"h.example.com", "certname"=>"h.example.com"}}
2016-06-24 10:24:58 [app] [I] Completed 422 Unprocessable Entity in 26ms (Views: 4.0ms | ActiveRecord: 4.9ms)
2016-06-24 10:24:58 [app] [I] Started GET "/node/h.example.com?format=yml" for 127.0.0.1 at 2016-06-24 10:24:58 -0400
2016-06-24 10:24:58 [app] [I] Processing by HostsController#externalNodes as YML
2016-06-24 10:24:58 [app] [I]   Parameters: {"name"=>"h.example.com"}
2016-06-24 10:24:59 [app] [I]   Rendered text template (0.0ms)
2016-06-24 10:24:59 [app] [I] Completed 200 OK in 276ms (Views: 0.7ms | ActiveRecord: 22.4ms)"

and:

"2016-06-24 10:31:08 [app] [I] Started POST "/api/hosts/facts" for 127.0.0.1 at 2016-06-24 10:31:08 -0400
2016-06-24 10:31:08 [app] [I] Processing by Api::V2::HostsController#facts as JSON
2016-06-24 10:31:08 [app] [I]   Parameters: {"facts"=>"[FILTERED]", "name"=>"e.example.com", "certname"=>"e.example.com", "apiv"=>"v2", :host=>{"name"=>"e.example.com", "certname"=>"e.example.com"}}
2016-06-24 10:31:08 [app] [I] Completed 422 Unprocessable Entity in 18ms (Views: 4.3ms | ActiveRecord: 2.8ms)
2016-06-24 10:31:08 [app] [I] Started GET "/node/e.example.com?format=yml" for 127.0.0.1 at 2016-06-24 10:31:08 -0400
2016-06-24 10:31:08 [app] [I] Processing by HostsController#externalNodes as YML
2016-06-24 10:31:08 [app] [I]   Parameters: {"name"=>"e.example.com"}
2016-06-24 10:31:08 [app] [I]   Rendered text template (0.0ms)
2016-06-24 10:31:08 [app] [I] Completed 200 OK in 157ms (Views: 0.4ms | ActiveRecord: 10.9ms)"


Version-Release number of selected component (if applicable):
compose 20160623.t.0

How reproducible:
Always (in vagrant env)

Steps to Reproduce:
1. Deploy RHEV (engine+hypervisor) in a vagrant env
2. After a successful deployment, check the production.log on satellite
3.

Actual results:
422 Unprocessable Entity appears as an informational message

Expected results:
The message does not appear

Additional info:
If this is an expected behavior, we should mention that in the docs.

Comment 2 Ivan Necas 2016-06-29 06:55:07 UTC
This is a duplicate. Let's continue there.

*** This bug has been marked as a duplicate of bug 1321971 ***


Note You need to log in before you can comment on or make changes to this bug.