Has anyone ran Zookeeper with Havana on Centos 6.4?

asked 2014-05-27 13:07:05 -0600

AaronTSmith gravatar image

updated 2014-05-30 17:13:08 -0600

smaffulli gravatar image

I installed evzookeeper-0.4.0, zc-zookeeper-static-3.4.4 on Centos 6.4. I started with the basic zookeeper docs in Openstack

Specifically, to install evzookeeper I ran the following...

 sudo apt-get install python-zookeeper python-pip
 sudo pip install evzookeeper

I am using zookeeper as part of OpenStack to allow faster notifications for node failures.

Zookeeper seems to be happy.

However, when I run nova service-list I get an HTTP 500 error from nova-api. The nova-api log (/var/log/nova/api.log) shows:

2013-10-14 16:33:15.110 6748 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/nova/servicegroup/api.py", line 93, in service_is_up
2013-10-14 16:33:15.110 6748 TRACE nova.api.openstack return self._driver.is_up(member)
2013-10-14 16:33:15.110 6748 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/nova/servicegroup/driverszk.py", line 116, in is_up
2013-10-14 16:33:15.110 6748 TRACE nova.api.openstack all_members = self.get_all(group_id)
2013-10-14 16:33:15.110 6748 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/nova/servicegroup/driverszk.py", line 141, in get_all
2013-10-14 16:33:15.110 6748 TRACE nova.api.openstack raise exception.ServiceGroupUnavailable(driver="ZooKeeperDriver")
2013-10-14 16:33:15.110 6748 TRACE nova.api.openstack ServiceGroupUnavailable: The service from servicegroup driver ZooKeeperDriver is temporarily unavailable.

The problem seems to be around evzookeeper (using version 0.4.0). Has anyone successfully ran with this configuration?

edit retag flag offensive close merge delete

Comments

This is very specific case. any documentation you followed, please post here and can you try using sahara.

SGPJ ( 2014-05-28 10:52:38 -0600 )edit

Hi, thanks for your response. I started with the basic zookeeper docs in Openstack...

http://docs.openstack.org/admin-guide-cloud/content/zookeeper-servicegroup-driver.html (http://docs.openstack.org/admin-guide...)

Specifically, to install evzookeeper I ran the following...

sudo apt-get install python-zookeeper python-pip sudo pip install evzookeeper

I am using zookeeper as part of OpenStack to allow faster notifications for node failures.

AaronTSmith ( 2014-05-28 14:29:24 -0600 )edit

We are going to push a fix into the Openstack tree.

AaronTSmith ( 2014-06-19 16:21:04 -0600 )edit