Bug 1295743 - Could not set 'present' on ensure: 422 Unprocessable Entity
Summary: Could not set 'present' on ensure: 422 Unprocessable Entity
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: fusor-installer
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ga
: 1.0
Assignee: John Matthews
QA Contact: Thom Carlin
URL:
Whiteboard:
Depends On: 1303419
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-05 11:36 UTC by Antonin Pagac
Modified: 2016-09-13 16:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-13 16:23:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
katello-installer.log (1.05 MB, text/plain)
2016-01-05 11:36 UTC, Antonin Pagac
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:1862 0 normal SHIPPED_LIVE Red Hat Quickstart Installer 1.0 2016-09-13 20:18:48 UTC

Description Antonin Pagac 2016-01-05 11:36:36 UTC
Created attachment 1111802 [details]
katello-installer.log

Description of problem:
When running fusor-installer on freshly installed ISO there is an error:

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

 Could not set 'present' on ensure: 422 Unprocessable Entity at 12:/usr/share/katello-installer/modules/foreman_proxy/manifests/register.pp
 /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[smicro-5037-03.cfme.lab.eng.rdu2.redhat.com]/ensure: change from absent to present failed: Could not set 'present' on ensure: 422 Unprocessable Entity at 12:/usr/share/katello-installer/modules/foreman_proxy/manifests/register.pp

See included katello-installer.log

Version-Release number of selected component (if applicable):
RHCI-6.0-RHEL-7-20151223.t.0-RHCI-x86_64-dvd1.iso

How reproducible:
Always

Steps to Reproduce:
1. Install 20151223 RHCI iso
2. Run fusor-installer, input sensible values and start installation
3. At the end, error appears

Actual results:
Error appears, exit code 6

Expected results:
No error, fusor installer completes successfully, seeding starts

Additional info:

Comment 1 Antonin Pagac 2016-01-05 12:35:51 UTC
I re-installed the system from the same ISO and the problem is gone, fusor-installer finishes successfully. It was probably some error on my part. Leaving this bug open for possible investigation.

Comment 2 John Matthews 2016-01-12 13:18:12 UTC
We've seen this error in the past when a timing issue occurred.
As...

API Call #1 is invoked
API Call #2 is invoked

Call #2 depended on #1 and #1 returned but wasn't actually done.

Will leave this open and align to GA, if we get more info let's update the BZ.

Comment 3 Thom Carlin 2016-07-01 14:24:13 UTC
Marking as VERIFIED in QCI 1.2 since this is intermittent.  Please reopen if this reoccurs

Comment 9 errata-xmlrpc 2016-09-13 16:23:49 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


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