Project

General

Profile

Bug #20706

ceph-disk can't activate-block Error: /dev/sdb2 is not a block device

Added by Nikita Gerasimov about 1 month ago. Updated about 1 month ago.

Status:
Need Review
Priority:
Normal
Category:
OSD
Target version:
-
Start date:
07/20/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

Version: ceph-base-12.1.1-0.el7.x86_64

  1. /usr/sbin/ceph-disk --verbose activate-block /dev/sdb2
    Traceback (most recent call last):
    File "/usr/sbin/ceph-disk", line 9, in <module>
    load_entry_point('ceph-disk==1.0.0', 'console_scripts', 'ceph-disk')()
    File "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 5731, in run
    main(sys.argv[1:])
    File "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 5682, in main
    args.func(args)
    File "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 5438, in <lambda>
    func=lambda args: main_activate_space(name, args),
    File "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 4160, in main_activate_space
    osd_uuid = get_space_osd_uuid(name, dev)
    File "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 4115, in get_space_osd_uuid
    raise Error('%s is not a block device' % path)
    ceph_disk.main.Error: Error: /dev/sdb2 is not a block device

In https://github.com/ceph/ceph/commit/85d7f8817e94d7dbf81e20394c6778ecb677079c was lost several 'not' statements.

History

#1 Updated by Kefu Chai about 1 month ago

  • Status changed from New to Need Review
  • Assignee set to Nikita Gerasimov

Also available in: Atom PDF