Project

General

Profile

Actions

Fix #9666

closed

ceph-disk error when activate is missing an argument is cryptic

Added by Loïc Dachary over 9 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
ceph-disk
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When the device argument is missing:

$ ceph-disk activate --mark-init=none
Traceback (most recent call last):
  File "./ceph-disk", line 2792, in <module>
    main()
  File "./ceph-disk", line 2770, in main
    args.func(args)
  File "./ceph-disk", line 1990, in main_activate
    if not os.path.exists(args.path):
  File "/usr/lib/python2.7/genericpath.py", line 18, in exists
    os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found

Actions #1

Updated by Loïc Dachary over 9 years ago

  • Description updated (diff)
Actions #2

Updated by Loïc Dachary about 8 years ago

  • Status changed from 12 to Resolved
  • Assignee set to Loïc Dachary
Actions

Also available in: Atom PDF