diff --git a/ceilometer/service.py b/ceilometer/service.py index e53b63770..d3e06f7fb 100644 --- a/ceilometer/service.py +++ b/ceilometer/service.py @@ -108,9 +108,10 @@ class DispatchedService(object): def prepare_service(argv=None): - # NOTE(jd) We need to monkey patch the socket module for, at least, - # oslo.rpc, otherwise everything's blocked on its first read() - eventlet.monkey_patch(socket=True) + # NOTE(jd) We need to monkey patch the socket and select module for, + # at least, oslo.rpc, otherwise everything's blocked on its first read() + # or select() + eventlet.monkey_patch(socket=True, select=True) gettextutils.install('ceilometer', lazy=True) rpc.set_defaults(control_exchange='ceilometer') cfg.set_defaults(log.log_opts,