[Pacemaker] migrate resource for specified time: problem

Kashif Jawed Siddiqui kashifjs at huawei.com
Sun Feb 5 10:54:05 UTC 2012


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 [andrew at beekhof.net]
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,  <manish.gupta at ionidea.com> 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: 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