Re: [Freeipa-users] FreeIPA 4.3.0 replica installation fails with AttributeError: 'NameSpace' object has no attribute 'rpcclient'
Hello, sorry for troubles. This is probably this bug: https://fedorahosted.org/freeipa/ticket/5562 It has been fixed, fix will be in IPA 4.3.1 On 17.01.2016 09:48, Nathan Peters wrote: In case anyone is having the same issue, I was able to work around this. I found that if I first installed a Fedora 23 Freeipa 4.2.3 replica, it did not complain about the missing attribute. I assume it added it during the 4.2.3 installations because after I had replaced all CentOS 7 domain controllers with Fedora 23 domain controllers, I was able to perform the upgrade to Fedora 30. *From:*freeipa-users-boun...@redhat.com [mailto:freeipa-users-boun...@redhat.com] *On Behalf Of *Nathan Peters *Sent:* January-16-16 2:13 PM *To:* freeipa-users@redhat.com *Subject:* [Freeipa-users] FreeIPA 4.3.0 replica installation fails with AttributeError: 'NameSpace' object has no attribute 'rpcclient' I’m attempting to add a Fedora 23 Server as a replica in a FreeIPA 4.2.0 CentOS 7.2 domain so I can begin migrating my domain to 4.3.0 and Fedora. Because the domain is still domain level 0, I’ve prepared the replica file on the old CA master (4.2.0) and installed it on the new Fedora replica and installed the freeipa-server and freeipa-server-dns packages from the 4.3.0 COPR repository. When I attempt the ipa-replica-install command, it fails with AttributeError: 'NameSpace' object has no attribute 'rpcclient' --- debugging info including console and log --- [root@dc2-ipa-dev-van yum.repos.d]# ipa-replica-install --mkhomedir --setup-ca --setup-dns --no-forwarders /var/lib/ipa/replica-info-dc2-ipa-dev-van.mydomain.net.gpg WARNING: conflicting time synchronization service 'chronyd' will be disabled in favor of ntpd Directory Manager (existing master) password: Your system may be partly configured. Run /usr/sbin/ipa-server-install --uninstall to clean up. ipa.ipapython.install.cli.install_tool(Replica): ERROR'NameSpace' object has no attribute 'rpcclient' ipa.ipapython.install.cli.install_tool(Replica): ERRORThe ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information [root@dc2-ipa-dev-van yum.repos.d]# cat /var/log/ipareplica-install.log 2016-01-16T22:06:04Z DEBUG Logging to /var/log/ipareplica-install.log 2016-01-16T22:06:04Z DEBUG ipa-replica-install was invoked with arguments ['/var/lib/ipa/replica-info-dc2-ipa-dev-van.mydomain.net.gpg'] and options: { 'no_dns_sshfp': None, 'skip_schema_check': None, 'setup_kra': None, 'ip_addresses': None, 'mkhomedir': True, 'no_pkinit': None, 'http_cert_files': None, 'no_n tp': None, 'verbose': False, 'no_forwarders': True, 'keytab': None, 'ssh_trust_dns': None, 'domain_name': None, 'http_cert_name': None, 'dirsrv_cert_files': N one, 'no_dnssec_validation': None, 'no_reverse': None, 'pkinit_cert_files': None, 'unattended': False, 'auto_reverse': None, 'auto_forwarders': None, 'no_host _dns': None, 'no_sshd': None, 'no_ui_redirect': None, 'dirsrv_config_file': None, 'forwarders': None, 'pkinit_cert_name': None, 'setup_ca': True, 'realm_name' : None, 'skip_conncheck': None, 'no_ssh': None, 'dirsrv_cert_name': None, 'quiet': False, 'server': None, 'setup_dns': True, 'host_name': None, 'log_file': No ne, 'reverse_zones': None, 'allow_zone_overlap': None} 2016-01-16T22:06:04Z DEBUG IPA version 4.3.0-1.fc23 2016-01-16T22:06:04Z DEBUG Starting external process 2016-01-16T22:06:04Z DEBUG args=/usr/sbin/selinuxenabled 2016-01-16T22:06:04Z DEBUG Process finished, return code=1 2016-01-16T22:06:04Z DEBUG stdout= 2016-01-16T22:06:04Z DEBUG stderr= 2016-01-16T22:06:04Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' 2016-01-16T22:06:04Z DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index' 2016-01-16T22:06:04Z DEBUG httpd is not configured 2016-01-16T22:06:04Z DEBUG kadmin is not configured 2016-01-16T22:06:04Z DEBUG dirsrv is not configured 2016-01-16T22:06:04Z DEBUG pki-tomcatd is not configured 2016-01-16T22:06:04Z DEBUG install is not configured 2016-01-16T22:06:04Z DEBUG krb5kdc is not configured 2016-01-16T22:06:04Z DEBUG ntpd is not configured 2016-01-16T22:06:04Z DEBUG named is not configured 2016-01-16T22:06:04Z DEBUG ipa_memcached is not configured 2016-01-16T22:06:04Z DEBUG filestore is tracking no files 2016-01-16T22:06:04Z DEBUG Loading Index file from '/var/lib/ipa-client/sysrestore/sysrestore.index' 2016-01-16T22:06:04Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' 2016-01-16T22:06:04Z DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index' 2016-01-16T22:06:04Z DEBUG Starting external process 2016-01-16T22:06:04Z DEBUG args=/usr/sbin/httpd -t -D DUMP_VHOSTS 2016-01-16T22:06:04Z DEBUG Process finished, return code=0 2016-01-16T22:06:04Z DEBUG stdout=VirtualHost configuration: *:8443 dc2-ipa-dev-van.mydomain.net (/etc/httpd/conf.d/nss.conf:83) 2016-01-16T22:06:04Z
Re: [Freeipa-users] FreeIPA 4.3.0 replica installation fails with AttributeError: 'NameSpace' object has no attribute 'rpcclient'
In case anyone is having the same issue, I was able to work around this. I found that if I first installed a Fedora 23 Freeipa 4.2.3 replica, it did not complain about the missing attribute. I assume it added it during the 4.2.3 installations because after I had replaced all CentOS 7 domain controllers with Fedora 23 domain controllers, I was able to perform the upgrade to Fedora 30. From: freeipa-users-boun...@redhat.com [mailto:freeipa-users-boun...@redhat.com] On Behalf Of Nathan Peters Sent: January-16-16 2:13 PM To: freeipa-users@redhat.com Subject: [Freeipa-users] FreeIPA 4.3.0 replica installation fails with AttributeError: 'NameSpace' object has no attribute 'rpcclient' I'm attempting to add a Fedora 23 Server as a replica in a FreeIPA 4.2.0 CentOS 7.2 domain so I can begin migrating my domain to 4.3.0 and Fedora. Because the domain is still domain level 0, I've prepared the replica file on the old CA master (4.2.0) and installed it on the new Fedora replica and installed the freeipa-server and freeipa-server-dns packages from the 4.3.0 COPR repository. When I attempt the ipa-replica-install command, it fails with AttributeError: 'NameSpace' object has no attribute 'rpcclient' --- debugging info including console and log --- [root@dc2-ipa-dev-van yum.repos.d]# ipa-replica-install --mkhomedir --setup-ca --setup-dns --no-forwarders /var/lib/ipa/replica-info-dc2-ipa-dev-van.mydomain.net.gpg WARNING: conflicting time synchronization service 'chronyd' will be disabled in favor of ntpd Directory Manager (existing master) password: Your system may be partly configured. Run /usr/sbin/ipa-server-install --uninstall to clean up. ipa.ipapython.install.cli.install_tool(Replica): ERROR'NameSpace' object has no attribute 'rpcclient' ipa.ipapython.install.cli.install_tool(Replica): ERRORThe ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information [root@dc2-ipa-dev-van yum.repos.d]# cat /var/log/ipareplica-install.log 2016-01-16T22:06:04Z DEBUG Logging to /var/log/ipareplica-install.log 2016-01-16T22:06:04Z DEBUG ipa-replica-install was invoked with arguments ['/var/lib/ipa/replica-info-dc2-ipa-dev-van.mydomain.net.gpg'] and options: { 'no_dns_sshfp': None, 'skip_schema_check': None, 'setup_kra': None, 'ip_addresses': None, 'mkhomedir': True, 'no_pkinit': None, 'http_cert_files': None, 'no_n tp': None, 'verbose': False, 'no_forwarders': True, 'keytab': None, 'ssh_trust_dns': None, 'domain_name': None, 'http_cert_name': None, 'dirsrv_cert_files': N one, 'no_dnssec_validation': None, 'no_reverse': None, 'pkinit_cert_files': None, 'unattended': False, 'auto_reverse': None, 'auto_forwarders': None, 'no_host _dns': None, 'no_sshd': None, 'no_ui_redirect': None, 'dirsrv_config_file': None, 'forwarders': None, 'pkinit_cert_name': None, 'setup_ca': True, 'realm_name' : None, 'skip_conncheck': None, 'no_ssh': None, 'dirsrv_cert_name': None, 'quiet': False, 'server': None, 'setup_dns': True, 'host_name': None, 'log_file': No ne, 'reverse_zones': None, 'allow_zone_overlap': None} 2016-01-16T22:06:04Z DEBUG IPA version 4.3.0-1.fc23 2016-01-16T22:06:04Z DEBUG Starting external process 2016-01-16T22:06:04Z DEBUG args=/usr/sbin/selinuxenabled 2016-01-16T22:06:04Z DEBUG Process finished, return code=1 2016-01-16T22:06:04Z DEBUG stdout= 2016-01-16T22:06:04Z DEBUG stderr= 2016-01-16T22:06:04Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' 2016-01-16T22:06:04Z DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index' 2016-01-16T22:06:04Z DEBUG httpd is not configured 2016-01-16T22:06:04Z DEBUG kadmin is not configured 2016-01-16T22:06:04Z DEBUG dirsrv is not configured 2016-01-16T22:06:04Z DEBUG pki-tomcatd is not configured 2016-01-16T22:06:04Z DEBUG install is not configured 2016-01-16T22:06:04Z DEBUG krb5kdc is not configured 2016-01-16T22:06:04Z DEBUG ntpd is not configured 2016-01-16T22:06:04Z DEBUG named is not configured 2016-01-16T22:06:04Z DEBUG ipa_memcached is not configured 2016-01-16T22:06:04Z DEBUG filestore is tracking no files 2016-01-16T22:06:04Z DEBUG Loading Index file from '/var/lib/ipa-client/sysrestore/sysrestore.index' 2016-01-16T22:06:04Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' 2016-01-16T22:06:04Z DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index' 2016-01-16T22:06:04Z DEBUG Starting external process 2016-01-16T22:06:04Z DEBUG args=/usr/sbin/httpd -t -D DUMP_VHOSTS 2016-01-16T22:06:04Z DEBUG Process finished, return code=0 2016-01-16T22:06:04Z DEBUG stdout=VirtualHost configuration: *:8443 dc2-ipa-dev-van.mydomain.net (/etc/httpd/conf.d/nss.conf:83) 2016-01-16T22:06:04Z DEBUG stderr= 2016-01-16T22:06:04Z DEBUG Starting external process 2016-01-16T22:06:04Z DEBUG args=/bin/systemctl is-enabled chronyd.service 2016-01-16T22:06:04Z DEBUG Process finished, return code=0 2016-01-16T22:06:04Z DEBUG stdout
[Freeipa-users] FreeIPA 4.3.0 replica installation fails with AttributeError: 'NameSpace' object has no attribute 'rpcclient'
I'm attempting to add a Fedora 23 Server as a replica in a FreeIPA 4.2.0 CentOS 7.2 domain so I can begin migrating my domain to 4.3.0 and Fedora. Because the domain is still domain level 0, I've prepared the replica file on the old CA master (4.2.0) and installed it on the new Fedora replica and installed the freeipa-server and freeipa-server-dns packages from the 4.3.0 COPR repository. When I attempt the ipa-replica-install command, it fails with AttributeError: 'NameSpace' object has no attribute 'rpcclient' --- debugging info including console and log --- [root@dc2-ipa-dev-van yum.repos.d]# ipa-replica-install --mkhomedir --setup-ca --setup-dns --no-forwarders /var/lib/ipa/replica-info-dc2-ipa-dev-van.mydomain.net.gpg WARNING: conflicting time synchronization service 'chronyd' will be disabled in favor of ntpd Directory Manager (existing master) password: Your system may be partly configured. Run /usr/sbin/ipa-server-install --uninstall to clean up. ipa.ipapython.install.cli.install_tool(Replica): ERROR'NameSpace' object has no attribute 'rpcclient' ipa.ipapython.install.cli.install_tool(Replica): ERRORThe ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information [root@dc2-ipa-dev-van yum.repos.d]# cat /var/log/ipareplica-install.log 2016-01-16T22:06:04Z DEBUG Logging to /var/log/ipareplica-install.log 2016-01-16T22:06:04Z DEBUG ipa-replica-install was invoked with arguments ['/var/lib/ipa/replica-info-dc2-ipa-dev-van.mydomain.net.gpg'] and options: { 'no_dns_sshfp': None, 'skip_schema_check': None, 'setup_kra': None, 'ip_addresses': None, 'mkhomedir': True, 'no_pkinit': None, 'http_cert_files': None, 'no_n tp': None, 'verbose': False, 'no_forwarders': True, 'keytab': None, 'ssh_trust_dns': None, 'domain_name': None, 'http_cert_name': None, 'dirsrv_cert_files': N one, 'no_dnssec_validation': None, 'no_reverse': None, 'pkinit_cert_files': None, 'unattended': False, 'auto_reverse': None, 'auto_forwarders': None, 'no_host _dns': None, 'no_sshd': None, 'no_ui_redirect': None, 'dirsrv_config_file': None, 'forwarders': None, 'pkinit_cert_name': None, 'setup_ca': True, 'realm_name' : None, 'skip_conncheck': None, 'no_ssh': None, 'dirsrv_cert_name': None, 'quiet': False, 'server': None, 'setup_dns': True, 'host_name': None, 'log_file': No ne, 'reverse_zones': None, 'allow_zone_overlap': None} 2016-01-16T22:06:04Z DEBUG IPA version 4.3.0-1.fc23 2016-01-16T22:06:04Z DEBUG Starting external process 2016-01-16T22:06:04Z DEBUG args=/usr/sbin/selinuxenabled 2016-01-16T22:06:04Z DEBUG Process finished, return code=1 2016-01-16T22:06:04Z DEBUG stdout= 2016-01-16T22:06:04Z DEBUG stderr= 2016-01-16T22:06:04Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' 2016-01-16T22:06:04Z DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index' 2016-01-16T22:06:04Z DEBUG httpd is not configured 2016-01-16T22:06:04Z DEBUG kadmin is not configured 2016-01-16T22:06:04Z DEBUG dirsrv is not configured 2016-01-16T22:06:04Z DEBUG pki-tomcatd is not configured 2016-01-16T22:06:04Z DEBUG install is not configured 2016-01-16T22:06:04Z DEBUG krb5kdc is not configured 2016-01-16T22:06:04Z DEBUG ntpd is not configured 2016-01-16T22:06:04Z DEBUG named is not configured 2016-01-16T22:06:04Z DEBUG ipa_memcached is not configured 2016-01-16T22:06:04Z DEBUG filestore is tracking no files 2016-01-16T22:06:04Z DEBUG Loading Index file from '/var/lib/ipa-client/sysrestore/sysrestore.index' 2016-01-16T22:06:04Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' 2016-01-16T22:06:04Z DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index' 2016-01-16T22:06:04Z DEBUG Starting external process 2016-01-16T22:06:04Z DEBUG args=/usr/sbin/httpd -t -D DUMP_VHOSTS 2016-01-16T22:06:04Z DEBUG Process finished, return code=0 2016-01-16T22:06:04Z DEBUG stdout=VirtualHost configuration: *:8443 dc2-ipa-dev-van.mydomain.net (/etc/httpd/conf.d/nss.conf:83) 2016-01-16T22:06:04Z DEBUG stderr= 2016-01-16T22:06:04Z DEBUG Starting external process 2016-01-16T22:06:04Z DEBUG args=/bin/systemctl is-enabled chronyd.service 2016-01-16T22:06:04Z DEBUG Process finished, return code=0 2016-01-16T22:06:04Z DEBUG stdout=enabled 2016-01-16T22:06:04Z DEBUG stderr= 2016-01-16T22:06:09Z DEBUG Starting external process 2016-01-16T22:06:09Z DEBUG args=/usr/bin/gpg-agent --batch --homedir /tmp/tmpUXsgIeipa/ipa-HOKFdw/.gnupg --daemon /usr/bin/gpg --batch --homedir /tmp/tmpUXsgI eipa/ipa-HOKFdw/.gnupg --passphrase-fd 0 --yes --no-tty -o /tmp/tmpUXsgIeipa/files.tar -d /var/lib/ipa/replica-info-dc2-ipa-dev-van.mydomain.net.gpg 2016-01-16T22:06:10Z DEBUG Process finished, return code=0 2016-01-16T22:06:10Z DEBUG Starting external process 2016-01-16T22:06:10Z DEBUG args=tar xf /tmp/tmpUXsgIeipa/files.tar -C /tmp/tmpUXsgIeipa 2016-01-16T22:06:10Z DEBUG Process finished, return code=0 2016-01-16T22:06:10Z DEBUG