yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #15366
[Bug 1327476] [NEW] AttributeError: 'unicode' object has no attribute 'tb_frame'
Public bug reported:
Saw this in CI -> http://logs.openstack.org/11/98511/2/check/check-
grenade-dsvm/5d60567/logs/new/screen-n-cpu.txt.gz?level=ERROR
2014-06-06 23:00:29.533 ERROR oslo.messaging._drivers.common [req-4ae02289-de3e-4700-968c-7611980e0346 ServerActionsTestXML-67143133 ServerActionsTestXML-1032052660] Returning exception 'unicode' object has no attribute 'tb_frame'
Traceback (most recent call last):
File "/opt/stack/new/nova/nova/conductor/manager.py", line 602, in _object_dispatch
return getattr(target, method)(context, *args, **kwargs)
File "/opt/stack/new/nova/nova/objects/instance_action.py", line 119, in wrapper
kwargs['exc_tb'] = ''.join(traceback.format_tb(exc_tb))
File "/usr/lib/python2.7/traceback.py", line 76, in format_tb
return format_list(extract_tb(tb, limit))
File "/usr/lib/python2.7/traceback.py", line 95, in extract_tb
f = tb.tb_frame
AttributeError: 'unicode' object has no attribute 'tb_frame'
to caller
2014-06-06 23:00:29.534 ERROR oslo.messaging._drivers.common [req-4ae02289-de3e-4700-968c-7611980e0346 ServerActionsTestXML-67143133 ServerActionsTestXML-1032052660] ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/opt/stack/new/nova/nova/exception.py", line 88, in wrapped\n payload)\n', ' File "/opt/stack/new/nova/nova/openstack/common/excutils.py", line 82, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/opt/stack/new/nova/nova/exception.py", line 71, in wrapped\n return f(self, context, *args, **kw)\n', ' File "/opt/stack/new/nova/nova/compute/manager.py", line 286, in decorated_function\n pass\n', ' File "/opt/stack/new/nova/nova/openstack/common/excutils.py", line 82, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/opt/stack/new/nova/nova/compute/manager.py", line 272, in decorated_function\n return function(self, context, *args, **kwargs)\n', ' File "/opt/stack/new/nova/nova/compute/manager.py", line 336, in decorated_function\n function(self, context, *args, **kwargs)\n', ' File "/opt/stack/new/nova/nova/compute/utils.py", line 437, in __exit__\n exc_tb=exc_tb, want_result=False)\n', ' File "/opt/stack/new/nova/nova/objects/instance_action.py", line 121, in wrapper\n return fn.__get__(None, cls)(*args, **kwargs)\n', ' File "/opt/stack/new/nova/nova/objects/base.py", line 144, in wrapper\n args, kwargs)\n', ' File "/opt/stack/new/nova/nova/conductor/rpcapi.py", line 355, in object_class_action\n objver=objver, args=args, kwargs=kwargs)\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 150, in call\n wait_for_reply=True, timeout=timeout)\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 89, in _send\n timeout=timeout)\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 386, in send\n return self._send(target, ctxt, message, wait_for_reply, timeout)\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 379, in _send\n raise result\n', 'AttributeError: \'unicode\' object has no attribute \'tb_frame\'\nTraceback (most recent call last):\n\n File "/opt/stack/new/nova/nova/conductor/manager.py", line 602, in _object_dispatch\n return getattr(target, method)(context, *args, **kwargs)\n\n File "/opt/stack/new/nova/nova/objects/instance_action.py", line 119, in wrapper\n kwargs[\'exc_tb\'] = \'\'.join(traceback.format_tb(exc_tb))\n\n File "/usr/lib/python2.7/traceback.py", line 76, in format_tb\n return format_list(extract_tb(tb, limit))\n\n File "/usr/lib/python2.7/traceback.py", line 95, in extract_tb\n f = tb.tb_frame\n\nAttributeError: \'unicode\' object has no attribute \'tb_frame\'\n\n']
2014-06-06 23:01:15.378 ERROR nova.virt.libvirt.driver [req-a0da2719-553b-4654-8c45-215b49ce1d3f ServerActionsTestJSON-1623844969 ServerActionsTestJSON-1569101731] An error occurred while trying to launch a defined domain with xml: <domain type='qemu'>
I feel like this is the remote end of the error? Or maybe it's an oslo bug, idk.
** Affects: nova
Importance: Undecided
Status: New
--
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/1327476
Title:
AttributeError: 'unicode' object has no attribute 'tb_frame'
Status in OpenStack Compute (Nova):
New
Bug description:
Saw this in CI -> http://logs.openstack.org/11/98511/2/check/check-
grenade-dsvm/5d60567/logs/new/screen-n-cpu.txt.gz?level=ERROR
2014-06-06 23:00:29.533 ERROR oslo.messaging._drivers.common [req-4ae02289-de3e-4700-968c-7611980e0346 ServerActionsTestXML-67143133 ServerActionsTestXML-1032052660] Returning exception 'unicode' object has no attribute 'tb_frame'
Traceback (most recent call last):
File "/opt/stack/new/nova/nova/conductor/manager.py", line 602, in _object_dispatch
return getattr(target, method)(context, *args, **kwargs)
File "/opt/stack/new/nova/nova/objects/instance_action.py", line 119, in wrapper
kwargs['exc_tb'] = ''.join(traceback.format_tb(exc_tb))
File "/usr/lib/python2.7/traceback.py", line 76, in format_tb
return format_list(extract_tb(tb, limit))
File "/usr/lib/python2.7/traceback.py", line 95, in extract_tb
f = tb.tb_frame
AttributeError: 'unicode' object has no attribute 'tb_frame'
to caller
2014-06-06 23:00:29.534 ERROR oslo.messaging._drivers.common [req-4ae02289-de3e-4700-968c-7611980e0346 ServerActionsTestXML-67143133 ServerActionsTestXML-1032052660] ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/opt/stack/new/nova/nova/exception.py", line 88, in wrapped\n payload)\n', ' File "/opt/stack/new/nova/nova/openstack/common/excutils.py", line 82, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/opt/stack/new/nova/nova/exception.py", line 71, in wrapped\n return f(self, context, *args, **kw)\n', ' File "/opt/stack/new/nova/nova/compute/manager.py", line 286, in decorated_function\n pass\n', ' File "/opt/stack/new/nova/nova/openstack/common/excutils.py", line 82, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/opt/stack/new/nova/nova/compute/manager.py", line 272, in decorated_function\n return function(self, context, *args, **kwargs)\n', ' File "/opt/stack/new/nova/nova/compute/manager.py", line 336, in decorated_function\n function(self, context, *args, **kwargs)\n', ' File "/opt/stack/new/nova/nova/compute/utils.py", line 437, in __exit__\n exc_tb=exc_tb, want_result=False)\n', ' File "/opt/stack/new/nova/nova/objects/instance_action.py", line 121, in wrapper\n return fn.__get__(None, cls)(*args, **kwargs)\n', ' File "/opt/stack/new/nova/nova/objects/base.py", line 144, in wrapper\n args, kwargs)\n', ' File "/opt/stack/new/nova/nova/conductor/rpcapi.py", line 355, in object_class_action\n objver=objver, args=args, kwargs=kwargs)\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 150, in call\n wait_for_reply=True, timeout=timeout)\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 89, in _send\n timeout=timeout)\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 386, in send\n return self._send(target, ctxt, message, wait_for_reply, timeout)\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 379, in _send\n raise result\n', 'AttributeError: \'unicode\' object has no attribute \'tb_frame\'\nTraceback (most recent call last):\n\n File "/opt/stack/new/nova/nova/conductor/manager.py", line 602, in _object_dispatch\n return getattr(target, method)(context, *args, **kwargs)\n\n File "/opt/stack/new/nova/nova/objects/instance_action.py", line 119, in wrapper\n kwargs[\'exc_tb\'] = \'\'.join(traceback.format_tb(exc_tb))\n\n File "/usr/lib/python2.7/traceback.py", line 76, in format_tb\n return format_list(extract_tb(tb, limit))\n\n File "/usr/lib/python2.7/traceback.py", line 95, in extract_tb\n f = tb.tb_frame\n\nAttributeError: \'unicode\' object has no attribute \'tb_frame\'\n\n']
2014-06-06 23:01:15.378 ERROR nova.virt.libvirt.driver [req-a0da2719-553b-4654-8c45-215b49ce1d3f ServerActionsTestJSON-1623844969 ServerActionsTestJSON-1569101731] An error occurred while trying to launch a defined domain with xml: <domain type='qemu'>
I feel like this is the remote end of the error? Or maybe it's an oslo bug, idk.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1327476/+subscriptions
Follow ups
References