Comment 5 for bug 1346466

Revision history for this message
Kurt Martin (kurt-f-martin) wrote :

So, I changed the notification_driver to the following:
notification_driver = oslo.messaging.notify.notifier.rpc_notifier

And I continue to get the same error as shown below, I believe this olso-messaging port commit https://review.openstack.org/#/c/71873/ that introduced this problem, with this change https://review.openstack.org/#/c/71873/24/cinder/openstack/common/log_handler.py
is the cause, so this maybe be a cinder issue with backwards compatibility as the note indicates from flapper87 in the commit

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line 97, in wait
    readers.get(fileno, noop).cb(fileno)
  File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main
    result = function(*args, **kwargs)
  File "/opt/stack/cinder/cinder/openstack/common/service.py", line 483, in run_service
    service.start()
  File "/opt/stack/cinder/cinder/service.py", line 107, in start
    self.manager.init_host()
  File "/opt/stack/cinder/cinder/volume/manager.py", line 211, in init_host
    {'name': self.driver.__class__.__name__})
  File "/usr/lib/python2.7/logging/__init__.py", line 1436, in error
    self.logger.error(msg, *args, **kwargs)
  File "/usr/lib/python2.7/logging/__init__.py", line 1166, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/usr/lib/python2.7/logging/__init__.py", line 1258, in _log
    self.handle(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 1268, in handle
    self.callHandlers(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 1308, in callHandlers
    hdlr.handle(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 748, in handle
    self.emit(record)
  File "/opt/stack/cinder/cinder/openstack/common/log_handler.py", line 29, in emit
    dict(error=record.msg))
TypeError: info() takes exactly 4 arguments (3 given)