Bug 1371176 - Time out registering for insights during RHV deployment
Summary: Time out registering for insights during RHV deployment
Keywords:
Status: NEW
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: Installation - RHEV
Version: 1.0
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: John Matthews
QA Contact: Dave Johnson
Dan Macpherson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-29 13:45 UTC by James Olin Oden
Modified: 2016-09-23 18:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1367762 0 unspecified CLOSED [Insights] 500 Internal Server Error: Upload Failed 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1367867 0 unspecified CLOSED [Docs] Intermittent issue with insights talking to Satellite breaking puppet run, causes failed deployment 2021-02-22 00:41:40 UTC

Internal Links: 1367762 1367867

Description James Olin Oden 2016-08-29 13:45:26 UTC
Description of problem:
I was doing a RHV(self hosted, 4 node) + CFME + OSE(3 node) deployment.
At some point while deploying RHV the following error occured:

====== Puppet run for host mac52540089a668.b.b status reported as Error ====== 

/usr/bin/redhat-access-insights --register returned 1 instead of one of [0]
change from notrun to 0 failed: /usr/bin/redhat-access-insights --register returned 1 instead of one of [0]
ERF42-7017 [Foreman::Exception]: You've reached the timeout set for this action. If the action is still ongoing, you can click on the "Resume Deployment" button to continue.
====== Puppet run for host mac525400f1dee5.b.b status reported as Error ====== 

/usr/bin/redhat-access-insights --register returned 1 instead of one of [0]
change from notrun to 0 failed: /usr/bin/redhat-access-insights --register returned 1 instead of one of [0]

Version-Release number of selected component (if applicable):
QCI-1.0-RHEL-7-20160825.t.0

How reproducible:
Not sure

Steps to Reproduce:
1.  Do a RHV self hosted deployment with insights turned on


Actual results:
Times out registering for insights.

Expected results:
a successful deployment.

Additional info:
In the production log I also found this, which may or may not be related:

2016-08-26 19:00:25 [app] [E] RedhatAccess::Telemetry::PortalClient: Caught HTTP error when proxying call to tapi: 401 Unauthorized: {"message":"Unauthorized: null user"}
2016-08-26 19:00:25 [app] [I] Completed 502 Bad Gateway in 2887ms (Views: 13.2ms | ActiveRecord: 4.7ms)

Comment 2 Thom Carlin 2016-09-09 14:57:26 UTC
Reproduced with engine + hypervisor deployment on QCI-1.0-RHEL-7-20160908.1

Comment 3 Thom Carlin 2016-09-09 15:03:23 UTC
                                                                                                             2016-09-09 10:55:35 [app] [E] RedhatAccess::Telemetry::PortalClient: Caught unexpected error when proxying call to tapi: Organization not found or invalid 

Should be addressed in 1.0.13 plugin (Sat 6.2.2 snap)

Testing fix to ensure viability

Comment 4 Thom Carlin 2016-09-09 16:08:44 UTC
My original reproducer had RHV deployment failing at 39.6%


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