Actions
Bug #50665
closedUnboundLocalError: local variable 'tags' referenced before assignment
% 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.
Updated by Sebastian Wagner over 2 years ago
- Has duplicate Bug #52340: ceph-volume: lvm activate: "tags" not defined added
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
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
Updated by Dimitri Savineau over 2 years ago
- Assignee set to Dimitri Savineau
- Target version set to v17.0.0
Updated by Guillaume Abrioux over 2 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Guillaume Abrioux over 2 years ago
- Copied to Backport #52560: pacific: UnboundLocalError: local variable 'tags' referenced before assignment added
Updated by Guillaume Abrioux over 2 years ago
- Copied to Backport #52561: octopus: UnboundLocalError: local variable 'tags' referenced before assignment added
Updated by Guillaume Abrioux over 2 years ago
- Status changed from Pending Backport to Resolved
Actions