freeipa

FreeIPA is an integrated Identity and Authentication solution for Linux/UNIX networked environments.  |  http://www.freeipa.org/

#4275 freeipa-python does not require ipalib dependencies

Created 4 years ago by pviktori
Modified 2 years ago

The freeipa-client package is unusable on its own because freeipa-python does not require ipalib's dependencies:

  • python-pyasn1
  • python-qrcode

    • sudo ipa-client-install -p admin -w 12345678 -U
      Discovery was successful!
      Hostname: vm-195.idm.lab.eng.brq.redhat.com
      Realm: IDM.LAB.ENG.BRQ.REDHAT.COM
      DNS Domain: idm.lab.eng.brq.redhat.com
      IPA Server: vm-244.idm.lab.eng.brq.redhat.com
      BaseDN: dc=idm,dc=lab,dc=eng,dc=brq,dc=redhat,dc=com

    Synchronizing time with KDC...
    Successfully retrieved CA cert
    Subject: CN=Certificate Authority,O=IDM.LAB.ENG.BRQ.REDHAT.COM
    Issuer: CN=Certificate Authority,O=IDM.LAB.ENG.BRQ.REDHAT.COM
    Valid From: Wed Mar 26 11:07:21 2014 UTC
    Valid Until: Sun Mar 26 11:07:21 2034 UTC

    Enrolled in IPA realm IDM.LAB.ENG.BRQ.REDHAT.COM
    Created /etc/ipa/default.conf
    Traceback (most recent call last):
    File "/sbin/ipa-client-install", line 2750, in <module>
    sys.exit(main())
    File "/sbin/ipa-client-install", line 2731, in main
    rval = install(options, env, fstore, statestore)
    File "/sbin/ipa-client-install", line 2413, in install
    api.finalize()
    File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 705, in finalize
    self.do_if_not_done('load_plugins')
    File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 481, in __do_if_not_done
    getattr(self, name)()
    File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 642, in load_plugins
    self.import_plugins('ipalib')
    File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 686, in import_plugins
    __import
    (fullname)
    File "/usr/lib/python2.7/site-packages/ipalib/plugins/cert.py", line 30, in <module>
    from ipalib import pkcs10
    File "/usr/lib/python2.7/site-packages/ipalib/pkcs10.py", line 24, in <module>
    from pyasn1.type import univ, namedtype, tag
    ImportError: No module named pyasn1.type

This is an easy-to-fix 4.0 development issue, moving to 4.0.

Patch freeipa-mkosek-465-add-missing-dependencies-to-freeipa-python-package.patch sent for review

master:

  • e04da74 Add missing dependencies to freeipa-python package
2 years ago

Metadata Update from @pviktori:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 4.0 - 2014/03

Login to comment on this ticket.

defect

IPA

1

pviktori

0

cancel