Accessing to nonexistent nodes of storage model

Bug #1801895 reported by Tatiana Kholkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
Invalid
Undecided
Unassigned

Bug Description

I faced the following trace in my watcher-decision-engine.log:

<email address hidden>#basic.madpool1a'] _get_by_name /opt/watcher/local/lib/python2.7/site-packages/watcher/decision_engine/model/model_root.py:441
2018-11-05 05:00:11.032 3820664 ERROR watcher.decision_engine.model.model_root [req-767d8f4f-1d8a-4347-b260-a044cd9de033 - - - - -] <email address hidden>#fast.madpool1-42833': KeyError: <email address hidden>#fast.madpool1-42833'
2018-11-05 05:00:11.032 3820664 ERROR watcher.decision_engine.model.model_root Traceback (most recent call last):
2018-11-05 05:00:11.032 3820664 ERROR watcher.decision_engine.model.model_root File "/opt/watcher/local/lib/python2.7/site-packages/watcher/decision_engine/model/model_root.py", line 445, in _get_by_name
2018-11-05 05:00:11.032 3820664 ERROR watcher.decision_engine.model.model_root return self.node[name]['attr']
2018-11-05 05:00:11.032 3820664 ERROR watcher.decision_engine.model.model_root File "/opt/watcher/local/lib/python2.7/site-packages/networkx/classes/reportviews.py", line 178, in __getitem__
2018-11-05 05:00:11.032 3820664 ERROR watcher.decision_engine.model.model_root return self._nodes[n]
2018-11-05 05:00:11.032 3820664 ERROR watcher.decision_engine.model.model_root KeyError: <email address hidden>#fast.madpool1-42833'

Looks like it tries to get node by volume_type name, not pool name.

description: updated
Changed in watcher:
status: New → Invalid
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.