yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #31602
[Bug 1435586] Re: trigger security group refresh gives 'dict' object has no attribute 'uuid'
** Changed in: nova
Status: Fix Committed => Fix Released
--
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/1435586
Title:
trigger security group refresh gives 'dict' object has no attribute
'uuid'
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
During trigger_rules_refresh(), we get this from compute manager:
2015-03-23 03:50:49.677 ERROR oslo_messaging.rpc.dispatcher [req-117e72d4-8c12-4805-9c65-695b62fad491 alt_demo alt_demo] Exception during message handling: 'dict' object has no attribute 'uuid'
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher executor_callback))
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher executor_callback)
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args)
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher File "/opt/stack/new/nova/nova/exception.py", line 88, in wrapped
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher payload)
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 85, in __exit__
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher File "/opt/stack/new/nova/nova/exception.py", line 71, in wrapped
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher return f(self, context, *args, **kw)
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher File "/opt/stack/new/nova/nova/compute/manager.py", line 1301, in refresh_instance_security_rules
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher @utils.synchronized(instance.uuid)
2015-03-23 03:50:49.677 32448 TRACE oslo_messaging.rpc.dispatcher AttributeError: 'dict' object has no attribute 'uuid'
This happens because we're passing non-object instances to
refresh_instance_security_rules()
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1435586/+subscriptions
References