[Pacemaker] Failure of the resource migration from GUI

HIDEO YAMAUCHI renayama19661014 at ybb.ne.jp
Fri Oct 31 11:17:31 UTC 2008


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'}

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?

Best Regards,
Hideo Yamauchi.


> -----Original Message-----
> From: pacemaker-bounces at clusterlabs.org
> [mailto:pacemaker-bounces at clusterlabs.org]On Behalf Of Yan Gao
> Sent: Friday, October 31, 2008 7:28 PM
> To: The Pacemaker cluster resource manager
> Subject: Re: [Pacemaker] Failure of the resource migration from GUI
>
>
> 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
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker
>





More information about the Pacemaker mailing list