Bug 1303419 - launch-fusor-installer fails with "Could not set 'present' on ensure: 422 Unprocessable Entity at 12:/usr/share/katello-installer/modules/foreman_proxy/manifests/register.pp"
Summary: launch-fusor-installer fails with "Could not set 'present' on ensure: 422 Unp...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Settings
Version: 6.1.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Thom Carlin
URL:
Whiteboard:
Depends On:
Blocks: rhci-common-installer 1215225 1295743
TreeView+ depends on / blocked
 
Reported: 2016-01-31 15:50 UTC by Thom Carlin
Modified: 2019-09-26 18:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-20 16:05:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 7579 0 None None None 2016-01-31 18:48:40 UTC
Foreman Issue Tracker 8657 0 None None None 2016-01-31 18:48:18 UTC
Red Hat Bugzilla 1303445 0 unspecified CLOSED After correcting error, receive "undefined method '[]' for nil:NilClass (NoMethodError)" 2021-02-22 00:41:40 UTC

Internal Links: 1303445

Description Thom Carlin 2016-01-31 15:50:27 UTC
Description of problem:

launch-fusor-installer fails on bare-metal system that has worked many times before

Version-Release number of selected component (if applicable):

RHCI-6.0-RHEL-7-20160128.t.1

How reproducible:

Unsure

Steps to Reproduce:
1. Install using RHCS-I ISO
2. Log in to run launch-fusor-installer
3.

Actual results:

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

Expected results:

Successful install

Additional info:

Found https://bugzilla.redhat.com/show_bug.cgi?id=1143065, https://access.redhat.com/solutions/1230493, http://projects.theforeman.org/issues/8657, http://projects.theforeman.org/issues/7983
but logfile/diagnostics do not appear to be a perfect match

Comment 2 Thom Carlin 2016-01-31 18:47:52 UTC
2016-01-31 13:24:03 [I] Authorized user foreman_api_admin(API Admin)
2016-01-31 13:24:03 [E] Unprocessable entity SmartProxy (id: new):
  Unable to communicate with the proxy: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::RequestTimeout]: Request Timeout) for proxy https://<hostname>:9090/features
  Please check the proxy is configured and running on the host.

2016-01-31 13:24:03 [I]   Rendered api/v2/errors/unprocessable_entity.json.rabl within api/v2/layouts/error_layout (0.5ms)
2016-01-31 13:24:03 [I] Completed 422 Unprocessable Entity in 23ms (Views: 1.1ms | ActiveRecord: 2.1ms)

Workaround:
foreman-rake config -- -k proxy_request_timeout -v 99

Comment 3 Thom Carlin 2016-01-31 19:00:09 UTC
Workaround is inconsistently effective

Comment 4 Thom Carlin 2016-01-31 20:28:04 UTC
Redeploying from ISO on same hardware with same parameters was successful.  Uploading "good" foreman-debug for comparison purposes.

Comment 6 Bryan Kearney 2016-05-02 17:43:58 UTC
Upstream bug component is Settings

Comment 8 Thom Carlin 2016-06-20 14:14:56 UTC
Message does not appear in QCI 1.2 -- Verified as of QCI-1.2-RHEL-7-20160613.t.0.

Comment 9 Bryan Kearney 2016-06-20 16:05:53 UTC
Closing this out as NEXTRELEASE. It will be delivered with 6.2.

Comment 10 Thom Carlin 2016-06-21 13:48:33 UTC
Addendum: Since issue is not consistently reproducible, Verified by ensuring upstream code is present in Sat 6.2


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