Change in vdsm[master]: Fix - bz #823565 - Gluster - Backend: Replace Brick presente...

barumuga at redhat.com barumuga at redhat.com
Thu May 24 10:04:25 UTC 2012


Bala.FA has posted comments on this change.

Change subject: Fix - bz #823565 - Gluster - Backend: Replace Brick presented as failure
......................................................................


Patch Set 1: (1 inline comment)

....................................................
Commit Message
Line 9: Gluster cli functions throw error as exception.  As these functions
Respective log is here

Thread-14::DEBUG::2012-05-04 18:42:18,513::BindingXMLRPC::874::vds::(wrapper) client [127.0.0.1]::call wrapper with ('hello',) {}
MainProcess|Thread-14::DEBUG::2012-05-04 18:42:18,515::__init__::1241::Storage.Misc.excCmd::(_log) '/usr/sbin/gluster --mode=script volume delete hello' (cwd None)
MainProcess|Thread-14::DEBUG::2012-05-04 18:42:18,540::__init__::1241::Storage.Misc.excCmd::(_log) FAILED: <err> = ''; <rc> = 255
MainProcess|Thread-14::ERROR::2012-05-04 18:42:18,541::supervdsmServer::74::SuperVdsm.ServerCallback::(wrapper) Error in wrapper
Traceback (most recent call last):
  File "/usr/share/vdsm/supervdsmServer.py", line 72, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/vdsm/supervdsmServer.py", line 259, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/vdsm/gluster/gluster_cli.py", line 37, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/vdsm/gluster/gluster_cli.py", line 202, in volumeDelete
    raise ge.GlusterVolumeDeleteFailedException(rc, out, err)
GlusterVolumeDeleteFailedException: Volume delete failed
error: Volume hello does not exist

return code: 255
Thread-14::ERROR::2012-05-04 18:42:18,543::BindingXMLRPC::892::vds::(wrapper) unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/BindingXMLRPC.py", line 879, in wrapper
    res = f(*args, **kwargs)
  File "/usr/share/vdsm/gluster/gluster_api.py", line 29, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/vdsm/gluster/gluster_api.py", line 101, in volumeDelete
    if self.svdsmProxy.glusterVolumeDelete(volumeName):
  File "/usr/share/vdsm/supervdsm.py", line 67, in __call__
    return callMethod()
  File "/usr/share/vdsm/supervdsm.py", line 65, in <lambda>
    **kwargs)
  File "<string>", line 2, in glusterVolumeDelete
  File "/usr/lib64/python2.7/multiprocessing/managers.py", line 759, in _callmethod
    kind, result = conn.recv()
TypeError: ('__init__() takes exactly 4 arguments (1 given)', <class 'gluster.gluster_exception.GlusterVolumeDeleteFailedException'>, ())

--
To view, visit http://gerrit.ovirt.org/4750
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I08bc3d370c0ff503cf204580f4e10d11419cd48a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Bala.FA <barumuga at redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Bala.FA <barumuga at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: Timothy Asir <tjeyasin at redhat.com>


More information about the vdsm-patches mailing list