Bug 1250566 - 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: Fedora
Classification: Fedora
Component: ipsilon
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Patrick Uiterwijk
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1254644
TreeView+ depends on / blocked
 
Reported: 2015-08-05 13:19 UTC by Jan Pazdziora
Modified: 2015-11-08 10:20 UTC (History)
3 users (show)

Fixed In Version: ipsilon-1.1.1-2.fc23 ipsilon-1.1.1-2.fc22 ipsilon-1.1.1-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1254644 (view as bug list)
Environment:
Last Closed: 2015-11-08 06:53:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora 2015-08-05 13:19:29 UTC
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 1 Fedora Update System 2015-08-21 14:47:23 UTC
ipsilon-1.0.0-5.fc22 has been submitted as an update to Fedora 22. https://bugzilla.redhat.com/show_bug.cgi?id=1250566

Comment 2 Fedora Update System 2015-08-22 02:51:13 UTC
ipsilon-1.0.0-5.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update ipsilon'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-13918

Comment 3 Fedora Update System 2015-09-08 01:37:01 UTC
ipsilon-1.1.0-1.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15290

Comment 4 Fedora Update System 2015-09-08 01:37:01 UTC
ipsilon-1.1.0-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15291

Comment 5 Fedora Update System 2015-09-08 01:37:11 UTC
ipsilon-1.1.0-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15292

Comment 6 Fedora Update System 2015-09-08 17:51:37 UTC
ipsilon-1.1.0-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update ipsilon'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15291

Comment 7 Fedora Update System 2015-09-08 21:22:01 UTC
ipsilon-1.1.0-1.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update ipsilon'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15290

Comment 8 Fedora Update System 2015-09-08 21:25:58 UTC
ipsilon-1.1.0-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update ipsilon'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15292

Comment 9 Jan Pazdziora 2015-09-14 14:00:09 UTC
# rpm -q ipsilon-client
ipsilon-client-1.1.0-1.fc23.noarch
# ipsilon-client-install --saml-idp-metadata https://idp.example.test/idp/saml2/metadata --saml-auth /protected
Traceback (most recent call last):
  File "/usr/bin/ipsilon-client-install", line 18, in <module>
    import requests
ImportError: No module named requests

Moving to ASSIGNED, aka FAILS_QA.

Comment 10 Fedora Update System 2015-10-14 16:10:10 UTC
ipsilon-1.1.1-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15291

Comment 11 Fedora Update System 2015-10-14 16:11:36 UTC
ipsilon-1.1.1-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15292

Comment 12 Fedora Update System 2015-10-14 16:12:18 UTC
ipsilon-1.1.1-2.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15290

Comment 13 Fedora Update System 2015-10-14 22:53:35 UTC
ipsilon-1.1.1-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update ipsilon'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15291

Comment 14 Fedora Update System 2015-10-15 05:21:21 UTC
ipsilon-1.1.1-2.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update ipsilon'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15290

Comment 15 Fedora Update System 2015-10-15 05:52:27 UTC
ipsilon-1.1.1-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update ipsilon'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15292

Comment 16 Jan Pazdziora 2015-10-15 09:19:57 UTC
After

# dnf install --enablerepo=updates-testing -y ipsilon-client-1.1.1-2.fc22

running

# ipsilon-client-install --saml-idp-metadata https://idp.example.test/idp/saml2/metadata --saml-auth /protected

no longer complains about missing module.

Comment 17 Fedora Update System 2015-11-08 06:52:47 UTC
ipsilon-1.1.1-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2015-11-08 09:50:03 UTC
ipsilon-1.1.1-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2015-11-08 10:19:51 UTC
ipsilon-1.1.1-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.


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