Send Linux-ha-cvs mailing list submissions to
        linux-ha-cvs@lists.linux-ha.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."


Today's Topics:

   1. Linux-HA CVS: linux-ha by alan from 
      (linux-ha-cvs@lists.linux-ha.org)
   2. Linux-HA CVS: mgmt by zhenh from 
      (linux-ha-cvs@lists.linux-ha.org)
   3. Linux-HA CVS: lib by sunjd from  (linux-ha-cvs@lists.linux-ha.org)


----------------------------------------------------------------------

Message: 1
Date: Mon, 19 Jun 2006 13:36:49 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: linux-ha by alan from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : alan
Host    : 
Module  : linux-ha

Dir     : linux-ha


Modified Files:
        heartbeat.spec.in 


Log Message:
I added a known bug / limitation note to the release notes

===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/heartbeat.spec.in,v
retrieving revision 1.176
retrieving revision 1.177
diff -u -3 -r1.176 -r1.177
--- heartbeat.spec.in   9 Jun 2006 22:18:42 -0000       1.176
+++ heartbeat.spec.in   19 Jun 2006 19:36:48 -0000      1.177
@@ -1,4 +1,4 @@
-#      $Id: heartbeat.spec.in,v 1.176 2006/06/09 22:18:42 alan Exp $
+#      $Id: heartbeat.spec.in,v 1.177 2006/06/19 19:36:48 alan Exp $
 
 %define _unpackaged_files_terminate_build 1
 %define _missing_doc_files_terminate_build 1
@@ -90,6 +90,8 @@
        to work the old way.
   + Changed target_role so that when you stop a resource, all the resources
        which depend on it also stop - all in the proper order.
+  + KNOWN LIMITATIONS and BUGS
+    + the GUI core dumps when run using AIX-based X servers
 
 * Sun Apr 23 2006  Alan Robertson <[EMAIL PROTECTED]> (see doc/AUTHORS file)
 + Version 2.0.5 - significant bug fixes and a few feature deficits fixed




------------------------------

Message: 2
Date: Mon, 19 Jun 2006 23:18:07 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : mgmt

Dir     : linux-ha/mgmt/daemon


Modified Files:
        mgmt_crm.c 


Log Message:
change the default value of clone's attribut ordered to false
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/mgmt/daemon/mgmt_crm.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -3 -r1.56 -r1.57
--- mgmt_crm.c  18 Jun 2006 11:59:36 -0000      1.56
+++ mgmt_crm.c  20 Jun 2006 05:18:06 -0000      1.57
@@ -1229,7 +1229,7 @@
                        value = ha_msg_value(attrs, "globally_unique");
                        ret = mgmt_msg_append(ret, value?value:"true");
                        value = ha_msg_value(attrs, "ordered");
-                       ret = mgmt_msg_append(ret, value?value:"true");
+                       ret = mgmt_msg_append(ret, value?value:"false");
                        value = ha_msg_value(attrs, "interleave");
                        ret = mgmt_msg_append(ret, value?value:"false");
                        break;




------------------------------

Message: 3
Date: Mon, 19 Jun 2006 23:55:52 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: lib by sunjd from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : sunjd
Host    : 
Project : linux-ha
Module  : lib

Dir     : linux-ha/lib/fencing


Modified Files:
        stonithd_lib.c 


Log Message:
log tweaking -- to catch the ERROR condition only
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lib/fencing/stonithd_lib.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- stonithd_lib.c      19 Jun 2006 14:34:10 -0000      1.27
+++ stonithd_lib.c      20 Jun 2006 05:55:51 -0000      1.28
@@ -69,7 +69,8 @@
                                const char * field_name1,
                                const char * field_content1,
                                const char * field_name2,
-                               const char * field_content2 );
+                               const char * field_content2,
+                               gboolean must);
 static int chan_waitin_timeout(IPC_Channel * chan, unsigned int timeout);
 static int chan_waitout_timeout(IPC_Channel * chan, unsigned int timeout);
 static void sigalarm_handler(int signum);
