Commit Graph

16 Commits

Author SHA1 Message Date
Ryan McCabe
c0dacabadf fence_virt: Rename challenge functions
Rename the challenge/response functions to be more accurate. They need
not be opeating on TCP sockets.

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2017-07-27 14:38:05 -04:00
Ryan McCabe
f075a5b45b fence_virt: Remove remaining references to checkpoints
Remove all remaining references to the checkpoint backend plugin,
which has been removed.

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2017-05-29 14:45:59 -04:00
Ryan McCabe
0745f1c7ab fence_virt: Fix logic error in fence_xvm
Fix a logic error in fence_xvm that would cause fence_xvm to fail
to retry if binding the TCP port for authenticating requests
failed.

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2017-05-28 22:22:50 -04:00
Ryan McCabe
4a749e3f7d fence-virt: client: Do not truncate VM domains in list output
Don't truncate the domain string for VMs when listing their status
in the output of the list command.

Resolves: rhbz#1207422

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2015-07-17 10:52:01 -04:00
Ryan McCabe
10f574f860 fence-virt: Send complete hostlist info
Send all known VM states when we receive a hostlist request.

Resolves: rhbz#1104740

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2014-06-23 15:56:09 -04:00
Ryan McCabe
04710b4079 fence-virt: Fail properly if unable to bind the listener socket
Bail out properly in multicast mode if we're unable to bind the TCP
listener socket.

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2013-07-10 17:31:21 -04:00
Ryan McCabe
0004a70072 fence-virt: Fix a few fd leaks
Fix a few places where descriptors could leak in the client code.

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2012-10-17 13:32:16 -04:00
Ryan McCabe
f61626c108 Add a TCP listener plugin for use with viosproxy
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2012-06-01 15:22:02 -04:00
Lon Hohberger
f7ccaa261a Fix static analysis errors
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2011-09-20 11:40:39 -04:00
Lon Hohberger
200eab4149 Make listen() retry
Pacemaker requires this in order to operate.  Multiple fencing requests
will not come from a single host, however, it is possible that multiple
instances of fence_xvm will need to run at approximately the same time.

e.g. one 'status' or 'hostlist', one fencing action.

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2011-09-19 16:21:14 -04:00
Lon Hohberger
19858bfbde Fix incorrect return value on hash mismatch
Resolves: rhbz720767

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2011-08-03 10:21:44 -04:00
Lon Hohberger
726e40673e Static map support and permissions reporting
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 09:26:32 -05:00
root
4d7839abce Hostlist functionality for libvirt, libvirt-qpid
Signed-off-by: root <lon@users.sourceforge.net>
2009-12-07 12:55:48 -05:00
Lon Hohberger
705b5a18d7 Fix build errors on Fedora
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-17 14:11:08 -04:00
Lon Hohberger
701a876e73 Add sequence numbers to requests for tracking
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 10:28:20 -04:00
Lon Hohberger
55357fcd85 initial checkin
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-07-28 10:46:53 -04:00