#3746 ipa-adtrust-install fails if server was installed without DNS
Closed: Fixed None Opened 10 years ago by akrivoka.

To reproduce:

  1. run ipa-server-install without the --setup-dns option
  2. run ipa-adtrust-install

ipa-adtrust-install fails:

   <snip>
  [15/19]: adding special DNS service records
DNS management was not enabled at install time.
Add the following service records to your DNS server for DNS zone idm.lab.bos.redhat.com: 
Unexpected error - see /var/log/ipaserver-install.log for details:
ValueError: too many values to unpack

End of /var/log/ipaserver-install.log:

2013-06-21T13:57:54Z DEBUG DNS management was not enabled at install time.
2013-06-21T13:57:54Z DEBUG Add the following service records to your DNS server for DNS zone idm.lab.bos.redhat.com: 
2013-06-21T13:57:54Z INFO   File "/usr/lib/python2.7/site-packages/ipaserver/install/installutils.py", line 614, in run_script
    return_value = main_function()

  File "/sbin/ipa-adtrust-install", line 368, in main
    smb.create_instance()

  File "/usr/lib/python2.7/site-packages/ipaserver/install/adtrustinstance.py", line 825, in create_instance
    self.start_creation(show_service_name=False)

  File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 364, in start_creation
    method()

  File "/usr/lib/python2.7/site-packages/ipaserver/install/adtrustinstance.py", line 538, in __add_dns_service_records
    for (srv, rdata) in ipa_srv_rec:

2013-06-21T13:57:54Z INFO The ipa-adtrust-install command failed, exception: ValueError: too many values to unpack

Metadata Update from @akrivoka:
- Issue assigned to akrivoka
- Issue set to the milestone: FreeIPA 3.2.x - 2013/06 (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata