Audit fails to get latest cluster data model

Bug #1614296 reported by Prashanth Hari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
Fix Released
Critical
Prashanth Hari

Bug Description

Audit fails to get latest cluster data model:

2016-08-17 21:43:06.017 INFO watcher.decision_engine.strategy.strategies.vm_workload_consolidation [req-93b551f8-a741-4133-b182-65a054138cd2 None None] Executing Smart Strategy

--- ERROR ---
2016-08-17 21:43:06.017 ERROR watcher.decision_engine.audit.base [req-93b551f8-a741-4133-b182-65a054138cd2 None None] 'ModelRoot' object has no attribute 'get_latest_cluster_data_model'
---

2016-08-17 21:43:06.017 TRACE watcher.decision_engine.audit.base Traceback (most recent call last):
2016-08-17 21:43:06.017 TRACE watcher.decision_engine.audit.base File "/usr/local/lib/python2.7/dist-packages/watcher/decision_engine/audit/base.py", line 106, in execute
2016-08-17 21:43:06.017 TRACE watcher.decision_engine.audit.base solution = self.do_execute(audit, request_context)
2016-08-17 21:43:06.017 TRACE watcher.decision_engine.audit.base File "/usr/local/lib/python2.7/dist-packages/watcher/decision_engine/audit/oneshot.py", line 24, in do_execute
2016-08-17 21:43:06.017 TRACE watcher.decision_engine.audit.base request_context)
2016-08-17 21:43:06.017 TRACE watcher.decision_engine.audit.base File "/usr/local/lib/python2.7/dist-packages/watcher/decision_engine/strategy/context/default.py", line 68, in execute_strategy
2016-08-17 21:43:06.017 TRACE watcher.decision_engine.audit.base return selected_strategy.execute()
2016-08-17 21:43:06.017 TRACE watcher.decision_engine.audit.base File "/usr/local/lib/python2.7/dist-packages/watcher/decision_engine/strategy/strategies/base.py", line 155, in execute
2016-08-17 21:43:06.017 TRACE watcher.decision_engine.audit.base self.do_execute()
2016-08-17 21:43:06.017 TRACE watcher.decision_engine.audit.base File "/usr/local/lib/python2.7/dist-packages/watcher/decision_engine/strategy/strategies/vm_workload_consolidation.py", line 516, in do_execute
2016-08-17 21:43:06.017 TRACE watcher.decision_engine.audit.base model = self.compute_model.get_latest_cluster_data_model()
2016-08-17 21:43:06.017 TRACE watcher.decision_engine.audit.base AttributeError: 'ModelRoot' object has no attribute 'get_latest_cluster_data_model'

Prashanth Hari (hvprash)
Changed in watcher:
assignee: nobody → Prashanth Hari (hvprash)
status: New → In Progress
Prashanth Hari (hvprash)
Changed in watcher:
importance: Undecided → Critical
milestone: none → newton-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to watcher (master)

Fix proposed to branch: master
Review: https://review.openstack.org/357295

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to watcher (master)

Reviewed: https://review.openstack.org/357295
Committed: https://git.openstack.org/cgit/openstack/watcher/commit/?id=9450a7079b31139e663a52974cfef3e813f21a64
Submitter: Jenkins
Branch: master

commit 9450a7079b31139e663a52974cfef3e813f21a64
Author: Prashanth Hari <email address hidden>
Date: Thu Aug 18 11:10:27 2016 -0400

    Fixes to get cluster data model

    Due to the recent code refactor in the cluster data model
    compute model is failing to 'get_latest_cluster_data_model'
    attribute

    Change-Id: Iba848db6d03cf1b682c4000ca48cf846b0ffa79b
    Closes-Bug: #1614296

Changed in watcher:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/watcher 0.29.0

This issue was fixed in the openstack/watcher 0.29.0 release.

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.