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

Ade Lee alee at redhat.com
Thu Mar 21 07:05:32 UTC 2013


Fixed in 124.

On Wed, 2013-03-20 at 15:49 -0500, Endi Sukma Dewata wrote:
> 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
> 





More information about the Pki-devel mailing list