Ryan McCabe
60800fe973
Factor out common libvirt code so that it can be reused by multiple backends
2017-05-24 23:18:18 -04:00
Ryan McCabe
0bc561ca86
Bump the versions of the libvirt and checkpoint plugins
2017-05-22 14:16:06 -04:00
Ryan McCabe
2694500ab1
fence-virtd: Allow multiple hypervisors for the libvirt backend
...
Allow users to specify multiple hypervisor URIs for the
libvirt backend.
.e.g,
backends {
libvirt {
uri = "qemu:///system";
uri1 = "qemu:///system2";
uri2 = "qemu:///system3";
}
}
Resolves: rhbz#914144
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2014-06-27 00:07:46 -04:00
Ryan McCabe
0de5dd3ac9
fence_virtd: Return success if a domain exists but is already off.
...
Return success if a domain exists but is already off.
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2012-10-26 18:14:45 -04:00
Ryan McCabe
98e332e243
fence_virt: Return failure for nonexistent domains
...
Return failure instead of success if a user attempts an operation
on a domain that does not exist.
Resolves: rhbz#853927
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2012-10-08 10:53:13 -04:00
Lon Hohberger
98b90b54b3
Disable CMAN / checkpoint build by default
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2012-02-06 16:03:30 -05:00
Lon Hohberger
1b6f7975b6
Handle return value from virDomainGetInfo
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2011-09-20 11:15:34 -04:00
Lon Hohberger
30481d4cc9
Return 2 for 'off' like other fencing agents
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-15 08:06:34 -05:00
Lon Hohberger
16aafe3974
Fix memory leaks found with valgrind
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 18:46:21 -05:00
Lon Hohberger
2edeb6dfe8
Allow use of static mappings w/ mcast listener
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 13:38:37 -05:00
Lon Hohberger
2635e075b9
Pass source VM UUID (if known) to backend
...
Some backends (not yet implemented) which talk to management
layers will have mappings for what VMs can control what other
VMs. So, the source VM UUID of the original request needs to
be sent along with the target VM UUID to the management layer
for arbitration.
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 13:52:55 -05:00
Lon Hohberger
05fea81b67
Fix build error due to improper value
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 09:59:06 -05: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
Lon Hohberger
e87de14344
Add wait-for-backend mode
...
* Makes initscript ordering unimportant
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-12 17:32:13 -05:00
Lon Hohberger
8871a95386
Fix build warning due to missing #include
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-08 18:20:33 -05:00
Carlos Eduardo Maiolino
c405542d76
Make libvirt to automatically use uuid or names
...
Signed-off-by: Carlos Eduardo Maiolino <cmaiolino@redhat.com>
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-12-07 18:11:25 -05:00
Lon Hohberger
58aef2eb34
Improve error reporting
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-12-07 13:11:39 -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
a8202ef0c6
Fix libvirt / mcast support for name_mode
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-12-03 17:29:47 -05:00
Lon Hohberger
9935a3077d
Enable 'on' operation for libvirt backend
...
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 15:24:56 -04:00
Lon Hohberger
64d0f596f6
Clean up modular build
...
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 15:17:14 -04:00
Lon Hohberger
f796c64fc3
Minor build cleanups
...
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 13:27:03 -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
da7d3f4c9d
Make debugging work from modules again
...
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-03 17:45:38 -04:00
Lon Hohberger
87c4b2cbd9
Fix libvirt backend; VALIDATE was wrong
...
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-03 10:55:30 -04:00
Lon Hohberger
5ac3d57341
Cleanups, add daemon support
...
- fix log messages
- add daemon support
- add foreground support
- log bits to syslog when we fail post-fork
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 19:26:08 -04:00
Lon Hohberger
c6bf2d297a
Make listeners plugins.
...
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 16:22:30 -04:00
Lon Hohberger
ddc8c75e2d
Move name_mode to fence_virtd block
...
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 15:39:01 -04:00
Lon Hohberger
0e30b2fa86
Move VM naming scheme to top level of config
...
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 15:31:24 -04:00
Lon Hohberger
c322978fef
Enable UUID use in libvirt.c
...
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 15:13:53 -04:00
Lon Hohberger
28627c9796
Fix context type names
...
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-28 14:12:46 -04:00
Lon Hohberger
61e0cc19c9
Integrate config file processing
...
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-17 16:53:58 -04:00
Lon Hohberger
9ec497ddc6
Create server-side plugin architecture
...
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-17 12:44:06 -04:00
Lon Hohberger
214f9b65bf
Make libvirt a built-in plugin
...
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-12 13:20:50 -04:00
Lon Hohberger
55357fcd85
initial checkin
...
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-07-28 10:46:53 -04:00