Hide Forgot
Description of problem: [stack@undercloud-0 ~]$ sudo /usr/libexec/novajoin-ipa-setup --principal admin --password 12345678 --server ipa.redhat.local --realm REDHAT.LOCAL --domain redhat.local --hostname undercloud-0.redhat.local --precreate Traceback (most recent call last): File "/usr/libexec/novajoin-ipa-setup", line 92, in <module> nss_db = novajoin.create_nssdb(opts.server, opts.realm) File "/usr/lib/python2.7/site-packages/novajoin/configure_ipa.py", line 154, in create_nssdb ca_certs = self._get_ca_certs(server, realm) File "/usr/lib/python2.7/site-packages/novajoin/configure_ipa.py", line 143, in _get_ca_certs raise ConfigurationError("get_ca_certs_from_ldap() error: %s" % e) novajoin.errors.ConfigurationError: get_ca_certs_from_ldap() error: 'module' object has no attribute 'IPAdmin' Version-Release number of selected component (if applicable): [stack@undercloud-0 ~]$ rpm -qa "*novajoin*" python-novajoin-1.0.15-0.20170821155702.dbafbd6.el7ost.noarch How reproducible: always Steps to Reproduce: 1.install python novajoin 2.try to create some extra privileges/permissions to be used by the novajoin services Actual results: ConfigurationError Red Hat Enterprise Linux Server rLinux undercloud-0.redhat.local 3.10.0-693.2.1.el7.x86_64 #1 SMP Fri Aug 11 04:58:43 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux elease 7.4 (Maipo)
Reproduced, working on it.
Yep, tried your fixed rpm and I got OTP. Thx!
Fixed upstream: 70173f38eeb149ef9f1987d918c96f262f6ffd34 5ab8dac221ed7acdf767e40feff250ab31785cce
VERIFIED [stack@undercloud-0 ~]$ rpm -qa "*novajoin*" python-novajoin-1.0.17-1.el7ost.noarch [stack@undercloud-0 ~]$ /usr/libexec/novajoin-ipa-setup --principal admin --password 12345678 --server ipa.redhat.local --realm REDHAT.LOCAL --domain redhat.local --hostname undercloud-0.redhat.local --precreate ipa: INFO: trying https://ipa.redhat.local/ipa/json ipa: INFO: [try 1]: Forwarding 'schema' to json server 'https://ipa.redhat.local/ipa/json' ipa: INFO: trying https://ipa.redhat.local/ipa/session/json ipa: INFO: [try 1]: Forwarding 'host_add/1' to json server 'https://ipa.redhat.local/ipa/session/json' ipa: INFO: [try 1]: Forwarding 'service_add/1' to json server 'https://ipa.redhat.local/ipa/session/json' ipa: INFO: [try 1]: Forwarding 'permission_add/1' to json server 'https://ipa.redhat.local/ipa/session/json' ipa: INFO: [try 1]: Forwarding 'permission_add/1' to json server 'https://ipa.redhat.local/ipa/session/json' ipa: INFO: [try 1]: Forwarding 'permission_add/1' to json server 'https://ipa.redhat.local/ipa/session/json' ipa: INFO: [try 1]: Forwarding 'permission_add/1' to json server 'https://ipa.redhat.local/ipa/session/json' ipa: INFO: [try 1]: Forwarding 'privilege_add/1' to json server 'https://ipa.redhat.local/ipa/session/json' ipa: INFO: [try 1]: Forwarding 'privilege_add_permission/1' to json server 'https://ipa.redhat.local/ipa/session/json' ipa: INFO: [try 1]: Forwarding 'role_add/1' to json server 'https://ipa.redhat.local/ipa/session/json' ipa: INFO: [try 1]: Forwarding 'role_add_privilege/1' to json server 'https://ipa.redhat.local/ipa/session/json' ipa: INFO: [try 1]: Forwarding 'role_add_member/1' to json server 'https://ipa.redhat.local/ipa/session/json' 1OayIVwSveNgN5Ij40m5HAXOVcNVp1JpJWw0SXToEBUQ
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://access.redhat.com/errata/RHEA-2017:3462