Comment 1 for bug 708822

Revision history for this message
Vish Ishaya (vishvananda) wrote : Re: [Bug 708822] [NEW] DescribeAvailabilityZones: services alive status is not consistent

This can happen if you have clock skew. Try installing ntp on all of your boxes so the clocks are in sync.

On Jan 27, 2011, at 11:24 AM, Tushar Patil wrote:

> Public bug reported:
>
> Tested on Revision No : 624
>
> If I run describe-availability-zones repeatedly for 4-5 times, each time
> it shows service status as different.
>
> I am using default "service_down_time" flag which is set to 60.
>
> root@ubuntu-network-api-server:/home/openstack/nova# euca-describe-availability-zones verbose
> AVAILABILITYZONE nova available
> AVAILABILITYZONE |- ubuntu-compute-01
> AVAILABILITYZONE | |- nova-compute enabled XXX 2011-01-27 19:19:59
> AVAILABILITYZONE |- ubuntu-compute-03
> AVAILABILITYZONE | |- nova-compute enabled XXX 2011-01-27 19:19:58
> AVAILABILITYZONE |- ubuntu-compute-02
> AVAILABILITYZONE | |- nova-compute enabled :-) 2011-01-27 19:19:54
> AVAILABILITYZONE |- ubuntu-network-api-server
> AVAILABILITYZONE | |- nova-scheduler enabled :-) 2011-01-27 19:19:50
> AVAILABILITYZONE | |- nova-network enabled :-) 2011-01-27 19:19:52
>
> root@ubuntu-network-api-server:/home/openstack/nova# euca-describe-availability-zones verbose
> AVAILABILITYZONE nova available
> AVAILABILITYZONE |- ubuntu-compute-01
> AVAILABILITYZONE | |- nova-compute enabled :-) 2011-01-27 19:24:00
> AVAILABILITYZONE |- ubuntu-compute-03
> AVAILABILITYZONE | |- nova-compute enabled XXX 2011-01-27 19:24:09
> AVAILABILITYZONE |- ubuntu-compute-02
> AVAILABILITYZONE | |- nova-compute enabled XXX 2011-01-27 19:24:05
> AVAILABILITYZONE |- ubuntu-network-api-server
> AVAILABILITYZONE | |- nova-scheduler enabled :-) 2011-01-27 19:24:01
> AVAILABILITYZONE | |- nova-network enabled :-) 2011-01-27 19:23:54
>
> ** Affects: nova
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of Nova Bug
> Team, which is subscribed to OpenStack Compute (nova).
> https://bugs.launchpad.net/bugs/708822
>
> Title:
> DescribeAvailabilityZones: services alive status is not consistent
>
> Status in OpenStack Compute (Nova):
> New
>
> Bug description:
> Tested on Revision No : 624
>
> If I run describe-availability-zones repeatedly for 4-5 times, each
> time it shows service status as different.
>
> I am using default "service_down_time" flag which is set to 60.
>
> root@ubuntu-network-api-server:/home/openstack/nova# euca-describe-availability-zones verbose
> AVAILABILITYZONE nova available
> AVAILABILITYZONE |- ubuntu-compute-01
> AVAILABILITYZONE | |- nova-compute enabled XXX 2011-01-27 19:19:59
> AVAILABILITYZONE |- ubuntu-compute-03
> AVAILABILITYZONE | |- nova-compute enabled XXX 2011-01-27 19:19:58
> AVAILABILITYZONE |- ubuntu-compute-02
> AVAILABILITYZONE | |- nova-compute enabled :-) 2011-01-27 19:19:54
> AVAILABILITYZONE |- ubuntu-network-api-server
> AVAILABILITYZONE | |- nova-scheduler enabled :-) 2011-01-27 19:19:50
> AVAILABILITYZONE | |- nova-network enabled :-) 2011-01-27 19:19:52
>
> root@ubuntu-network-api-server:/home/openstack/nova# euca-describe-availability-zones verbose
> AVAILABILITYZONE nova available
> AVAILABILITYZONE |- ubuntu-compute-01
> AVAILABILITYZONE | |- nova-compute enabled :-) 2011-01-27 19:24:00
> AVAILABILITYZONE |- ubuntu-compute-03
> AVAILABILITYZONE | |- nova-compute enabled XXX 2011-01-27 19:24:09
> AVAILABILITYZONE |- ubuntu-compute-02
> AVAILABILITYZONE | |- nova-compute enabled XXX 2011-01-27 19:24:05
> AVAILABILITYZONE |- ubuntu-network-api-server
> AVAILABILITYZONE | |- nova-scheduler enabled :-) 2011-01-27 19:24:01
> AVAILABILITYZONE | |- nova-network enabled :-) 2011-01-27 19:23:54
>
>