The $subject says it all... Any ideas what is going on here?


-------- Original Message --------

So yum install works, but 'ipa-server-install' fails every time - I've tried 
debugging but i think i've gone as far as i can down the pki tomcat rabbit hole:

Configuring certificate server (pki-tomcatd): Estimated time 3 minutes 30 
  [1/20]: creating certificate server user
  [2/20]: configuring certificate server instance
ipa         : CRITICAL failed to configure ca instance Command 
'/usr/sbin/pkispawn -s CA -f /tmp/tmpO2lDxI' returned non-zero exit status 1
Configuration of CA failed

>From the install log:

2013-06-14T16:54:45Z DEBUG Starting external process
2013-06-14T16:54:45Z DEBUG args=/usr/sbin/pkispawn -s CA -f /tmp/tmpO2lDxI
2013-06-14T16:54:51Z DEBUG Process finished, return code=1
2013-06-14T16:54:51Z DEBUG stdout=Loading deployment configuration from 
Installing CA into /var/lib/pki/pki-tomcat.
Storing deployment configuration into 
Installation failed.

2013-06-14T16:54:51Z DEBUG stderr=
2013-06-14T16:54:51Z CRITICAL failed to configure ca instance Command 
'/usr/sbin/pkispawn -s CA -f /tmp/tmpO2lDxI' returned non-zero exit status 1
2013-06-14T16:54:51Z INFO   File 
"/usr/lib/python2.7/site-packages/ipaserver/install/", line 616, 
in run_script
    return_value = main_function()

  File "/usr/sbin/ipa-server-install", line 1025, in main
    dm_password, subject_base=options.subject)

  File "/usr/lib/python2.7/site-packages/ipaserver/install/", line 
617, in configure_instance

  File "/usr/lib/python2.7/site-packages/ipaserver/install/", line 
363, in start_creation

  File "/usr/lib/python2.7/site-packages/ipaserver/install/", line 
736, in __spawn_instance
    raise RuntimeError('Configuration of CA failed')

2013-06-14T16:54:51Z INFO The ipa-server-install command failed, exception: 
RuntimeError: Configuration of CA failed

Running that command by hand exposes a different bug:

/usr/sbin/pkispawn -s CA -f /tmp/tmpO2lDxI
ERROR:  File '/tmp/tmpO2lDxI' is either missing or is NOT a regular file!

Traceback (most recent call last):
  File "/usr/sbin/pkispawn", line 424, in <module>
  File "/usr/sbin/pkispawn", line 122, in main
  File "/usr/lib/python2.7/site-packages/pki/deployment/", line 
153, in validate
NameError: global name 'parser' is not defined

the fix is two places where "parser." needs to be changed to "self." but that 
is just an error in an error path…


Freeipa-users mailing list

Reply via email to