Project

General

Profile

Actions

Bug #41649

closed

api/lvm: check if list of LVs is empty

Added by Rishabh Dave over 4 years ago. Updated over 4 years ago.

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

0%

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

Description

The following code in api/lvm.py doesn't check if list is empty -

     lvs = lvs if lvs is not None else Volumes()


Related issues 2 (0 open2 closed)

Copied to ceph-volume - Backport #42540: nautilus: api/lvm: check if list of LVs is emptyResolvedJan FajerskiActions
Copied to ceph-volume - Backport #42541: mimic: api/lvm: check if list of LVs is emptyResolvedJan FajerskiActions
Actions #1

Updated by Rishabh Dave over 4 years ago

I'll create PRs for backports as well.

Actions #2

Updated by Nathan Cutler over 4 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Jan Fajerski over 4 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to nautilus, mimic
Actions #4

Updated by Jan Fajerski over 4 years ago

  • Copied to Backport #42540: nautilus: api/lvm: check if list of LVs is empty added
Actions #5

Updated by Jan Fajerski over 4 years ago

  • Copied to Backport #42541: mimic: api/lvm: check if list of LVs is empty added
Actions #6

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