Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionJan 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.
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]#
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