Hi Jeff,

On Tue, 20 Mar 2018 15:28:46 -0700 Jeff Kirsher <jeffrey.t.kirs...@intel.com> 
wrote:
>
> Thanks and so far it looks like it is fixed, I will continue to
> monitor it though.  I did notice pwclient throwing some errors, such
> as:
> 
> Traceback (most recent call last):
>   File "/home/jtkirshe/bin/pwclient", line 827, in <module>
>     main()
>   File "/home/jtkirshe/bin/pwclient", line 780, in main
>     action_get(rpc, patch_id)
>   File "/home/jtkirshe/bin/pwclient", line 300, in action_get
>     patch = rpc.patch_get(patch_id)
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1243, in __call__
>     return self.__send(self.__name, args)
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1602, in __request
>     verbose=self.__verbose
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1283, in request
>     return self.single_request(host, handler, request_body, verbose)
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1311, in single_request
>     self.send_content(h, request_body)
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1459, in send_content
>     connection.endheaders(request_body)
>   File "/usr/lib64/python2.7/httplib.py", line 1038, in endheaders
>     self._send_output(message_body)
>   File "/usr/lib64/python2.7/httplib.py", line 882, in _send_output
>     self.send(msg)
>   File "/usr/lib64/python2.7/httplib.py", line 844, in send
>     self.connect()
>   File "/usr/lib64/python2.7/httplib.py", line 821, in connect
>     self.timeout, self.source_address)
>   File "/usr/lib64/python2.7/socket.py", line 575, in create_connection
>     raise err
> socket.error: [Errno 111] Connection refused

This looks like what would happen if you tried to use pwclient when our
web server was down.  This happens every now and then for very short
periods of time when we do updates to various things (including
libraries that the web server itself depends on).

Do the developers:  maybe it is worth catching this error in particular
and giving some reasonable message (or, optionally,trying again after a
short wait - or both).
-- 
Cheers,
Stephen Rothwell

Attachment: pgpHhR5yOOflo.pgp
Description: OpenPGP digital signature

_______________________________________________
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to