Bug 1243652
| Summary: | Client has missing dependency on memcache | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jamie Lennox <jlennox> |
| Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Namita Soman <nsoman> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.2 | CC: | ksiddiqu, nkinder, pvoborni, rcritten, spoore, tbabej |
| Target Milestone: | rc | Keywords: | TestBlocker |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-4.2.0-3.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-19 12:04:23 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Upstream ticket: https://fedorahosted.org/freeipa/ticket/5133 Client should not depend on memcache. ipalib/plugins/session.py will be changed to not use the invalid import on client. Fixed upstream master: https://fedorahosted.org/freeipa/changeset/9d69ad24282d19575295f1b2dd756ad9dd865c63 ipa-4-2: https://fedorahosted.org/freeipa/changeset/6275d94df30c0c17d2317ad0fba3b28d433efa06 Adding TestBlocker since this is holding up testing.
Also note that we saw the same here:
cmdline: /usr/bin/python2 -E /sbin/ipa-client-automount --uninstall --debug
:session.py:19:<module>:ImportError: No module named memcache
:
:Traceback (most recent call last):
: File "/sbin/ipa-client-automount", line 486, in <module>
: sys.exit(main())
: File "/sbin/ipa-client-automount", line 376, in main
: api.finalize()
: File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 651, in finalize
: self.__do_if_not_done('load_plugins')
: File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 365, in __do_if_not_done
: getattr(self, name)()
: File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 529, in load_plugins
: self.import_plugins(module)
: File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 567, in import_plugins
: module = importlib.import_module(name)
: File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
: __import__(name)
: File "/usr/lib/python2.7/site-packages/ipalib/plugins/session.py", line 7, in <module>
: from ipalib.session import session_mgr
: File "/usr/lib/python2.7/site-packages/ipalib/session.py", line 19, in <module>
: import memcache
:ImportError: No module named memcache
Verified. Version :: ipa-client-4.2.0-3.el7.x86_64 Results :: [root@client3 yum.repos.d]# ipa-client-install -p admin -w Secret123 -U Using existing certificate '/etc/ipa/ca.crt'. Discovery was successful! Client hostname: client3.testrelm.test Realm: TESTRELM.TEST DNS Domain: testrelm.test IPA Server: master.testrelm.test BaseDN: dc=testrelm,dc=test Synchronizing time with KDC... Attempting to sync time using ntpd. Will timeout after 15 seconds Enrolled in IPA realm TESTRELM.TEST Created /etc/ipa/default.conf New SSSD config will be created Configured sudoers in /etc/nsswitch.conf Configured /etc/sssd/sssd.conf Configured /etc/krb5.conf for IPA realm TESTRELM.TEST trying https://master.testrelm.test/ipa/json Forwarding 'ping' to json server 'https://master.testrelm.test/ipa/json' Forwarding 'ca_is_enabled' to json server 'https://master.testrelm.test/ipa/json' Systemwide CA database updated. Added CA certificates to the default NSS database. Hostname (client3.testrelm.test) not found in DNS DNS server record set to: client3.testrelm.test -> 192.168.122.75 Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub Forwarding 'host_mod' to json server 'https://master.testrelm.test/ipa/json' SSSD enabled Configured /etc/openldap/ldap.conf NTP enabled Configured /etc/ssh/ssh_config Configured /etc/ssh/sshd_config Configuring testrelm.test as NIS domain. Client configuration complete. I also checked ipa-automount-install where we also saw it: [root@client3 yum.repos.d]# ipa-client-automount --server=master.testrelm.test IPA server: master.testrelm.test Location: default Continue to configure the system with these values? [no]: yes Configured /etc/sysconfig/nfs Configured /etc/idmapd.conf Started rpcidmapd Started rpcgssd Restarting sssd, waiting for it to become available. Started autofs [root@client3 yum.repos.d]# ipa-client-automount --uninstall -U Restoring configuration [root@client3 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/RHBA-2015-2362.html |
Running ipa-client-install on nightly rhel 7.2 builds tries to import memcache after the certificate has been downloaded. Command: "ipa-client-install", "-U", "--principal", "admin", "--password", "password", "--domain", "fedtest.org", "--force", "--force-ntpd" Discovery was successful! Client hostname: openstack.fedtest.org Realm: FEDTEST.ORG DNS Domain: fedtest.org IPA Server: ipa.fedtest.org BaseDN: dc=fedtest,dc=org Synchronizing time with KDC... Attempting to sync time using ntpd. Will timeout after 15 seconds Successfully retrieved CA cert Subject: CN=Certificate Authority,O=FEDTEST.ORG Issuer: CN=Certificate Authority,O=FEDTEST.ORG Valid From: Wed Jul 15 07:21:57 2015 UTC Valid Until: Sun Jul 15 07:21:57 2035 UTC Enrolled in IPA realm FEDTEST.ORG Created /etc/ipa/default.conf Traceback (most recent call last): File "/usr/sbin/ipa-client-install", line 2981, in <module> sys.exit(main()) File "/usr/sbin/ipa-client-install", line 2962, in main rval = install(options, env, fstore, statestore) File "/usr/sbin/ipa-client-install", line 2592, in install api.finalize() File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 651, in finalize self.__do_if_not_done('load_plugins') File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 365, in __do_if_not_done getattr(self, name)() File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 529, in load_plugins self.import_plugins(module) File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 567, in import_plugins module = importlib.import_module(name) File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/usr/lib/python2.7/site-packages/ipalib/plugins/session.py", line 7, in <module> from ipalib.session import session_mgr File "/usr/lib/python2.7/site-packages/ipalib/session.py", line 19, in <module> import memcache ImportError: No module named memcache Packages: ipa-client-4.2.0-1.el7.x86_64 ipa-python-4.2.0-1.el7.x86_64