[Pacemaker] Failure of the resource migration from GUI

Yan Gao ygao at novell.com
Fri Oct 31 06:27:33 EDT 2008


On Fri, 2008-10-31 at 16:18 +0900, renayama19661014 at ybb.ne.jp wrote:
> Hi,
> 
> 
> Sorry....
> 
> Typo : if (STRNCMP_CONST(argv[3], "\\True") == 0){
Hmm, never met the problem. Could you pls add a new line as the
following to see what is printed?

haclient.py: 
@@ -1637,6 +1637,7 @@
 		if migrate == None :
 			return
 
+		print migrate
 		manager.do_cmd("migrate\n%s\n%s\n\%s\n%s"
 				%(migrate["rsc"], migrate["to_node"], migrate["force"],
migrate["duration"]))
 		if manager.failed_reason != "" :

> 
> Regards,
> 
> Hideo Yamauchi.
> 
> --- renayama19661014 at ybb.ne.jp wrote:
> 
> > Hi,
> > 
> > I performed the migration to the other nodes of the group resource from
> > GUI.(Pacemaker-Python-GUI-373fb737fcc5.tar.gz+OpenAIS+Pacemaker)
> > 
> > I appointed Force, but the resource did not move.
> > 
> > A f option seems not to be sent somehow or other.
> > 
> > 
> > The True judgment needs a "//" letter somehow or other.
> > 
> > --------mgmt/daemon/mgmt_crm.c-----------------------
> > 
> > if (STRNCMP_CONST(argv[3], "//True") == 0){  
> >    strncat(cmd, " -f", sizeof(cmd)-strlen(cmd)-1);  
> > }  
> > 
> > -----------------------------------------------------
> > 
> > Because there is already a similar True judgment one place, a revision may be necessary for
> > that.
> > 
> > I ask for judgment and the revision of the revision.
> > 
> > Best Regards,
> > Hideo Yamauchi.

-- 
Yan Gao
China R&D Software Engineer
ygao at novell.com

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





More information about the Pacemaker mailing list