Actions
Bug #5242
closedceph-deploy: reports purgedata as invalid command when purge is not successful
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
ceph-deploy
Target version:
-
% Done:
0%
Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
2013-06-02T10:30:02.869 DEBUG:teuthology.orchestra.run:Running [10.214.132.24]: u'cd /home/ubuntu/cephtest/29298/ceph-deploy && ./ceph-deploy purge plana54 plana45' 2013-06-02T10:30:03.101 INFO:teuthology.orchestra.run.err:DEBUG:ceph_deploy.install:Purging from cluster ceph hosts plana54 plana45 2013-06-02T10:30:03.101 INFO:teuthology.orchestra.run.err:DEBUG:ceph_deploy.install:Detecting platform for host plana54 ... 2013-06-02T10:30:03.552 INFO:teuthology.orchestra.run.err:DEBUG:ceph_deploy.install:Distro Ubuntu codename precise 2013-06-02T10:30:03.552 INFO:teuthology.orchestra.run.err:DEBUG:ceph_deploy.install:Purging host plana54 ... 2013-06-02T10:30:11.642 INFO:teuthology.orchestra.run.err:DEBUG:ceph_deploy.install:Detecting platform for host plana45 ... 2013-06-02T10:30:11.644 INFO:teuthology.orchestra.run.err:invoke-rc.d: unknown initscript, /etc/init.d/ceph-mds-all not found. 2013-06-02T10:30:11.648 INFO:teuthology.orchestra.run.err:invoke-rc.d: unknown initscript, /etc/init.d/ceph-all not found. 2013-06-02T10:30:11.648 INFO:teuthology.orchestra.run.err:dpkg: warning: while removing ceph, directory '/var/lib/ceph/osd' not empty so not removed. 2013-06-02T10:30:11.648 INFO:teuthology.orchestra.run.err:dpkg: warning: while removing ceph, directory '/var/lib/ceph/mds' not empty so not removed. 2013-06-02T10:30:11.648 INFO:teuthology.orchestra.run.err:dpkg: warning: while removing ceph, directory '/var/lib/ceph/mon' not empty so not removed. 2013-06-02T10:30:11.649 INFO:teuthology.orchestra.run.err:dpkg: warning: while removing ceph, directory '/var/lib/ceph/bootstrap-mds' not empty so not removed. 2013-06-02T10:30:11.649 INFO:teuthology.orchestra.run.err:dpkg: warning: while removing ceph, directory '/var/lib/ceph/bootstrap-osd' not empty so not removed. 2013-06-02T10:30:11.649 INFO:teuthology.orchestra.run.err:debconf: unable to initialize frontend: Dialog 2013-06-02T10:30:11.649 INFO:teuthology.orchestra.run.err:debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) 2013-06-02T10:30:11.649 INFO:teuthology.orchestra.run.err:debconf: falling back to frontend: Readline 2013-06-02T10:30:11.649 INFO:teuthology.orchestra.run.err:debconf: unable to initialize frontend: Readline 2013-06-02T10:30:11.649 INFO:teuthology.orchestra.run.err:debconf: (This frontend requires a controlling tty.) 2013-06-02T10:30:11.649 INFO:teuthology.orchestra.run.err:debconf: falling back to frontend: Teletype 2013-06-02T10:30:12.033 INFO:teuthology.orchestra.run.err:DEBUG:ceph_deploy.install:Distro Ubuntu codename precise 2013-06-02T10:30:12.033 INFO:teuthology.orchestra.run.err:DEBUG:ceph_deploy.install:Purging host plana45 ... 2013-06-02T10:30:20.137 INFO:teuthology.orchestra.run.out:Reading package lists... 2013-06-02T10:30:20.138 INFO:teuthology.orchestra.run.out:Building dependency tree... 2013-06-02T10:30:20.138 INFO:teuthology.orchestra.run.out:Reading state information... 2013-06-02T10:30:20.138 INFO:teuthology.orchestra.run.out:The following packages were automatically installed and are no longer required: 2013-06-02T10:30:20.138 INFO:teuthology.orchestra.run.out: libcephfs1 python-lockfile libsnappy1 2013-06-02T10:30:20.138 INFO:teuthology.orchestra.run.out:Use 'apt-get autoremove' to remove them. 2013-06-02T10:30:20.138 INFO:teuthology.orchestra.run.out:The following packages will be REMOVED: 2013-06-02T10:30:20.138 INFO:teuthology.orchestra.run.out: ceph* ceph-common* ceph-fs-common* ceph-mds* ceph-test* ceph-test-dbg* 2013-06-02T10:30:20.138 INFO:teuthology.orchestra.run.out:0 upgraded, 0 newly installed, 6 to remove and 39 not upgraded. 2013-06-02T10:30:20.138 INFO:teuthology.orchestra.run.out:After this operation, 650 MB disk space will be freed. 2013-06-02T10:30:20.138 INFO:teuthology.orchestra.run.out:(Reading database ... 318078 files and directories currently installed.) 2013-06-02T10:30:20.138 INFO:teuthology.orchestra.run.out:Removing ceph-mds ... 2013-06-02T10:30:20.139 INFO:teuthology.orchestra.run.out:Purging configuration files for ceph-mds ... 2013-06-02T10:30:20.139 INFO:teuthology.orchestra.run.out:Removing ceph ... 2013-06-02T10:30:20.139 INFO:teuthology.orchestra.run.out:Purging configuration files for ceph ... 2013-06-02T10:30:20.139 INFO:teuthology.orchestra.run.out:Removing ceph-test-dbg ... 2013-06-02T10:30:20.139 INFO:teuthology.orchestra.run.out:Removing ceph-test ... 2013-06-02T10:30:20.139 INFO:teuthology.orchestra.run.out:Removing ceph-common ... 2013-06-02T10:30:20.139 INFO:teuthology.orchestra.run.out:Purging configuration files for ceph-common ... 2013-06-02T10:30:20.139 INFO:teuthology.orchestra.run.out:Removing ceph-fs-common ... 2013-06-02T10:30:20.139 INFO:teuthology.orchestra.run.out:Processing triggers for man-db ... 2013-06-02T10:30:20.139 INFO:teuthology.orchestra.run.out:Processing triggers for ureadahead ... 2013-06-02T10:30:20.149 INFO:teuthology.task.ceph-deploy:Purging data... 2013-06-02T10:30:20.149 DEBUG:teuthology.misc:with jobid basedir: 29298 2013-06-02T10:30:20.149 DEBUG:teuthology.orchestra.run:Running [10.214.132.24]: u'cd /home/ubuntu/cephtest/29298/ceph-deploy && ./ceph-deploy purgedata plana54 plana45' 2013-06-02T10:30:20.321 INFO:teuthology.orchestra.run.err:usage: ceph-deploy [-h] [-v] [-q] [-n] [--overwrite-conf] [--cluster NAME] 2013-06-02T10:30:20.321 INFO:teuthology.orchestra.run.err: COMMAND ... 2013-06-02T10:30:20.321 INFO:teuthology.orchestra.run.err:ceph-deploy: error: argument COMMAND: invalid choice: 'purgedata' (choose from 'discover', 'new', 'install', 'mon', 'mds', 'gatherkeys', 'zapdisk', 'osd', 'admin', 'config', 'purge', 'uninstall', 'forgetkeys')
Updated by Tamilarasi muthamizhan almost 11 years ago
ubuntu@teuthology:/a/teuthology-2013-06-02_01:00:44-fs-master-testing-basic/29298
Updated by Sage Weil almost 11 years ago
this is definitely using hte wrong version of ceph-deploy.. discover is not a command any more. somehow pulling from the wrong git tree or something?
maybe the ceph.com mirror of ceph-deploy is out of date?
Actions