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 #1

Updated by Jan Fajerski over 4 years ago

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

Updated by Jan Fajerski over 4 years ago

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

Updated by Jan Fajerski over 4 years ago

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

Updated by Jan Fajerski over 4 years ago

  • Pull request ID set to 30534
Actions #5

Updated by Konstantin Shalygin over 4 years ago

  • Backport changed from nautilus, mimic to nautilus, mimic, luminous
Actions #6

Updated by Konstantin Shalygin over 4 years ago

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

Updated by Nathan Cutler over 4 years 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".

Actions

Also available in: Atom PDF