@@ -176,7 +177,7 @@
        }
        
        if ( TRUE == is_expected_msg(reply, F_STONITHD_TYPE, ST_APIRPL, 
-                            F_STONITHD_APIRPL, ST_RSIGNON) ) {
+                            F_STONITHD_APIRPL, ST_RSIGNON, TRUE) ) {
                if ( ((tmpstr=cl_get_string(reply, F_STONITHD_APIRET)) != NULL)
                    && (STRNCMP_CONST(tmpstr, ST_APIOK) == 0) ) {
                        rc = ST_OK;
@@ -226,7 +227,7 @@
        }
        
        if ( TRUE == is_expected_msg(reply, F_STONITHD_TYPE, ST_APIRPL, 
-                            F_STONITHD_APIRPL, ST_RSIGNON) ) {
+                            F_STONITHD_APIRPL, ST_RSIGNON, TRUE) ) {
                if ( ((tmpstr=cl_get_string(reply, F_STONITHD_APIRET)) != NULL)
                    && (STRNCMP_CONST(tmpstr, ST_APIOK) == 0) ) {
                        rc = ST_OK;
@@ -294,7 +295,7 @@
        }
        
        if ( TRUE == is_expected_msg(reply, F_STONITHD_TYPE, ST_APIRPL, 
-                            F_STONITHD_APIRPL, ST_RSIGNOFF) ) {
+                            F_STONITHD_APIRPL, ST_RSIGNOFF, TRUE) ) {
                if ( ((tmpstr=cl_get_string(reply, F_STONITHD_APIRET)) != NULL)
                    && (STRNCMP_CONST(tmpstr, ST_APIOK) == 0) ) {
                        chan->ops->destroy(chan);
@@ -307,7 +308,7 @@
                        stdlib_log(LOG_NOTICE, "fail to sign off the 
stonithd.");
                }
        } else {
-               stdlib_log(LOG_DEBUG, "stonithd_signoff: "
+               stdlib_log(LOG_ERR, "stonithd_signoff: "
                           "Got an unexpected message.");
        }
        ZAPMSG(reply);
@@ -402,7 +403,7 @@
        }
        
        if ( TRUE == is_expected_msg(reply, F_STONITHD_TYPE, ST_APIRPL, 
-                            F_STONITHD_APIRPL, ST_RSTONITH) ) {
+                            F_STONITHD_APIRPL, ST_RSTONITH, TRUE) ) {
                if (((tmpstr = cl_get_string(reply, F_STONITHD_APIRET)) != NULL)
                    && (STRNCMP_CONST(tmpstr, ST_APIOK) == 0) ) {
                        rc = ST_OK;
@@ -468,7 +469,7 @@
 
        reply = msgfromIPC_noauth(cbchan);
        if ( TRUE == is_expected_msg(reply, F_STONITHD_TYPE, ST_APIRPL, 
-                            F_STONITHD_APIRPL, ST_STRET)  ) {
+                            F_STONITHD_APIRPL, ST_STRET, FALSE)  ) {
                stonith_ops_t * st_op = NULL;
 
                stdlib_log(LOG_DEBUG, "received final return value of "
@@ -557,7 +558,7 @@
        }
 
        if (  TRUE == is_expected_msg(reply, F_STONITHD_TYPE, ST_APIRPL,
-                            F_STONITHD_APIRPL, ST_RAOPRET ) ) {
+                            F_STONITHD_APIRPL, ST_RAOPRET, FALSE ) ) {
                stonithRA_ops_t * ra_op = NULL;
 
                stdlib_log(LOG_DEBUG, "received the final return value of a "
@@ -730,7 +731,7 @@
        }
        
        if ( FALSE == is_expected_msg(reply, F_STONITHD_TYPE, ST_APIRPL, 
-                            F_STONITHD_APIRPL, ST_RRAOP) ) {
+                            F_STONITHD_APIRPL, ST_RRAOP, TRUE) ) {
                ZAPMSG(reply); /* avoid to zap the msg ? */
                stdlib_log(LOG_DEBUG, "stonithd_virtual_stonithRA_ops: "
                           "Got an unexpected message.");
@@ -825,7 +826,7 @@
        }
        
        if ( TRUE == is_expected_msg(reply, F_STONITHD_TYPE, ST_APIRPL, 
-                            F_STONITHD_APIRPL, ST_RLTYPES) ) {
+                            F_STONITHD_APIRPL, ST_RLTYPES, TRUE) ) {
                if ( ((tmpstr = cl_get_string(reply, F_STONITHD_APIRET)) != 
NULL) 
                    && (STRNCMP_CONST(tmpstr, ST_APIOK) == 0) ) {
                        int i, len;
@@ -883,7 +884,8 @@
 static gboolean 
 is_expected_msg(const struct ha_msg * msg,  
                const char * field_name1, const char * field_content1,
-               const char * field_name2, const char * field_content2 )
+               const char * field_name2, const char * field_content2,
+               gboolean must)
 {
        const char * tmpstr;
        gboolean rc = FALSE;
@@ -902,18 +904,22 @@
                        stdlib_log(LOG_DEBUG, "%s = %s.", field_name2, tmpstr);
                        rc= TRUE;
                } else {
-                       stdlib_log(LOG_NOTICE, "field <%s> content is <%s>, "
-                                  "expected content is: <%s>"
-                                  , field_name2
-                                  , (NULL == tmpstr) ? "NULL" : tmpstr
-                                  , field_content2);
+                       if (TRUE == must) {
+                               stdlib_log(LOG_ERR, "field <%s> content is "
+                                       " <%s>, expected content is: <%s>"
+                                       , field_name2
+                                       , (NULL == tmpstr) ? "NULL" : tmpstr
+                                       , field_content2);
+                       }
                }
        } else {
-               stdlib_log(LOG_NOTICE, "field <%s> content is <%s>, "
-                          "expected content is: <%s>"
-                          , field_name1
-                          , (NULL == tmpstr) ? "NULL" : tmpstr
-                          , field_content1);
+               if (TRUE == must) {
+                       stdlib_log(LOG_ERR, "field <%s> content is <%s>, "
+                                  "expected content is: <%s>"
+                                 , field_name1
+                                 , (NULL == tmpstr) ? "NULL" : tmpstr
+                                 , field_content1);
+               }
        }
 
        return rc;




------------------------------

_______________________________________________
Linux-ha-cvs mailing list
Linux-ha-cvs@lists.linux-ha.org
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs


End of Linux-ha-cvs Digest, Vol 31, Issue 63
********************************************

Reply via email to