]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Disable asynchronous DNS lookups.
authorTommi Virtanen <tv@inktank.com>
Mon, 13 Aug 2012 23:10:05 +0000 (16:10 -0700)
committerTommi Virtanen <tv@inktank.com>
Mon, 13 Aug 2012 23:18:33 +0000 (16:18 -0700)
commit99ac6b0b3e7e6016dbc354b268e8aa90a3af2b3e
tree69f272b88ed7c3e2441a5f30b7d224429a1c807e
parent273a43eda8fcea704f7748a44e960124b5d9dc39
Disable asynchronous DNS lookups.

Especially on older hosts, we keep triggering errors::

  ServerNotFoundError: Unable to find the server at
  teuthology.front.sepia.ceph.com: [Errno 3] name does not exist

That comes from libevent's evdns via gevent.dns and httplib2. The rate
of these errors is low enough that they seem to be perhaps timeouts,
or more arbitrary. Busy looping on DNS resolution calls has never
triggered them, so far.

With ``monkey.patch_all(dns=False)``, the teuthology process will
block as a whole whenever doing DNS resolution. This will hopefully be
rare enough that it won't matter.

The only real "fix" seems to be upgrading libraries and hoping for the
best; this commit can be reverted after that is done.
teuthology/nuke.py
teuthology/run.py