The instance creation time is not correct

Bug #1418031 reported by Lawrance
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Alok Kumar

Bug Description

The instance is created at Jan. 17, 2015, 3:02 p.m.(UTC +08:00), The creation time in UTC is Jan. 17, 2015, 7:02 a.m., then we will reproduce the problem,

1. Save Timezone as UTC in user settings page, the creation time is Jan. 17, 2015, 7:02 a.m.
2. Save Timezone as UTC +08:00 in user settings page, the creation time is Jan. 17, 2015, 3:02 p.m.
3. logout horizon
4. login horizon
5. the timezone of user settings page is UTC +08:00, but the creation time of instance in detail page is UTC time(Jan. 17, 2015, 7:02 a.m.)

it's not consistent, we should fix it

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
assignee: nobody → Lawrance (jing)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by David Lyle (<email address hidden>) on branch: master
Review: https://review.openstack.org/152888
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
Matt Borland (palecrow) wrote :

This seems like a good fix; someone could push this more heavily to get through completion.

Changed in horizon:
importance: Undecided → Medium
status: In Progress → Confirmed
Revision history for this message
Sharat Sharma (sharat-sharma) wrote :

Assigning to myself and will try to push the patch.

Changed in horizon:
assignee: Lawrance (jing) → Sharat Sharma (sharat-sharma)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Sharat Sharma (<email address hidden>) on branch: master
Review: https://review.openstack.org/308815
Reason: abandoning due to merge conflict

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

tags: added: newton-backport-potential
Changed in horizon:
milestone: none → ocata-1
Changed in horizon:
milestone: ocata-1 → ocata-2
Changed in horizon:
milestone: ocata-2 → ocata-rc1
Changed in horizon:
milestone: ocata-rc1 → next
tags: added: ocata-backport-potential
Changed in horizon:
assignee: Sharat Sharma (sharat-sharma) → Bhavani CR (bhavani.rajanna)
Changed in horizon:
assignee: Bhavani CR (bhavani.rajanna) → Sharat Sharma (sharat-sharma)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Sharat Sharma (<email address hidden>) on branch: master
Review: https://review.openstack.org/376196

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
assignee: Sharat Sharma (sharat-sharma) → Alok Kumar (rajalokan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Alok Kumar (<email address hidden>) on branch: master
Review: https://review.openstack.org/482527
Reason: Duplicate of https://review.openstack.org/#/c/376196/. Sorry for extra noise.

Changed in horizon:
milestone: next → pike-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/376196
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=29a3768379c5804891c1cd679b2bed3556588740
Submitter: Jenkins
Branch: master

commit 29a3768379c5804891c1cd679b2bed3556588740
Author: bhavani.cr <email address hidden>
Date: Tue Jun 27 11:17:21 2017 +0530

    Use request.COOKIES to activate the timezone

    This patch fixes the inconsistency in the instance
    creation time.

    Change-Id: Ic4afd9a03f0278883e0d00a2e075acaa4b4f8dc1
    Co-Authored-By: bhavani <email address hidden>
    Closes-Bug: #1418031

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/482579

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 12.0.0.0b3

This issue was fixed in the openstack/horizon 12.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/ocata)

Reviewed: https://review.openstack.org/482579
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=cde65757e352b35b55f48a2aa4bcf11dd5685bdc
Submitter: Jenkins
Branch: stable/ocata

commit cde65757e352b35b55f48a2aa4bcf11dd5685bdc
Author: bhavani.cr <email address hidden>
Date: Tue Jun 27 11:17:21 2017 +0530

    Use request.COOKIES to activate the timezone

    This patch fixes the inconsistency in the instance
    creation time.

    Change-Id: Ic4afd9a03f0278883e0d00a2e075acaa4b4f8dc1
    Co-Authored-By: bhavani <email address hidden>
    Closes-Bug: #1418031
    (cherry picked from commit 29a3768379c5804891c1cd679b2bed3556588740)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 11.0.4

This issue was fixed in the openstack/horizon 11.0.4 release.

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.