Project

General

Profile

Actions

Bug #56482

closed

ceph-volume simple scan is broken

Added by Guillaume Abrioux almost 2 years ago. Updated over 1 year ago.

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

0%

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

Description

Traceback (most recent call last):
  File "/sbin/ceph-volume", line 11, in <module>
    load_entry_point('ceph-volume==1.0.0', 'console_scripts', 'ceph-volume')()
  File "/usr/lib/python3.6/site-packages/ceph_volume/main.py", line 41, in __init__
    self.main(self.argv)
  File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 59, in newfunc
    return f(*a, **kw)
  File "/usr/lib/python3.6/site-packages/ceph_volume/main.py", line 153, in main
    terminal.dispatch(self.mapper, subcommand_args)
  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/simple/main.py", line 33, in main
    terminal.dispatch(self.mapper, self.argv)
  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/simple/scan.py", line 368, in main
    device = Device(args.osd_path)
  File "/usr/lib/python3.6/site-packages/ceph_volume/util/device.py", line 118, in __init__
    self._parse()
  File "/usr/lib/python3.6/site-packages/ceph_volume/util/device.py", line 212, in _parse
    dev = disk.lsblk(self.path)
  File "/usr/lib/python3.6/site-packages/ceph_volume/util/disk.py", line 234, in lsblk
    abspath=abspath)
  File "/usr/lib/python3.6/site-packages/ceph_volume/util/disk.py", line 332, in lsblk_all
    raise RuntimeError(f"{device} not found in lsblk output")
RuntimeError: /var/lib/ceph/osd/ceph-4 not found in lsblk output

Related issues 2 (0 open2 closed)

Copied to ceph-volume - Backport #56496: quincy: ceph-volume simple scan is brokenResolvedGuillaume AbriouxActions
Copied to ceph-volume - Backport #56497: pacific: ceph-volume simple scan is brokenResolvedGuillaume AbriouxActions
Actions #1

Updated by Guillaume Abrioux almost 2 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 46992
Actions #2

Updated by Guillaume Abrioux almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #56496: quincy: ceph-volume simple scan is broken added
Actions #4

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #56497: pacific: ceph-volume simple scan is broken added
Actions #5

Updated by Guillaume Abrioux over 1 year ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF