Bug 1215225

Summary: 422 Error while seeding provisioning data
Product: Red Hat Quickstart Cloud Installer Reporter: jcallaha
Component: Installation - RHCIAssignee: jkim
Status: CLOSED ERRATA QA Contact: Antonin Pagac <apagac>
Severity: medium Docs Contact: Dan Macpherson <dmacpher>
Priority: unspecified    
Version: 1.0CC: apagac, bthurber, dajohnso, jmatthew, jmontleo
Target Milestone: gaKeywords: Triaged
Target Release: 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-13 16:25:24 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:
Embargoed:
Bug Depends On: 1303419    
Bug Blocks:    
Attachments:
Description Flags
error screenshot
none
katello-installer-0731.log none

Description jcallaha 2015-04-24 16:18:05 UTC
Created attachment 1018534 [details]
error screenshot

Description of problem:
While fusor-installer is seeding provisioning dataa 422 Unprocessable Entity (RestClient:UnprocessableEntity) is returned. see attached image.

How reproducible:
High

Steps to Reproduce:
1. run fusor-installer

Actual results:
422 error encountered

Expected results:
fusor-installed completes the seeding process without error

Additional info:
Dev workaround steps 19-end https://gitlab.sat.lab.tlv.redhat.com/rhci/bootiso/blob/master/experiments/InitialSetup/bin/launch-fusor-installer#L19

Comment 2 Dave Johnson 2015-04-24 18:32:15 UTC
Created attachment 1018581 [details]
katello-installer.log

Comment 3 Antonin Pagac 2015-06-12 07:54:02 UTC
Reproduced in iso RHCI-6.0-RHEL-7-20150611.t.3-RHCI-x86_64-dvd1.iso.

Comment 4 Jason Montleon 2015-06-18 15:33:23 UTC
Reproduced in RHCI-6.0-RHEL-7-20150618.t.0

Comment 5 Antonin Pagac 2015-07-14 08:52:56 UTC
Reproduced in iso RHCI-6.0-RHEL-7-20150709.t.1-RHCI-x86_64-dvd1.iso.

Comment 6 jkim 2015-07-14 16:16:59 UTC
(In reply to Antonin Pagac from comment #5)
> Reproduced in iso RHCI-6.0-RHEL-7-20150709.t.1-RHCI-x86_64-dvd1.iso.

Steps taken before seeing the error
- Ran ISO
- Satellite was in an unknown state, hosts did not receive IP addr
- restarted dhcpd service
- re-ran the fusor-installer
- 422 error occured

Comment 7 Antonin Pagac 2015-08-03 11:29:12 UTC
Seeing similar error in RHCI-6.0-RHEL-7-20150731.t.0-RHCI-x86_64-dvd1.iso.

 Could not set 'present' on ensure: 422 Unprocessable Entity at 12:/usr/share/katello-installer/modules/foreman_proxy/manifests/register.pp

In a previous install of this iso everything worked fine.

Adding katello-installer-0731.log.

Comment 8 Antonin Pagac 2015-08-03 11:29:54 UTC
Created attachment 1058755 [details]
katello-installer-0731.log

Comment 9 John Matthews 2015-08-03 12:00:18 UTC
In regard to comment #7, this is a new issue.  The original BZ was related to a 422 showing up when uploading a puppet module, comment #7 is addressing when a 422 shows up registering the proxy.

Satellite returns 422 to indicate that the client's request is correctly formed but the server is unable to process it at the current time.

Comment 10 Antonin Pagac 2015-09-04 14:35:11 UTC
Reproduced in rc4 - RHCI-6.0-RHEL-7-20150829.0-RHCI-x86_64-dvd1.iso

Steps:
1. Run fusor-installer, start a deployment, finish the deployment
2. Run fusor-installer again

How reproducible:
Allways, I now hit it every time I re-run fusor-installer.

Comment 11 Antonin Pagac 2016-06-24 15:11:02 UTC
I can't reproduce this issue, fusor-installer completes successfully even after the steps in comment 10. Marking as verified.

compose 20160623.t.0

Comment 16 errata-xmlrpc 2016-09-13 16:25:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2016:1862