Project

General

Profile

Actions

Bug #50665

closed

UnboundLocalError: local variable 'tags' referenced before assignment

Added by David Caro almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Target version:
% Done:

0%

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

Description

When running ceph-volume without passing no osd_id and no osd_fsid, it crashes with the above error instead of showing the help/requesting the missing parameter.


Related issues 3 (0 open3 closed)

Has duplicate ceph-volume - Bug #52340: ceph-volume: lvm activate: "tags" not definedDuplicate

Actions
Copied to ceph-volume - Backport #52560: pacific: UnboundLocalError: local variable 'tags' referenced before assignmentResolvedGuillaume AbriouxActions
Copied to ceph-volume - Backport #52561: octopus: UnboundLocalError: local variable 'tags' referenced before assignmentResolvedGuillaume AbriouxActions
Actions #1

Updated by Sebastian Wagner over 2 years ago

  • Has duplicate Bug #52340: ceph-volume: lvm activate: "tags" not defined added
Actions #2

Updated by Dimitri Savineau over 2 years ago

When running ceph-volume without passing no osd_id and no osd_fsid, it crashes with the above error instead of showing the help/requesting the missing parameter.

Well ceph-volume shouldn't let you run the lvm activate subcommand without the osd_id and osd_fsid because those are mandatory parameters

https://docs.ceph.com/en/latest/ceph-volume/lvm/activate/#new-osds

Actions #3

Updated by Dimitri Savineau over 2 years ago

  • Status changed from New to Fix Under Review
  • Backport set to pacific,octopus
  • Pull request ID set to 43014
  • Affected Versions v17.0.0 added
Actions #4

Updated by Dimitri Savineau over 2 years ago

  • Assignee set to Dimitri Savineau
  • Target version set to v17.0.0
Actions #5

Updated by Guillaume Abrioux over 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #6

Updated by Guillaume Abrioux over 2 years ago

  • Copied to Backport #52560: pacific: UnboundLocalError: local variable 'tags' referenced before assignment added
Actions #7

Updated by Guillaume Abrioux over 2 years ago

  • Copied to Backport #52561: octopus: UnboundLocalError: local variable 'tags' referenced before assignment added
Actions #8

Updated by Guillaume Abrioux over 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF