Project

General

Profile

Bug #42017

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

Added by Jiahui Zeng almost 2 years ago. Updated over 1 year 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

Copied to mgr - Backport #42765: mimic: mgr/prometheus: UnboundLocalError occurs when obj_store is neither filestore nor bluestore Resolved
Copied to mgr - Backport #42766: nautilus: mgr/prometheus: UnboundLocalError occurs when obj_store is neither filestore nor bluestore Resolved
Copied to mgr - Backport #42784: luminous: mgr/prometheus: UnboundLocalError occurs when obj_store is neither filestore nor bluestore Resolved

History

#1 Updated by Jan Fajerski over 1 year ago

  • Status changed from New to Pending Backport
  • Backport set to nautilus, mimic

#2 Updated by Jan Fajerski over 1 year ago

  • Copied to Backport #42765: mimic: mgr/prometheus: UnboundLocalError occurs when obj_store is neither filestore nor bluestore added

#3 Updated by Jan Fajerski over 1 year ago

  • Copied to Backport #42766: nautilus: mgr/prometheus: UnboundLocalError occurs when obj_store is neither filestore nor bluestore added

#4 Updated by Jan Fajerski over 1 year ago

  • Pull request ID set to 30534

#5 Updated by Konstantin Shalygin over 1 year ago

  • Backport changed from nautilus, mimic to nautilus, mimic, luminous

#6 Updated by Konstantin Shalygin over 1 year ago

  • Copied to Backport #42784: luminous: mgr/prometheus: UnboundLocalError occurs when obj_store is neither filestore nor bluestore added

#8 Updated by Nathan Cutler over 1 year ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF