cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: kupcevic@sourceware.org <kupcevic@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/ricci/modules/cluster ClusterStatus.cpp
Date: 6 Mar 2007 09:09:49 -0000	[thread overview]
Message-ID: <20070306090949.31041.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	RHEL5
Changes by:	kupcevic at sourceware.org	2007-03-06 09:09:48

Modified files:
	ricci/modules/cluster: ClusterStatus.cpp 

Log message:
	Fixed bz225747 (Create/delete cluster - then access disk on node = Generic error on host: cluster tools: cman_tool errored)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/ClusterStatus.cpp.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.15.2.2&r2=1.15.2.3

--- conga/ricci/modules/cluster/ClusterStatus.cpp	2007/03/01 00:31:20	1.15.2.2
+++ conga/ricci/modules/cluster/ClusterStatus.cpp	2007/03/06 09:09:48	1.15.2.3
@@ -42,6 +42,7 @@
 #define LSMOD_PATH            "/sbin/lsmod"
 #define MODPROBE_PATH         "/sbin/modprobe"
 #define CHKCONFIG_PATH        "/sbin/chkconfig"
+#define LVMCONF_PATH          "/usr/sbin/lvmconf"
 
 #define CMAN_LEAVE_TIMEOUT    "120"  // seconds (string)
 #define CLUMON_SYNC_TIME      8      // seconds
@@ -346,6 +347,15 @@
   
   if (purge_conf) {
     ClusterConf::purge_conf();
+    
+    // disable LVM cluster locking
+    try {
+      String out, err;
+      int status;
+      vector<String> args;
+      args.push_back("--disable-cluster");
+      utils::execute(LVMCONF_PATH, args, out, err, status, false);
+    } catch ( ... ) {}
   }
 }
 



             reply	other threads:[~2007-03-06  9:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-06  9:09 kupcevic [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-03-06  9:15 [Cluster-devel] conga/ricci/modules/cluster ClusterStatus.cpp kupcevic
2007-03-06  9:13 kupcevic
2007-02-05 22:38 rmccabe
2007-02-05 22:32 kupcevic
2006-10-05 19:24 kupcevic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070306090949.31041.qmail@sourceware.org \
    --to=kupcevic@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).