RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1244113 - error when there is a unauthentized proxy between client and satellite: IndexError: list index out of range
Summary: error when there is a unauthentized proxy between client and satellite: Index...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: redhat-access-insights
Version: 6.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 6.7
Assignee: jcrafts
QA Contact: Martin Kyral
URL:
Whiteboard:
Depends On:
Blocks: 1172231 1247363 1248012
TreeView+ depends on / blocked
 
Reported: 2015-07-17 07:40 UTC by Jan Hutař
Modified: 2016-05-11 00:42 UTC (History)
6 users (show)

Fixed In Version: redhat-access-insights-1.0.7-3.el6
Doc Type: Bug Fix
Doc Text:
When using Red Hat Satellite with the Red Hat Access Insight plug-in and an unauthenticated proxy between Satellite and the Red Hat Access Insight client, attempting to run the client failed with a "list index out of range" error. This update fixes the bug, and the Red Hat Access Insight client now starts correctly in the above situation.
Clone Of:
: 1247363 1248012 1295934 (view as bug list)
Environment:
Last Closed: 2016-05-11 00:42:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0928 0 normal SHIPPED_LIVE redhat-access-insights bug fix update 2016-05-10 22:53:54 UTC

Description Jan Hutař 2015-07-17 07:40:43 UTC
Description of problem:
There is an error produced by redhat-access-insights when there is a unauthentized proxy between client and satellite: IndexError: list index out of range


Version-Release number of selected component (if applicable):
Client: redhat-access-insights-1.0.4-0.el6.noarch
Server: redhat-access-plugin-sat5-2.0.0-27.el6.noarch


How reproducible:
always on 1 setup


Steps to Reproduce:
1. Setup Satellite 5.7.0 with all updates and RHAI plugin installed
2. Setup client which is communicating to server via Squid proxy:
   # grep -e enableProxy= -e httpProxy= /etc/sysconfig/rhn/up2date
   enableProxy=1
   httpProxy=squid.redhat.com:3128
   # rhn_check; echo $?
   0
3. Attempt to run RHAI client:
   # redhat-access-insights [--register]


Actual results:
['Traceback (most recent call last):\n', '  File "/usr/bin/redhat-access-insights", line 9, in <module>\n    load_entry_point(\'redhat-access-insights==1.0.4\', \'console_scripts\', \'redhat-access-insights\')()\n', '  File "/usr/lib/python2.6/site-packages/redhat_access_insights/__init__.py", line 362, in _main\n    try_auto_configuration(config)\n', '  File "/usr/lib/python2.6/site-packages/redhat_access_insights/auto_config.py", line 182, in try_auto_configuration\n    _try_satellite5_configuration(config)\n', '  File "/usr/lib/python2.6/site-packages/redhat_access_insights/auto_config.py", line 167, in _try_satellite5_configuration\n    set_auto_configuration(config, hostname, rhn_ca, proxy)\n', '  File "/usr/lib/python2.6/site-packages/redhat_access_insights/auto_config.py", line 55, in set_auto_configuration\n    if not verify_connectivity(config):\n', '  File "/usr/lib/python2.6/site-packages/redhat_access_insights/auto_config.py", line 20, in verify_connectivity\n    ic = InsightsConnection(config)\n', '  File "/usr/lib/python2.6/site-packages/redhat_access_insights/connection.py", line 59, in __init__\n    self.get_proxies(config)\n', '  File "/usr/lib/python2.6/site-packages/redhat_access_insights/connection.py", line 136, in get_proxies\n    password = conf_proxy.split(\'@\')[0].split(\':\')[2]\n', 'IndexError: list index out of range\n']


Expected results:
Should work

Comment 11 errata-xmlrpc 2016-05-11 00:42:48 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://rhn.redhat.com/errata/RHBA-2016-0928.html


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