Project

General

Profile

Actions

Bug #41649

closed
RD RD

api/lvm: check if list of LVs is empty

Bug #41649: api/lvm: check if list of LVs is empty

Added by Rishabh Dave about 7 years ago. Updated over 1 year ago.

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

0%

Source:
Backport:
nautilus, mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v15.0.0-5256-g41e456a4d6
Released In:
v15.2.0~2162
Upkeep Timestamp:
2025-07-16T01:38:30+00:00

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 open — 2 closed)

Copied to ceph-volume - Backport #42540: nautilus: api/lvm: check if list of LVs is emptyResolved

Actions
Copied to ceph-volume - Backport #42541: mimic: api/lvm: check if list of LVs is emptyResolved

Actions

RD Updated by Rishabh Dave about 7 years ago Actions #1

I'll create PRs for backports as well.

NC Updated by Nathan Cutler about 7 years ago Actions #2

  • Status changed from New to Fix Under Review

Updated by Anonymous about 7 years ago Actions #3

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

Updated by Anonymous about 7 years ago Actions #4

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

Updated by Anonymous about 7 years ago Actions #5

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

NC Updated by Nathan Cutler about 7 years ago Actions #6

  • 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".

UB Updated by Upkeep Bot over 1 year ago Actions #7

  • Merge Commit set to 41e456a4d626be1e16a371efaf6f17c2a8449190
  • Fixed In set to v15.0.0-5256-g41e456a4d6
  • Released In set to v15.2.0~2162
  • Upkeep Timestamp set to 2025-07-16T01:38:30+00:00
Actions

Also available in: PDF Atom