Bug #4629
ceph-deploy: disk zap needs to be fixed
0%
Description
ceph-deploy zap disk command needs to be fixed. It seems to be confused about the input argument.
tamil@ubuntu:~/ceph-dep-centos/ceph-deploy$ ./ceph-deploy disk zap burnupi05:sdc
Traceback (most recent call last):
File "./ceph-deploy", line 9, in <module>
load_entry_point('ceph-deploy==0.0.1', 'console_scripts', 'ceph-deploy')()
File "/home/tamil/ceph-dep-centos/ceph-deploy/ceph_deploy/cli.py", line 109, in main
return args.func(args)
File "/home/tamil/ceph-dep-centos/ceph-deploy/ceph_deploy/osd.py", line 312, in disk
disk_zap(args, cfg)
TypeError: disk_zap() takes exactly 1 argument (2 given)
tamil@ubuntu:~/ceph-dep-centos/ceph-deploy$ ./ceph-deploy disk zap burnupi05
Traceback (most recent call last):
File "./ceph-deploy", line 9, in <module>
load_entry_point('ceph-deploy==0.0.1', 'console_scripts', 'ceph-deploy')()
File "/home/tamil/ceph-dep-centos/ceph-deploy/ceph_deploy/cli.py", line 109, in main
return args.func(args)
File "/home/tamil/ceph-dep-centos/ceph-deploy/ceph_deploy/osd.py", line 312, in disk
disk_zap(args, cfg)
TypeError: disk_zap() takes exactly 1 argument (2 given)
History
#1 Updated by Sage Weil almost 11 years ago
- Status changed from New to Resolved
commit:71c39f617f2bde07b0fe1f82814b41252d481215