Project

General

Profile

Fix #9666

Updated by Loïc Dachary over 9 years ago

When the device argument is missing: 
 <pre> 
 $ ceph-disk activate --mark-init=none 
 S 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 
 </pre> 

Back