yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58048
[Bug 1635467] [NEW] _emit_versioned_exception_notification fails with AttributeError: 'NoneType' object has no attribute '__name__'
Public bug reported:
Seen here:
http://logs.openstack.org/99/389399/1/check/gate-tempest-dsvm-full-
devstack-plugin-ceph-ubuntu-
xenial/9ef7a1b/logs/screen-n-cpu.txt.gz?level=TRACE#_2016-10-21_00_55_46_872
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server [req-a08665db-81d9-4114-9523-d7bf54576c3c tempest-ServerRescueNegativeTestJSON-1537801177 tempest-ServerRescueNegativeTestJSON-1537801177] Exception during message handling
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 225, in dispatch
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 195, in _do_dispatch
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server File "/opt/stack/new/nova/nova/exception_wrapper.py", line 75, in wrapped
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server function_name, call_dict, binary)
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server File "/opt/stack/new/nova/nova/exception_wrapper.py", line 32, in _emit_exception_notification
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server _emit_versioned_exception_notification(context, ex, binary)
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server File "/opt/stack/new/nova/nova/exception_wrapper.py", line 36, in _emit_versioned_exception_notification
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server versioned_exception_payload = exception.ExceptionPayload.from_exception(ex)
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server File "/opt/stack/new/nova/nova/notifications/objects/exception.py", line 40, in from_exception
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server module_name=inspect.getmodule(trace[0]).__name__,
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server AttributeError: 'NoneType' object has no attribute '__name__'
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server
** Affects: nova
Importance: Undecided
Status: Confirmed
** Tags: notifications
** Changed in: nova
Status: New => Confirmed
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1635467
Title:
_emit_versioned_exception_notification fails with AttributeError:
'NoneType' object has no attribute '__name__'
Status in OpenStack Compute (nova):
Confirmed
Bug description:
Seen here:
http://logs.openstack.org/99/389399/1/check/gate-tempest-dsvm-full-
devstack-plugin-ceph-ubuntu-
xenial/9ef7a1b/logs/screen-n-cpu.txt.gz?level=TRACE#_2016-10-21_00_55_46_872
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server [req-a08665db-81d9-4114-9523-d7bf54576c3c tempest-ServerRescueNegativeTestJSON-1537801177 tempest-ServerRescueNegativeTestJSON-1537801177] Exception during message handling
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 225, in dispatch
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 195, in _do_dispatch
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server File "/opt/stack/new/nova/nova/exception_wrapper.py", line 75, in wrapped
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server function_name, call_dict, binary)
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server File "/opt/stack/new/nova/nova/exception_wrapper.py", line 32, in _emit_exception_notification
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server _emit_versioned_exception_notification(context, ex, binary)
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server File "/opt/stack/new/nova/nova/exception_wrapper.py", line 36, in _emit_versioned_exception_notification
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server versioned_exception_payload = exception.ExceptionPayload.from_exception(ex)
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server File "/opt/stack/new/nova/nova/notifications/objects/exception.py", line 40, in from_exception
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server module_name=inspect.getmodule(trace[0]).__name__,
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server AttributeError: 'NoneType' object has no attribute '__name__'
2016-10-21 00:55:46.872 27346 ERROR oslo_messaging.rpc.server
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1635467/+subscriptions
Follow ups