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 1254644 - ipsilon-client-install fails with ImportError: No module named requests
Summary: ipsilon-client-install fails with ImportError: No module named requests
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipsilon
Version: 7.2
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On: 1250566
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-18 14:44 UTC by Jan Pazdziora (Red Hat)
Modified: 2015-11-19 10:50 UTC (History)
6 users (show)

Fixed In Version: ipsilon-1.0.0-7.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1250566
Environment:
Last Closed: 2015-11-19 10:50:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:2319 0 normal SHIPPED_LIVE new packages: ipsilon 2015-11-19 10:06:13 UTC

Description Jan Pazdziora (Red Hat) 2015-08-18 14:44:42 UTC
+++ This bug was initially created as a clone of Bug #1250566 +++

Description of problem:

When running ipsilon-client-install, it fails because requests is not available.

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

# rpm -qf /usr/bin/ipsilon-client-install
ipsilon-client-1.0.0-1.fc22.noarch

How reproducible:

Deterministic.

Steps to Reproduce:
1. dnf install /usr/bin/ipsilon-client-install ipsilon-saml2 httpd mod_ssl
2. ipsilon-client-install --saml-idp-metadata https://idp.example.test/idp/saml2/metadata --saml-auth /protected

Actual results:

Traceback (most recent call last):
  File "/usr/bin/ipsilon-client-install", line 18, in <module>
    import requests
ImportError: No module named requests

Expected results:

/usr/lib/python2.7/site-packages/requests/packages/urllib3/connection.py:251: SecurityWarning: Certificate has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)
  SecurityWarning
Generating a 2048 bit RSA private key
....+++
...........+++
writing new private key to '/etc/httpd/saml2/nec-em12.rhts.eng.bos.redhat.com/certificate.key'
-----

Additional info:

Manually installing python-requests helps but we should not need to do that.

Comment 4 Scott Poore 2015-10-14 17:25:21 UTC
Verified.

Version ::

ipsilon-client-1.0.0-12.el7.noarch
python-requests-2.6.0-4.el7.noarch

Results ::

[root@rhel7-5 yum.repos.d]# yum remove python-requests
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
...
Erasing    : python-requests-2.6.0-4.el7.noarch                                                17/17 
...
Removed:
  python-requests.noarch 0:2.6.0-4.el7                                                                 
...


[root@rhel7-5 yum.repos.d]# yum install ipsilon-client
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package ipsilon-client.noarch 0:1.0.0-12.el7 will be installed
--> Processing Dependency: ipsilon-filesystem = 1.0.0-12.el7 for package: ipsilon-client-1.0.0-12.el7.noarch
--> Processing Dependency: ipsilon-saml2-base = 1.0.0-12.el7 for package: ipsilon-client-1.0.0-12.el7.noarch
--> Processing Dependency: mod_auth_mellon for package: ipsilon-client-1.0.0-12.el7.noarch
--> Processing Dependency: python-requests for package: ipsilon-client-1.0.0-12.el7.noarch
...
---> Package python-requests.noarch 0:2.6.0-4.el7 will be installed
...
Complete!

[root@rhel7-5 yum.repos.d]# rpm -q ipsilon-client python-requests
ipsilon-client-1.0.0-12.el7.noarch
python-requests-2.6.0-4.el7.noarch
[root@rhel7-5 yum.repos.d]#

Comment 5 errata-xmlrpc 2015-11-19 10:50:30 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/RHEA-2015-2319.html


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