Hey All,
I need to reinstall the replica ipa03.ipa.example.com after ipa-server-install
--uninstall, however.
ipa-replica-install replica-info-ipa03.example.com.gpg
Directory Manager (existing master) password:
The host ipa03.example.com already exists on the master server.
You should remove it before proceeding:
% ipa host-del ipa03.example.com
ipa.ipapython.install.cli.install_tool(Replica): ERROR The ipa-replica-install
command failed. See /var/log/ipareplica-install.log for more information
So on the master I ran:
ipa-replica-manage del ipa03.ipa.example.com
' ipa01 .ipa. example.com ' has no replication agreement for ' ipa0 3 .ipa.
example.com '
ipa host-del ipa03.ipa.example.com
ipa: ERROR: invalid 'hostname': An IPA master host cannot be deleted or
disabled
Help?
Thanks Again,
- Jake
2017-01-06T19:40:45Z DEBUG Logging to /var/log/ipareplica-install.log
2017-01-06T19:40:45Z DEBUG ipa-replica-install was invoked with arguments
['replica-info-ipa03.example.com.gpg'] and options: {'no_dns_sshfp': None,
'skip_schema_check': None, 'setup_kra': None, 'ip_addresses': None,
'mkhomedir': None, 'http_cert_files': None, 'ssh_trust_dns': None,
'reverse_zones': None, 'no_forwarders': None, 'keytab': None, 'no_ntp': None,
'domain_name': None, 'http_cert_name': None, 'dirsrv_cert_files': None,
'no_dnssec_validation': None, 'no_reverse': 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,
'verbose': False, 'setup_ca': None, 'realm_name': None, 'skip_conncheck': None,
'no_ssh': None, 'forward_policy': None, 'dirsrv_cert_name': None, 'quiet':
False, 'server': None, 'setup_dns': None, 'host_name': None, 'log_file': None,
'allow_zone_overlap': None}
2017-01-06T19:40:45Z DEBUG IPA version 4.4.0-14.el7.centos.1.1
2017-01-06T19:40:45Z DEBUG Starting external process
2017-01-06T19:40:45Z DEBUG args=/usr/sbin/selinuxenabled
2017-01-06T19:40:45Z DEBUG Process finished, return code=0
2017-01-06T19:40:45Z DEBUG stdout=
2017-01-06T19:40:45Z DEBUG stderr=
2017-01-06T19:40:45Z DEBUG Loading StateFile from
'/var/lib/ipa/sysrestore/sysrestore.state'
2017-01-06T19:40:45Z DEBUG Loading Index file from
'/var/lib/ipa/sysrestore/sysrestore.index'
2017-01-06T19:40:45Z DEBUG httpd is not configured
2017-01-06T19:40:45Z DEBUG kadmin is not configured
2017-01-06T19:40:45Z DEBUG dirsrv is not configured
2017-01-06T19:40:45Z DEBUG pki-tomcatd is not configured
2017-01-06T19:40:45Z DEBUG install is not configured
2017-01-06T19:40:45Z DEBUG krb5kdc is not configured
2017-01-06T19:40:45Z DEBUG ntpd is not configured
2017-01-06T19:40:45Z DEBUG named is not configured
2017-01-06T19:40:45Z DEBUG ipa_memcached is not configured
2017-01-06T19:40:45Z DEBUG filestore is tracking no files
2017-01-06T19:40:45Z DEBUG Loading Index file from
'/var/lib/ipa-client/sysrestore/sysrestore.index'
2017-01-06T19:40:45Z DEBUG Loading StateFile from
'/var/lib/ipa/sysrestore/sysrestore.state'
2017-01-06T19:40:45Z DEBUG Loading Index file from
'/var/lib/ipa/sysrestore/sysrestore.index'
2017-01-06T19:40:45Z DEBUG Starting external process
2017-01-06T19:40:45Z DEBUG args=/usr/sbin/httpd -t -D DUMP_VHOSTS
2017-01-06T19:40:45Z DEBUG Process finished, return code=0
2017-01-06T19:40:45Z DEBUG stdout=VirtualHost configuration:
*:8443 ipa03.example.com (/etc/httpd/conf.d/nss.conf:83)
2017-01-06T19:40:45Z DEBUG stderr=
2017-01-06T19:40:45Z DEBUG Starting external process
2017-01-06T19:40:45Z DEBUG args=/bin/systemctl is-enabled chronyd.service
2017-01-06T19:40:45Z DEBUG Process finished, return code=1
2017-01-06T19:40:45Z DEBUG stdout=
2017-01-06T19:40:45Z DEBUG stderr=Failed to get unit file state for
chronyd.service: No such file or directory
2017-01-06T19:40:45Z DEBUG Starting external process
2017-01-06T19:40:45Z DEBUG args=/bin/systemctl is-active chronyd.service
2017-01-06T19:40:45Z DEBUG Process finished, return code=3
2017-01-06T19:40:45Z DEBUG stdout=unknown
2017-01-06T19:40:45Z DEBUG stderr=
2017-01-06T19:40:48Z DEBUG Starting external process
2017-01-06T19:40:48Z DEBUG args=/usr/bin/gpg-agent --batch --homedir
/tmp/tmpnJnWiQipa/ipa-iUdnBL/.gnupg --daemon /usr/bin/gpg --batch --homedir
/tmp/tmpnJnWiQipa/ipa-iUdnBL/.gnupg --passphrase-fd 0 --yes --no-tty -o
/tmp/tmpnJnWiQipa/files.tar -d replica-info-ipa03.example.com.gpg
2017-01-06T19:40:48Z DEBUG Process finished, return code=0
2017-01-06T19:40:48Z DEBUG Starting external process
2017-01-06T19:40:48Z DEBUG args=tar xf /tmp/tmpnJnWiQipa/files.tar -C
/tmp/tmpnJnWiQipa
2017-01-06T19:40:48Z DEBUG Process finished, return code=0
2017-01-06T19:40:48Z DEBUG stdout=
2017-01-06T19:40:48Z DEBUG stderr=
2017-01-06T19:40:48Z DEBUG Installing replica file with version 40200 (0 means
no version in prepared file).
2017-01-06T19:40:48Z DEBUG Check if ipa03.example.com is a primary hostname for
localhost
2017-01-06T19:40:48Z DEBUG P