[Openstack] How to let nova use localtime rather than UTC time?

Kevin L. Mitchell kevin.mitchell at rackspace.com
Wed Jun 6 14:53:58 UTC 2012


On Wed, 2012-06-06 at 21:33 +0800, livemoon wrote:
> I found nova use "utcnow" to get time and write it to db. 
> So the create_time of vm also show utc time rather than localtime. 

That is correct.

> Is there any flag in nova.conf to let nova use localtime .

You really don't want to do this.  Trust me.  If you need to see the
time in the local timezone, then convert it; there are tools in python
to do this.
-- 
Kevin L. Mitchell <kevin.mitchell at rackspace.com>





More information about the Openstack mailing list