Audit fails to get latest cluster data model

Bug #1614296 reported by Prashanth Hari on 2016-08-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
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) on 2016-08-17
Changed in watcher:
assignee: nobody → Prashanth Hari (hvprash)
status: New → In Progress
Prashanth Hari (hvprash) on 2016-08-18
Changed in watcher:
importance: Undecided → Critical
milestone: none → newton-3

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

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  Edit
Everyone can see this information.

Other bug subscribers