[Pacemaker] Question about new migration

David Vossel dvossel at redhat.com
Wed Jan 15 11:44:11 EST 2014





----- Original Message -----
> From: "David Vossel" <dvossel at redhat.com>
> To: "The Pacemaker cluster resource manager" <pacemaker at oss.clusterlabs.org>
> Sent: Wednesday, January 15, 2014 10:27:49 AM
> Subject: Re: [Pacemaker] Question about new migration
> 
> ----- Original Message -----
> > From: "Andrew Beekhof" <andrew at beekhof.net>
> > To: "The Pacemaker cluster resource manager"
> > <pacemaker at oss.clusterlabs.org>
> > Sent: Wednesday, January 15, 2014 3:42:23 AM
> > Subject: Re: [Pacemaker] Question about new migration
> > 
> > 
> > On 15 Jan 2014, at 7:12 pm, Kazunori INOUE <kazunori.inoue3 at gmail.com>
> > wrote:
> > 
> > > Hi David,
> > > 
> > > With new migration logic, when VM was migrated by 'node standby',
> > > start was performed in migrate_target. (migrate_from was not performed.)
> > > 
> > > Is this the designed behavior?
> 
> no, this is a bug. In this instance the partial migration should have
> continued regardless if the transition was aborted or not.
> 
> I don't think this is a new bug though, I think this existed in the previous
> migration logic as well.  I think I understand what is going on though.
> I'll make a patch

This fixes the problem
https://github.com/ClusterLabs/pacemaker/commit/b578680e4a16d915c130d5928cf9d9af296f2414

Thanks for testing the new migration logic out :D

> -- Vossel
> 
> 
> > > 
> > > # crm_mon -rf1
> > > Stack: corosync
> > > Current DC: bl460g1n6 (3232261592) - partition with quorum
> > > Version: 1.1.11-0.27.b48276b.git.el6-b48276b
> > > 2 Nodes configured
> > > 3 Resources configured
> > > 
> > > Online: [ bl460g1n6 bl460g1n7 ]
> > > 
> > > Full list of resources:
> > > 
> > > prmVM2  (ocf::heartbeat:VirtualDomain): Started bl460g1n6
> > > Clone Set: clnPing [prmPing]
> > >     Started: [ bl460g1n6 bl460g1n7 ]
> > > 
> > > Node Attributes:
> > > * Node bl460g1n6:
> > >    + default_ping_set                  : 100
> > > * Node bl460g1n7:
> > >    + default_ping_set                  : 100
> > > 
> > > # crm node standby bl460g1n6
> > > # egrep "do_lrm_rsc_op:|process_lrm_event:" ha-log | grep prmVM2
> > > Jan 15 15:39:22 bl460g1n6 crmd[30795]:     info: do_lrm_rsc_op:
> > > Performing key=11:5:0:be72ea63-75a9-4de4-a591-e716f960743b
> > > op=prmVM2_migrate_to_0
> > > Jan 15 15:39:28 bl460g1n6 crmd[30795]:   notice: process_lrm_event:
> > > LRM operation prmVM2_migrate_to_0 (call=16, rc=0, cib-update=66,
> > > confirmed=true) ok
> > > Jan 15 15:39:30 bl460g1n6 crmd[30795]:     info: do_lrm_rsc_op:
> > > Performing key=7:6:0:be72ea63-75a9-4de4-a591-e716f960743b
> > > op=prmVM2_stop_0
> > 
> > 
> > Looks like the transition was aborted (5) and another (6) calculated.
> > 
> > Compare action:transition:expected_rc:uuid
> > 
> > > key=11:5:0:be72ea63-75a9-4de4-a591-e716f960743b
> > 
> > and
> > 
> > > key=7:6:0:be72ea63-75a9-4de4-a591-e716f960743b
> > 
> > 
> > 
> > > Jan 15 15:39:30 bl460g1n6 crmd[30795]:   notice: process_lrm_event:
> > > LRM operation prmVM2_stop_0 (call=19, rc=0, cib-update=68,
> > > confirmed=true) ok
> > > 
> > > Jan 15 15:39:30 bl460g1n7 crmd[29923]:     info: do_lrm_rsc_op:
> > > Performing key=8:6:0:be72ea63-75a9-4de4-a591-e716f960743b
> > > op=prmVM2_start_0
> > > Jan 15 15:39:30 bl460g1n7 crmd[29923]:   notice: process_lrm_event:
> > > LRM operation prmVM2_start_0 (call=13, rc=0, cib-update=17,
> > > confirmed=true) ok
> > > 
> > > 
> > > Best Regards,
> > > Kazunori INOUE
> > > <pcmk-Wed-15-Jan-2014.tar.bz2>_______________________________________________
> > > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> > > 
> > > Project Home: http://www.clusterlabs.org
> > > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > > Bugs: http://bugs.clusterlabs.org
> > 
> > 
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> > 
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
> > 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
> 




More information about the Pacemaker mailing list