AttributeError will be raise when list available zones

Bug #1650462 reported by Liusheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mogan
Fix Committed
Medium
Liusheng

Bug Description

the available list api has been broken by AttributeError, the related log in nimble-engine.log is:

2016-12-16 14:49:53.307 25193 ERROR oslo_messaging.rpc.server [req-83f9c5f9-f5ec-46bd-bd9c-52a831fb6ee2 admin admin - - -] Exception during message handling
2016-12-16 14:49:53.307 25193 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2016-12-16 14:49:53.307 25193 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
2016-12-16 14:49:53.307 25193 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2016-12-16 14:49:53.307 25193 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch
2016-12-16 14:49:53.307 25193 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2016-12-16 14:49:53.307 25193 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 192, in _do_dispatch
2016-12-16 14:49:53.307 25193 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2016-12-16 14:49:53.307 25193 ERROR oslo_messaging.rpc.server File "/opt/stack/nimble/nimble/engine/manager.py", line 276, in list_availability_zones
2016-12-16 14:49:53.307 25193 ERROR oslo_messaging.rpc.server az = node.properties.get('availability_zone')
2016-12-16 14:49:53.307 25193 ERROR oslo_messaging.rpc.server AttributeError: 'unicode' object has no attribute 'properties'
2016-12-16 14:49:53.307 25193 ERROR oslo_messaging.rpc.server

Liusheng (liusheng)
Changed in nimble:
assignee: nobody → Liusheng (liusheng)
Revision history for this message
Liusheng (liusheng) wrote :
Changed in nimble:
status: New → Fix Committed
Changed in mogan:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.