[Pki-devel] [PATCH] refactor installation code to use python client instead of jython

Endi Sukma Dewata edewata at redhat.com
Wed Mar 20 20:49:27 UTC 2013


On 3/20/2013 2:26 PM, Ade Lee wrote:
> I'll file a separate patch to address the issues below.
>
> For the last issue, I am attaching a patch to check the server status
> prior to doing the configuration.  This patch is to be applied on top of
> the previous one. (122)
>
> Ade

OCSP installation is consistently failing. There's a missing 
<servlet-mapping> element.

pkispawn    : INFO     ....... executing 'systemctl start 
pki-tomcatd at ocsp-master.service'
Traceback (most recent call last):
   File "/sbin/pkispawn", line 405, in <module>
     main(sys.argv)
   File "/sbin/pkispawn", line 389, in main
     rv = instance.spawn()
   File 
"/usr/lib/python2.7/site-packages/pki/deployment/configuration.py", line 
98, in spawn
     status = util.instance.wait_for_startup(60)
   File "/usr/lib/python2.7/site-packages/pki/deployment/pkihelper.py", 
line 1026, in wait_for_startup
     status = self.get_instance_status()
   File "/usr/lib/python2.7/site-packages/pki/deployment/pkihelper.py", 
line 1005, in get_instance_status
     response = client.getStatus()
   File "/usr/lib/python2.7/site-packages/pki/system.py", line 80, in 
getStatus
     self.connection.subsystem + '/getStatus')
   File "/usr/lib/python2.7/site-packages/pki/client.py", line 54, in get
     r.raise_for_status()
   File "/usr/lib/python2.7/site-packages/requests/models.py", line 638, 
in raise_for_status
     raise http_error
requests.exceptions.HTTPError: 404 Client Error: Not Found

-- 
Endi S. Dewata




More information about the Pki-devel mailing list