Martin Nagy wrote:
On Fri, 2010-01-22 at 10:30 -0500, Rob Crittenden wrote:
Martin Nagy wrote:
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 :)

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=
Directory Manager (existing master) password:

Preparing replica for from
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/
Adding DNS records for
preparation of replica failed: no such entry
no such entry
   File "/usr/sbin/ipa-replica-prepare", line 338, in <module>

   File "/usr/sbin/ipa-replica-prepare", line 329, in main
     zone = add_zone(domain)

File "/usr/lib/python2.6/site-packages/ipaserver/install/", line 73, in add_zone

File "/usr/lib/python2.6/site-packages/ipalib/", line 412, in __call__
     ret =*args, **options)

File "/usr/lib/python2.6/site-packages/ipalib/", line 680, in run
     return self.execute(*args, **options)

File "/usr/lib/python2.6/site-packages/ipalib/plugins/", line 203, in execute
     ldap.add_entry(dn, entry_attrs)

File "/usr/lib/python2.6/site-packages/ipalib/", line 188, in new_f
     return f(*new_args, **kwargs)

File "/usr/lib/python2.6/site-packages/ipaserver/plugins/", line 334, in add_entry
     _handle_errors(e, **{})

File "/usr/lib/python2.6/site-packages/ipaserver/plugins/", line 71, in _handle_errors
     raise errors.NotFound(reason='no such entry')


Thanks, new patches attached.


ack both, pushed to master

Freeipa-devel mailing list

Reply via email to