Project

General

Profile

Bug #26830

ceph-disk: extract_parted_partinion_numbers does not return a list in python3

Added by Alexander Graul over 1 year ago. Updated over 1 year ago.

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

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

The move from python2 to python3 changed behavior of the built-in function map(). Instead of returning a list, an iterator ("map object") is now returned.
Depending code is expecting a list.

History

#1 Updated by Nathan Cutler over 1 year ago

  • Status changed from New to Fix Under Review
  • Backport set to luminous

#2 Updated by Nathan Cutler over 1 year ago

  • Assignee set to Alexander Graul

#3 Updated by Yuri Weinstein over 1 year ago

Nathan Cutler wrote:

mimic PR: https://github.com/ceph/ceph/pull/23392

merged

#4 Updated by Nathan Cutler over 1 year ago

  • Status changed from Fix Under Review to Resolved
  • Backport deleted (luminous)

Also available in: Atom PDF