Project

General

Profile

Actions

Bug #64260

open

ceph-volume lvm migrate could assert on AttributeError:'NoneType' object has no attribute 'path'

Added by Igor Fedotov 3 months ago. Updated 3 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

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

Description

Full back trace is:

  File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line 194, in dispatch
    instance.main()
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/migrate.py", line 542, in main
    self.migrate_osd()
  File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 16, in is_root
    return func(*a, **kw)
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/migrate.py", line 448, in migrate_osd
    target_lv)
  File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 16, in is_root
    return func(*a, **kw)
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/migrate.py", line 384, in migrate_to_existing
    tag_tracker.remove_lvs(source_devices, target_type)
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/migrate.py", line 178, in remove_lvs
    remaining_devices.remove(device)
  File "/usr/lib/python3.6/site-packages/ceph_volume/util/device.py", line 170, in __eq__
    return self.path == other.path
AttributeError: 'NoneType' object has no attribute 'path'

Related issues 2 (1 open1 closed)

Copied to ceph-volume - Backport #64356: quincy: ceph-volume lvm migrate could assert on AttributeError:'NoneType' object has no attribute 'path'In ProgressGuillaume AbriouxActions
Copied to ceph-volume - Backport #64357: reef: ceph-volume lvm migrate could assert on AttributeError:'NoneType' object has no attribute 'path'ResolvedGuillaume AbriouxActions
Actions #1

Updated by Igor Fedotov 3 months ago

The issue occurs when migration is wal->data and there is no DB device configured for an OSD.

Actions #2

Updated by Igor Fedotov 3 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 55398
Actions #3

Updated by Guillaume Abrioux 3 months ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from quincy, reef to quincy,reef
Actions #4

Updated by Guillaume Abrioux 3 months ago

  • Copied to Backport #64356: quincy: ceph-volume lvm migrate could assert on AttributeError:'NoneType' object has no attribute 'path' added
Actions #5

Updated by Guillaume Abrioux 3 months ago

  • Copied to Backport #64357: reef: ceph-volume lvm migrate could assert on AttributeError:'NoneType' object has no attribute 'path' added
Actions #6

Updated by Guillaume Abrioux 3 months ago

  • Tags set to backport_processed
Actions

Also available in: Atom PDF