On Fri, 2008-10-31 at 20:17 +0900, HIDEO YAMAUCHI wrote:
> Hi Yan,
> 
> It confirmed it with the machine with a little different environment.
> (CentOS5.2 on VirtualMachin, Python 2.4.3)
> 
> > +           print migrate
> Result :
>       {'duration': '', 'force': 'True', 'to_node': 'cent51-vm2', 'rsc':
> 'primitive'}
> 
Strange, nothing is wrong. So could you pls add the following line in
mgmt_crm.c, you get "\\True" or "True" in the log?

mgmt/daemon/mgmt_crm.c
@@ -1124,6 +1124,7 @@
                }
        }
 
+       mgmt_log(LOG_WARNING, "migrate argument 3: %s", argv[3]);
        if (STRNCMP_CONST(argv[3], "True") == 0){
                strncat(cmd, " -f", sizeof(cmd)-strlen(cmd)-1);
        }

> And, crm_resource that goes out to the log is the following.
> 
> Oct 31 20:14:22 cent51-vm1 crm_resource: [15882]: info: Invoked:
> crm_resource -M -r primitive -H cent51-vm2
> Oct 31 20:14:22 cent51-vm1 crm_resource: [15882]: notice:
> unpack_config: On
> loss of CCM Quorum: Ignore
> 
> Is the influence of the difference between my environment and your
> environment?
> 

Regards,
-- 
Yan Gao
China R&D Software Engineer
[EMAIL PROTECTED]

Novell, Inc.
SUSE® Linux Enterprise 10
Your Linux is ready
http://www.novell.com/linux


_______________________________________________
Pacemaker mailing list
[email protected]
http://list.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to