[OpenStack-Infra] zuul gives Exception on ssh event stream:

Naggappan Rm naggappan at gmail.com
Thu Dec 11 07:17:06 UTC 2014


Hi Team,

I am trying to set up a CI system. And I used the existing puppet modules
and were able to successfully install the jenkins,zuul . When i start the
zuul i get the following error,

jenkins at jenkins-virtual-machine:~$ tailf /var/log/zuul/zuul.log
    key_filename=self.keyfile)
  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line
251, in connect
    retry_on_signal(lambda: sock.connect(addr))
  File "/usr/local/lib/python2.7/dist-packages/paramiko/util.py", line 278,
in retry_on_signal
    return function()
  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line
251, in <lambda>
    retry_on_signal(lambda: sock.connect(addr))
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 111] Connection refused
2014-12-10 22:28:57,352 ERROR gerrit.GerritWatcher: Exception on ssh event
stream:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/zuul/lib/gerrit.py", line
64, in _run
    key_filename=self.keyfile)
  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line
251, in connect
    retry_on_signal(lambda: sock.connect(addr))
  File "/usr/local/lib/python2.7/dist-packages/paramiko/util.py", line 278,
in retry_on_signal
    return function()
  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line
251, in <lambda>
    retry_on_signal(lambda: sock.connect(addr))
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 111] Connection refused


*Note I have done the following steps to make sure that connection is
propper :*
*  suod su - zuul
* ssh -i /var/lib/zuul/ssh/id_rsa -p 29418 ib-ipam-ci at review.openstack.org
gerrit stream-events
* It makes sure that the key is proper and communication is also propper
* Also i did sudo service zuul-manager stop;sudo service zuul stop
* rm -rf /var/log/zuul/*
* sudo service zuul-manager start;sudo service zuul start
*Still i get the same error
* I have tried this in ubuntu 12.04 and ubuntu 14.04


My zuul.conf as follows, (i have not used baseurl but i guess that might
also require)

[gearman]
server=127.0.0.1

[gearman_server]
start=true
log_config=/etc/zuul/gearman-logging.conf

[gerrit]
server=review.openstack.org
user=ib-ipam-ci
sshkey=/var/lib/zuul/ssh/id_rsa
#baseurl=what?

[zuul]
layout_config=/etc/zuul/layout/layout.yaml
log_config=/etc/zuul/logging.conf
state_dir=/var/lib/zuul
git_dir=/var/lib/zuul/git
url_pattern=
status_url=http://http://10.39.18.26/IB_IPAM_REPORT//zuul/status
job_name_in_report=true
zuul_url=

[merger]
git_dir=/var/lib/zuul/git
zuul_url=
log_config=/etc/zuul/merger-logging.conf
git_user_email=testing at myvendor.com
git_user_name=MyVendor Jenkins


[smtp]
server=localhost
port=25
default_from=zuul at jenkins-virtual-machine
default_to=zuul.reports at jenkins-virtual-machine



Regards,
Naggappan Rm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20141211/0c5dedfa/attachment.html>


More information about the OpenStack-Infra mailing list