Project

General

Profile

Actions

Bug #42017

closed

mgr/prometheus: UnboundLocalError occurs when obj_store is neither filestore nor bluestore

Added by Jiahui Zeng over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, mimic, luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Failed to view metrics through browser when obj_store is neither filestore nor bluestore. The error message is as follows.

if osd_dev_node and osd_dev_node == "unknown":
UnboundLocalError: local variable 'osd_dev_node' referenced before assignment

Related issues 3 (0 open3 closed)

Copied to mgr - Backport #42765: mimic: mgr/prometheus: UnboundLocalError occurs when obj_store is neither filestore nor bluestoreResolvedJan FajerskiActions
Copied to mgr - Backport #42766: nautilus: mgr/prometheus: UnboundLocalError occurs when obj_store is neither filestore nor bluestoreResolvedJan FajerskiActions
Copied to mgr - Backport #42784: luminous: mgr/prometheus: UnboundLocalError occurs when obj_store is neither filestore nor bluestoreResolvedKonstantin ShalyginActions
Actions

Also available in: Atom PDF