Audit fails with watcher.decision_engine.scheduling error

Bug #1614291 reported by Prashanth Hari on 2016-08-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
High
Prashanth Hari

Bug Description

Audit fails with scheduling error -

2016-08-16 21:54:10.868 ERROR watcher.decision_engine.scheduling [req-0a0b0672-cb73-49cb-944b-8a758148643c None None] OS-EXT-STS:instance_state
2016-08-16 21:54:10.868 TRACE watcher.decision_engine.scheduling Traceback (most recent call last):
2016-08-16 21:54:10.868 TRACE watcher.decision_engine.scheduling File "/usr/local/lib/python2.7/dist-packages/watcher/decision_engine/scheduling.py", line 69, in _sync
2016-08-16 21:54:10.868 TRACE watcher.decision_engine.scheduling timed_sync()
2016-08-16 21:54:10.868 TRACE watcher.decision_engine.scheduling File "/usr/local/lib/python2.7/dist-packages/watcher/decision_engine/scheduling.py", line 57, in _timed_sync
2016-08-16 21:54:10.868 TRACE watcher.decision_engine.scheduling sync_func()
2016-08-16 21:54:10.868 TRACE watcher.decision_engine.scheduling File "/usr/local/lib/python2.7/dist-packages/watcher/decision_engine/model/collector/base.py", line 169, in synchronize
2016-08-16 21:54:10.868 TRACE watcher.decision_engine.scheduling self.cluster_data_model = self.execute()
2016-08-16 21:54:10.868 TRACE watcher.decision_engine.scheduling File "/usr/local/lib/python2.7/dist-packages/watcher/decision_engine/model/collector/nova.py", line 82, in execute
2016-08-16 21:54:10.868 TRACE watcher.decision_engine.scheduling instance.state = getattr(v, 'OS-EXT-STS:instance_state')
2016-08-16 21:54:10.868 TRACE watcher.decision_engine.scheduling File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 180, in __getattr__
2016-08-16 21:54:10.868 TRACE watcher.decision_engine.scheduling raise AttributeError(k)
2016-08-16 21:54:10.868 TRACE watcher.decision_engine.scheduling AttributeError: OS-EXT-STS:instance_state
2016-08-16 21:54:10.868 TRACE watcher.decision_engine.scheduling

Looks like this is after the recent refactoring - https://review.openstack.org/#/c/348891/4

Prashanth Hari (hvprash) on 2016-08-17
Changed in watcher:
assignee: nobody → Prashanth Hari (hvprash)
status: New → In Progress
Changed in watcher:
importance: Undecided → High
milestone: none → newton-3
status: In Progress → Fix Committed
Changed in watcher:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers