#6442 replica installation fails on DL1 due to missing file
Closed: Duplicate None Opened 7 years ago by stlaz.

When installing a new replica on domain level 1, the setup fails during creation of a httpd instance due to missing '/etc/httpd/alias/cacert.asc' file.

Reproducible:[[BR]]
100% on machine withou previous IPA installation

Steps to reproduce:
1. set up a master on domain level 0
2. try to install a replica against this master

Expected result:[[BR]]
Successful replica installation

Actual result:

2016-10-31T11:35:07Z DEBUG   [12/20]: publish CA cert
2016-10-31T11:35:07Z DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index'
2016-10-31T11:35:07Z DEBUG Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 448, in start_creation
    run_step(full_msg, method)
  File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 438, in run_step
    method()
  File "/usr/lib/python2.7/site-packages/ipaserver/install/httpinstance.py", line 387, in __publish_ca_cert
    ca_db.publish_ca_cert(paths.CA_CRT)
  File "/usr/lib/python2.7/site-packages/ipaserver/install/certs.py", line 654, in publish_ca_cert
    shutil.copy(self.cacert_fname, location)
  File "/usr/lib64/python2.7/shutil.py", line 119, in copy
    copyfile(src, dst)
  File "/usr/lib64/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/etc/httpd/alias/cacert.asc'

Broken by:
c84d920


Metadata Update from @stlaz:
- Issue assigned to stlaz
- Issue set to the milestone: 0.0 NEEDS_TRIAGE

7 years ago

Login to comment on this ticket.

Metadata