Project

General

Profile

Actions

Bug #4655

closed

error handling in ceph-deploy could be better for negative tests

Added by Tamilarasi muthamizhan about 11 years ago. Updated almost 11 years ago.

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

trying to do an uninstall after purge throws inappropriate error message.

tamil@ubuntu:~/ceph-deploy-latest/ceph-deploy$ ./ceph-deploy uninstall burnupi06 burnupi07
Reading package lists...
Building dependency tree...
Reading state information...
Package ceph is not installed, so not removed
Package ceph-common is not installed, so not removed
Package ceph-fs-common is not installed, so not removed
Package ceph-mds is not installed, so not removed
The following packages were automatically installed and are no longer required:
cryptsetup-bin librbd1 msr-tools seabios librados2 cpu-checker vgabios
btrfs-tools libcryptsetup4 kvm-ipxe fuse-utils bridge-utils libsnappy1
qemu-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
Exception in thread Thread-2 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 504, in run
File "/home/tamil/ceph-deploy-latest/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 266, in serve_forever
File "/home/tamil/ceph-deploy-latest/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 377, in __waitForRequest
File "/home/tamil/ceph-deploy-latest/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 601, in __recv
File "/home/tamil/ceph-deploy-latest/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 104, in receive_message
File "/home/tamil/ceph-deploy-latest/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/message.py", line 98, in unpack
<type 'exceptions.TypeError'>: 'NoneType' object is not callable

Actions #1

Updated by Tamilarasi muthamizhan about 11 years ago

  • Assignee changed from Sage Weil to Dan Mick
Actions #2

Updated by Tamilarasi muthamizhan about 11 years ago

  • Assignee deleted (Dan Mick)
Actions #3

Updated by Sage Weil almost 11 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF