ExecutionExpirationPolicy is affected by the local timezone

Bug #1657368 reported by Kupai József
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
High
Kupai József

Bug Description

The updated_at field is stored in UTC, but the expiration date calculation uses the local timezone.

This delays/hastens the execution_expiration_policy.older_than config setting depending on the current timezone.

Changed in mistral:
assignee: nobody → Sharat Sharma (sharat-sharma)
Kupai József (kupsef)
Changed in mistral:
assignee: Sharat Sharma (sharat-sharma) → Kupai József (kupsef)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to mistral (master)

Fix proposed to branch: master
Review: https://review.openstack.org/421842

Changed in mistral:
status: New → In Progress
Changed in mistral:
milestone: none → ocata-3
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/421842
Committed: https://git.openstack.org/cgit/openstack/mistral/commit/?id=fb384c9aba2cf92381530205bbf15f4c96713f5b
Submitter: Jenkins
Branch: master

commit fb384c9aba2cf92381530205bbf15f4c96713f5b
Author: Kupai József <email address hidden>
Date: Tue Jan 17 15:49:15 2017 +0100

    using utcnow instead of now in expiration policy

    Change-Id: I69b507cd9d9d18dcf589d2a832ed4619ee69d09e
    Closes-bug: #1657368

Changed in mistral:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/mistral 4.0.0.0b3

This issue was fixed in the openstack/mistral 4.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.