summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-09-25 23:54:14 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-09-25 23:54:14 +0200
commit31e6b9775cdc3e84c4fe2ecf96c2897e8946cbf0 (patch)
tree11f82bc40000d4c47b09f85502ce1aac52c156fa
parent3d003fec6aae4b4b5af3b2530b6cf56265e50785 (diff)
downloadcluster-overview-31e6b9775cdc3e84c4fe2ecf96c2897e8946cbf0.zip
cluster-overview-31e6b9775cdc3e84c4fe2ecf96c2897e8946cbf0.tar.gz
cluster-overview-31e6b9775cdc3e84c4fe2ecf96c2897e8946cbf0.tar.xz
Properly handle fence_virtd daemon
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rwxr-xr-xcluster-cman.py2
-rw-r--r--lib_shared.py10
2 files changed, 7 insertions, 5 deletions
diff --git a/cluster-cman.py b/cluster-cman.py
index 5f513e6..15cccda 100755
--- a/cluster-cman.py
+++ b/cluster-cman.py
@@ -460,7 +460,7 @@ graph = lambda\
,label='hypervisor as controller\n(when cluster virtualized)'
,rank='same'
,_nodes=\
- [Daemon('fence_virtd'
+ [SharedFenceVirtd('fence_virtd'
)
,Daemon('libvirt'
)]
diff --git a/lib_shared.py b/lib_shared.py
index e58b8d9..5324a05 100644
--- a/lib_shared.py
+++ b/lib_shared.py
@@ -10,7 +10,7 @@ from lib_nodes import *
from lib_edges import *
-class SharedFencevirtd(Daemon):
+class SharedFenceVirtd(Daemon):
defaults = dict((
LABEL('fence_virtd'),
))
@@ -25,9 +25,11 @@ class SharedFencevirtd(Daemon):
man = [
'fence_virtd(8)'
]
- srpm = 'fence-virt'
- rpm = 'fence-virtd' # + ~-{checkpoint, libvirt, multicast, serial}
- rhbz = 'fence-virt'
+ ids = dict(
+ srpm='fence-virt',
+ rpm='fence-virtd', # + ~-{checkpoint, libvirt, multicast, serial}
+ rhbz='fence-virt',
+ )
class SharedFenceVirt(Executable):