← Back to team overview

openstack team mailing list archive

Re: why the time got from date is different from thatfromnova-manage?

 

I did not configure NTP, I just manually set the time to make 3 nodes have nearly the same time. 
  

 

 ------------------ Original ------------------
  From:  "Mahardhika"<mahardika.gilang@xxxxxxxxxxxx>;
 Date:  Thu, Jun 27, 2013 04:31 PM
 To:  "mophis"<hongxing.niu@xxxxxx>; "openstack"<openstack@xxxxxxxxxxxxxxxxxxx>; 
 
 Subject:  Re: [Openstack] why the time got from date is different from thatfromnova-manage?

 

 Then it's ntp things perhaps , it will update to ntp.ubuntu.com (i config this on ntp.conf)
On 6/27/2013 2:58 PM, mophis wrote:

  No, it it the time stamp of the heartbeat sent from compute node, I dont know the frequency, but it seems to be very frenquent.
  
 please see below.
  
 Binary           Host                                Zone             Status     State Updated_At
nova-conductor   n1                                  internal         enabled    :-)   2013-06-27 07:55:12
nova-cert        n1                                  internal         enabled    :-)   2013-06-27 07:55:14
nova-compute     n1                                  nova             enabled    :-)   2013-06-27 07:55:13
nova-scheduler   n1                                  internal         enabled    :-)   2013-06-27 07:55:12
nova-consoleauth n1                                  internal         enabled    :-)   2013-06-27 07:55:13
nova-compute     n2                                  xzone            enabled    :-)   2013-06-27 07:55:13
nova-compute     n3                                  nova             enabled    :-)   2013-06-27 07:55:13
root@n1:/etc/mysql# date
Thu Jun 27 15:55:32 CST 2013

  

 

 ------------------ Original ------------------
  From:  "Mahardhika"<mahardika.gilang@xxxxxxxxxxxx>;
 Date:  Thu, Jun 27, 2013 03:52 PM
 To:  "mophis"<hongxing.niu@xxxxxx>; "openstack"<openstack@xxxxxxxxxxxxxxxxxxx>; 
 Subject:  Re: [Openstack] why the time got from date is different from thatfrom nova-manage?

 

 Hi, if i'm not mistaken, time in service list is time when it's start

On 6/27/2013 2:48 PM, mophis wrote:

  HI,
  
 I run nova-manage service list on n1 which is the contoller node, and the output is below
 nova-conductor   n1                                 internal         enabled    :-)   2013-06-27 07:13:12
nova-cert        n1                                 internal         enabled    :-)   2013-06-27 07:13:12
nova-compute     n1                                 nova             enabled    :-)   2013-06-27 07:13:10
nova-scheduler   n1                                 internal         enabled    :-)   2013-06-27 07:13:12
nova-consoleauth n1                                 internal         enabled    :-)   2013-06-27 07:13:11
nova-compute     n2                                 xzone            enabled    :-)   2013-06-27 07:13:17
nova-compute     n3                                 nova             enabled    :-)   2013-06-27 07:13:17

 however, the n1's time is
 date
 Thu Jun 27 15:13:25 CST 2013
  
 why the time got from date is different from that from nova-manage?
  
 BTW, the mysql time zone related setting is
 system_time_zone                                  | CST
 time_zone                                         | SYSTEM  
  
 Thanks.
  

  
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to     : openstack@xxxxxxxxxxxxxxxxxxx Unsubscribe : https://launchpad.net/~openstack More help   : https://help.launchpad.net/ListHelp 

 -- 
Regards,
Mahardhika Gilang

PT. Andalabs Technology 
Gedung Gravira
Jl. Cideng Barat no. 54
Jakarta Pusat 10150

HP : 0852 139 55861
Email : mahardika.gilang@xxxxxxxxxxxx 



 -- 
Regards,
Mahardhika Gilang

PT. Andalabs Technology 
Gedung Gravira
Jl. Cideng Barat no. 54
Jakarta Pusat 10150

HP : 0852 139 55861
Email : mahardika.gilang@xxxxxxxxxxxx