Infinite loop raising AuthenticationFailure when trying to start Zuul daemon

Bug #1186068 reported by Jay Pipes
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Zuul
New
Undecided
Unassigned

Bug Description

jp833r@a12r1:~$ sudo zuul-server -d
[sudo] password for jp833r:
serving on 0.0.0.0:8001 view at http://127.0.0.1:8001
/usr/local/lib/python2.7/dist-packages/paramiko/client.py:95: UserWarning: Unknown ssh-rsa host key for reviews.sl.attcompute.com: bad04a66b293f16e0833c12e3309b315
  (key.get_name(), hostname, hexlify(key.get_fingerprint())))
The authenticity of host 'reviews.sl.attcompute.com (12.206.225.84)' can't be established.
RSA key fingerprint is ba:d0:4a:66:b2:93:f1:6e:08:33:c1:2e:33:09:b3:15.
Are you sure you want to continue connecting (yes/no)? 2013-05-31 01:15:02,431 ERROR gerrit.GerritWatcher: Exception on ssh event stream:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/zuul-1.2.0.23.g42f7482-py2.7.egg/zuul/lib/gerrit.py", line 64, in _run
    key_filename=self.keyfile)
  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 337, in connect
    self._auth(username, password, pkey, key_filenames, allow_agent, look_for_keys)
  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 528, in _auth
    raise saved_exception
AuthenticationException: Authentication failed.
2013-05-31 01:15:07,829 ERROR gerrit.GerritWatcher: Exception on ssh event stream:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/zuul-1.2.0.23.g42f7482-py2.7.egg/zuul/lib/gerrit.py", line 64, in _run
    key_filename=self.keyfile)
  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 337, in connect
    self._auth(username, password, pkey, key_filenames, allow_agent, look_for_keys)
  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 528, in _auth
    raise saved_exception
AuthenticationException: Authentication failed.
^C2013-05-31 01:15:11,320 ERROR zuul.Merger: Unable to initialize repo for att-cloud/substructure
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/zuul-1.2.0.23.g42f7482-py2.7.egg/zuul/merger.py", line 150, in addProject
    repo = Repo(url, path, self.email, self.username)
  File "/usr/local/lib/python2.7/dist-packages/zuul-1.2.0.23.g42f7482-py2.7.egg/zuul/merger.py", line 32, in __init__
    self._ensure_cloned()
  File "/usr/local/lib/python2.7/dist-packages/zuul-1.2.0.23.g42f7482-py2.7.egg/zuul/merger.py", line 44, in _ensure_cloned
    git.Repo.clone_from(self.remote_url, self.local_path)
  File "/usr/local/lib/python2.7/dist-packages/GitPython-0.3.2.RC1-py2.7.egg/git/repo/base.py", line 739, in clone_from
    return cls._clone(Git(os.getcwd()), url, to_path, GitCmdObjectDB, progress, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/GitPython-0.3.2.RC1-py2.7.egg/git/repo/base.py", line 709, in _clone
    repo = cls(os.path.abspath(path), odbt = odbt)
  File "/usr/local/lib/python2.7/dist-packages/GitPython-0.3.2.RC1-py2.7.egg/git/repo/base.py", line 98, in __init__
    raise NoSuchPathError(epath)
NoSuchPathError: /var/lib/zuul/git/att-cloud/substructure
Traceback (most recent call last):
  File "/usr/local/bin/zuul-server", line 9, in <module>
    load_entry_point('zuul==1.2.0.23.g42f7482', 'console_scripts', 'zuul-server')()
  File "/usr/local/lib/python2.7/dist-packages/zuul-1.2.0.23.g42f7482-py2.7.egg/zuul/cmd/server.py", line 166, in main
    server.main()
  File "/usr/local/lib/python2.7/dist-packages/zuul-1.2.0.23.g42f7482-py2.7.egg/zuul/cmd/server.py", line 113, in main
    self.sched.reconfigure(self.config)
  File "/usr/local/lib/python2.7/dist-packages/zuul-1.2.0.23.g42f7482-py2.7.egg/zuul/scheduler.py", line 338, in reconfigure
    self.reconfigure_complete_event.wait()
  File "/usr/lib/python2.7/threading.py", line 403, in wait
    self.__cond.wait(timeout)
  File "/usr/lib/python2.7/threading.py", line 243, in wait
    waiter.acquire()
  File "/usr/local/lib/python2.7/dist-packages/async-0.6.1-py2.7-linux-x86_64.egg/async/__init__.py", line 21, in thread_interrupt_handler
    prev_handler(signum, frame)
KeyboardInterrupt
2013-05-31 01:15:13,132 ERROR gerrit.GerritWatcher: Exception on ssh event stream:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/zuul-1.2.0.23.g42f7482-py2.7.egg/zuul/lib/gerrit.py", line 64, in _run
    key_filename=self.keyfile)
  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 337, in connect
    self._auth(username, password, pkey, key_filenames, allow_agent, look_for_keys)
  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 528, in _auth
    raise saved_exception
AuthenticationException: Authentication failed.
^C^C^C^C^C^C^C^C^C^C^C2013-05-31 01:15:18,519 ERROR gerrit.GerritWatcher: Exception on ssh event stream:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/zuul-1.2.0.23.g42f7482-py2.7.egg/zuul/lib/gerrit.py", line 64, in _run
    key_filename=self.keyfile)
  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 337, in connect
    self._auth(username, password, pkey, key_filenames, allow_agent, look_for_keys)
  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 528, in _auth
    raise saved_exception
AuthenticationException: Authentication failed.
^C^C^C^C^Z
[1]+ Stopped sudo zuul-server -d

We're not sure exactly what we're missing in our configuration of Zuul, but the infinite loop cycling when trying to daemonize and connect to Gerrit is quite frustrating :)

wingwj (wingwj)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.