This problem is observed when the system time is not set to GMT or UTC. Example, if system time is in IST format, then it is GMT+5:30.
During time normalization in iso8601_fields.c, it is causing the error conversion of time. I will mail the detailed probable fix soon. Regards KASHIF ________________________________________ From: Andrew Beekhof [[email protected]] Sent: Friday, February 03, 2012 5:33 AM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] migrate resource for specified time: problem On Tue, Jan 31, 2012 at 8:42 PM, <[email protected]> wrote: > Hi All, > I am facing some issue with Resource migration with a specified time > If current system date is end-of-month then migration for 1440 Minute > (one day) is having some problem. > > I am doing theseoperation > 1. date +%YYYYMMdd -s "20100131" > 2. /usr/sbin/crm_resource -M -r group1 -u PT1440M -H nodeName > > Output: > migration will take effect untill: 2011-13-29 18:33:47Z WTF. What version is this? Can you create a bug for this please? > > Here command output is invalid date and migration constraint with > invalid date is added in cib.xml > > resource also not migrated to the specified node. > > Regards > Manish > > > > _______________________________________________ > Pacemaker mailing list: [email protected] > 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: [email protected] 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: [email protected] 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
