conga ./clustermon.spec.in.in luci/site/luci/E ...
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2008-05-12 15:16:05
Modified files:
. : clustermon.spec.in.in
luci/site/luci/Extensions: ResourceHandler.py ricci/modules/cluster: ClusterStatus.cpp ricci/modules/rpm: PackageHandler.cpp ricci/modules/service: ServiceManager.cpp
Log message:
Fixes from RHEL4 and RHEL5 branches
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/clustermon.spec.in.in.diff?cvsroot=cluster&r1=1.42&r2=1.43
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ResourceHandler.py.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/ClusterStatus.cpp.diff?cvsroot=cluster&r1=1.27&r2=1.28
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/rpm/PackageHandler.cpp.diff?cvsroot=cluster&r1=1.22&r2=1.23
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/service/ServiceManager.cpp.diff?cvsroot=cluster&r1=1.18&r2=1.19
clustermon.spec.in.in +1 -1
@@ -64,7 +64,7 @@ Group: System Environment/Base Summary: Red Hat Enterprise Linux Cluster Suite - remote management -Requires: cman oddjob dbus openssl +Requires: oddjob dbus openssl Requires: initscripts util-linux Requires(post): chkconfig initscripts util-linux Requires(preun): chkconfig initscripts
luci/site/luci/Extensions/ResourceHandler.py +1 -1
@@ -286,7 +286,7 @@ if nfstype != 'nfs' and nfstype != 'nfs4': raise Exception, 'An invalid NFS version "%s" was given for "%s"' \ % (nfstype, rname) - res.addAttribute('nfstype', nfstype) + res.addAttribute('fstype', nfstype) except Exception, e: err = str(e) errors.append(err)
ricci/modules/cluster/ClusterStatus.cpp +4 -0
@@ -218,6 +218,7 @@ run_initd("clvmd", true, false); run_initd("gfs", true, false); run_initd("rgmanager", true, true); + run_initd("scsi_reserve", true, false); if (enable_services) { // enable them on boot
@@ -239,6 +240,7 @@ run_chkconfig("clvmd", true); run_chkconfig("gfs", true); run_chkconfig("rgmanager", true); + run_chkconfig("scsi_reserve", true); } } else if (stat.get_attr("cluster_version") == "5") { try {
@@ -266,6 +268,7 @@ run_initd("clvmd", true, false); run_initd("gfs", true, false); run_initd("gfs2", true, false); + run_initd("scsi_reserve", true, false); run_initd("rgmanager", true, true); if (enable_services) {
@@ -278,6 +281,7 @@ run_chkconfig("clvmd", true); run_chkconfig("gfs", true); run_chkconfig("gfs2", true); + run_chkconfig("scsi_reserve", true); run_chkconfig("rgmanager", true); } } else {
ricci/modules/rpm/PackageHandler.cpp +1 -0
@@ -493,6 +493,7 @@ PackageSet set("Clustered Storage"); set.packages.push_back("lvm2-cluster"); + set.packages.push_back("sg3_utils"); if (RHEL4 || FC5) { set.packages.push_back("GFS");
ricci/modules/service/ServiceManager.cpp +2 -0
@@ -519,11 +519,13 @@ descr = "Shared Storage: clvmd, gfs"; servs.push_back("clvmd"); servs.push_back("gfs"); + servs.push_back("scsi_reserve"); } else if (RHEL5 || FC6) { descr = "Shared Storage: clvmd, gfs, gfs2"; servs.push_back("clvmd"); servs.push_back("gfs"); servs.push_back("gfs2"); + servs.push_back("scsi_reserve"); } s = ServiceSet(name, descr); if (populate_set(s, servs))