Default usage-list range is in local time, not UTC time
Bug #1045456 reported by
Mark McLoughlin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
High
|
Mark McLoughlin |
Bug Description
The usage-list API expects a date range in UTC, since this is the TZ that e.g. terminated_at and launched_at is stored in the DB
In novaclient, we do:
start = (datetime.
end = (datetime.
You can see the effect of this here:
https:/
We're seeing 20 hours usage for an instance just started. Because of bug #1043999, that should be 24 hours but because Russell is UTC-4 we see 20 hours.
Changed in python-novaclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/12326
Review: https:/