Re: [Freeipa-devel] [PATCHES] Add A and PTR records during ipa-replica-prepare
Martin Nagy wrote: On Fri, 2010-01-22 at 10:30 -0500, Rob Crittenden wrote: Martin Nagy wrote: Hi, these patches will allow one to specify an ip address of the replica to ipa-replica-prepare. The dns records will then be added. This should make life better for QA :) Martin nack, it shouldn't allow the option if DNS is not configured, or at least it shouldn't blow up: # ipa-replica-prepare --ip-address=192.168.166.9 replica4.example.com Directory Manager (existing master) password: Preparing replica for replica4.example.com from luna.example.com Creating SSL certificate for the Directory Server Creating SSL certificate for the Web Server Exporting RA certificate Copying additional files Finalizing configuration Packaging replica information into /var/lib/ipa/replica-info-replica4.example.com.gpg Adding DNS records for replica4.example.com preparation of replica failed: no such entry no such entry File /usr/sbin/ipa-replica-prepare, line 338, in module main() File /usr/sbin/ipa-replica-prepare, line 329, in main zone = add_zone(domain) File /usr/lib/python2.6/site-packages/ipaserver/install/bindinstance.py, line 73, in add_zone idnsupdatepolicy=unicode(update_policy)) File /usr/lib/python2.6/site-packages/ipalib/frontend.py, line 412, in __call__ ret = self.run(*args, **options) File /usr/lib/python2.6/site-packages/ipalib/frontend.py, line 680, in run return self.execute(*args, **options) File /usr/lib/python2.6/site-packages/ipalib/plugins/dns.py, line 203, in execute ldap.add_entry(dn, entry_attrs) File /usr/lib/python2.6/site-packages/ipalib/encoder.py, line 188, in new_f return f(*new_args, **kwargs) File /usr/lib/python2.6/site-packages/ipaserver/plugins/ldap2.py, line 334, in add_entry _handle_errors(e, **{}) File /usr/lib/python2.6/site-packages/ipaserver/plugins/ldap2.py, line 71, in _handle_errors raise errors.NotFound(reason='no such entry') rob Thanks, new patches attached. Martin ack both, pushed to master ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
Re: [Freeipa-devel] [PATCHES] Add A and PTR records during ipa-replica-prepare
Martin Nagy wrote: Hi, these patches will allow one to specify an ip address of the replica to ipa-replica-prepare. The dns records will then be added. This should make life better for QA :) Martin nack, it shouldn't allow the option if DNS is not configured, or at least it shouldn't blow up: # ipa-replica-prepare --ip-address=192.168.166.9 replica4.example.com Directory Manager (existing master) password: Preparing replica for replica4.example.com from luna.example.com Creating SSL certificate for the Directory Server Creating SSL certificate for the Web Server Exporting RA certificate Copying additional files Finalizing configuration Packaging replica information into /var/lib/ipa/replica-info-replica4.example.com.gpg Adding DNS records for replica4.example.com preparation of replica failed: no such entry no such entry File /usr/sbin/ipa-replica-prepare, line 338, in module main() File /usr/sbin/ipa-replica-prepare, line 329, in main zone = add_zone(domain) File /usr/lib/python2.6/site-packages/ipaserver/install/bindinstance.py, line 73, in add_zone idnsupdatepolicy=unicode(update_policy)) File /usr/lib/python2.6/site-packages/ipalib/frontend.py, line 412, in __call__ ret = self.run(*args, **options) File /usr/lib/python2.6/site-packages/ipalib/frontend.py, line 680, in run return self.execute(*args, **options) File /usr/lib/python2.6/site-packages/ipalib/plugins/dns.py, line 203, in execute ldap.add_entry(dn, entry_attrs) File /usr/lib/python2.6/site-packages/ipalib/encoder.py, line 188, in new_f return f(*new_args, **kwargs) File /usr/lib/python2.6/site-packages/ipaserver/plugins/ldap2.py, line 334, in add_entry _handle_errors(e, **{}) File /usr/lib/python2.6/site-packages/ipaserver/plugins/ldap2.py, line 71, in _handle_errors raise errors.NotFound(reason='no such entry') rob ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
Re: [Freeipa-devel] [PATCHES] Add A and PTR records during ipa-replica-prepare
Martin Nagy wrote: Hi, these patches will allow one to specify an ip address of the replica to ipa-replica-prepare. The dns records will then be added. This should make life better for QA :) Martin This looks suspiciously like something to add to the user doc. Can you elaborate a little? I don't have my ipa-server or test machine available atm to check man pages :-\ If necessary pls raise a bugzilla. thanks -- David O'Brien Senior Technical Writer, Engineering Content Services Red Hat Asia Pacific Pty Ltd 193 North Quay, Brisbane +61 7 3514 8189 http://freeipa.org/page/DocumentationPortal http://git.fedorahosted.org/git/ipadocs.git He who asks is a fool for five minutes, but he who does not ask remains a fool forever. ~ Chinese proverb ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel