Questions tagged [kazoo]

Kazoo is a Python library designed to make working with Zookeeper a more hassle-free experience that is less prone to errors.

Kazoo is a Python library designed to make working with Zookeeper a more hassle-free experience that is less prone to errors.

42 questions
0
votes
0 answers

Solr cloud connection failure

I am connecting to solr cluster using SolrCloud with Kerberos authentication enabled and getting connection failures every next day after the app is not used overnight. 2022-09-08 16:56:13,754 - kazoo.client - WARNING - Connection dropped: socket…
Chirdeep Tomar
  • 4,281
  • 8
  • 37
  • 66
0
votes
0 answers

HTTPS - Cannot fetch index base URL https://pypi.python.org/simple/

I am trying to install kazoo: I tried the following options: pip install kazoo and pip install "kazoo==2.6.1" Upon running this command I am getting the following error: Downloading/unpacking kazoo Cannot fetch index base URL…
Ishan Tiwary
  • 938
  • 6
  • 15
  • 37
0
votes
1 answer

How to invalidate the kazoo lease on zookeeper when the client holding the lease disconnect from zookeeper or crashes

I am following kazoo lease recipe. Client creates a znode "/db_leases/hourly_cleanup" and acquire the lease. When the client disconnects from the zookeeper or crashes, I want other client, that is trying to acquire the same lease, able to acquire…
0
votes
1 answer

When i look at freeswitch logs the following errors are seen

mod_kazoo unimplemented feature error in freeswitch logs This is for a centos7 server with RabbitMQ 3.3, bigcouch 3.3.6, kazoo 4.3. I tried building and linking these but got the following errors while adding freeswitch , kamalio and…
0
votes
1 answer

Kazoo/Freeswitch bridged call from restricted number, how to set sip privacy off

Am bridging an inbound leg to an outbound leg and want to display the called id from the inbound leg on the outbound leg. Restricted -> (123)456-7890 -> (987)765-4321 (callerId Restricted) When the caller on the inbound leg has restricted their…
john nowlin
  • 135
  • 10
0
votes
1 answer

How to invalidate a resource released via a context manager in python?

My question relates to Kazoo/Zookeeper, but more generally it's about allocating a resource and then letting the caller of that resource no they should pause. From Kazoo docs: It’s highly recommended to add a state listener with add_listener() …
tgk
  • 3,857
  • 2
  • 27
  • 42
0
votes
1 answer

where can I find *.erl files after installation kazoo 2600hz

where can I find or develop *.erl files on my server after installation kazoo 2600hz I can't see any .erl file ! I installed kazoo correctly and it work but I cant find files to develop is this about permission?
0
votes
1 answer

kazoo DataWatch does not exit the program when exception is raised

I'm using kazoo=2.2.1, python 2.7, zookeeper 3.4.5--1. I've set up a DataWatch, and if the callback raise an exception I'd like to abort the program. I'm unable to abort with the following code from kazoo.recipe.watchers import DataWatch from…
Lorenzo Belli
  • 1,767
  • 4
  • 25
  • 46
0
votes
1 answer

kazoo restarted zookeeper, the watch threw an exception

My configuration: zookeeper: 3.4.10 os: ubuntu 16.04 python: 2.7 kazoo: 2.3.1 The code I run in IPython: When I restarted zookeeper, with bin/zkServer.sh restart, the shell shows the exception as below: If I delete the watch and replace with a…
Wenbin Du
  • 19
  • 4
0
votes
1 answer

How to keep kazoo connected to zookeeper?

I am trying to use Zookeeper to manager distributed cluster in sync. Right now I am using ec2 spot instances and I want each ec2 spot instance to connect & create znode on zookeeper with some metadata like instance id, private hostname, instance…
roy
  • 6,344
  • 24
  • 92
  • 174
0
votes
1 answer

Using kazoo (zookeeper client) in django

I was wondering if someone could point me to an example of using kazoo within a Django application. My use case is to use kazoo to retrieve a list of values, and process them, within a request cycle. Any pointers would be much appreciated.
zsquare
  • 9,916
  • 6
  • 53
  • 87
-1
votes
1 answer

Patroni (kazoo) timeout but Zookeeper cluster working

Run [root@centos81-01 ~]# patroni pgsql11-0.yml to setup PostgreSQL Cluste and got an error 2020-03-27 15:59:18,498 ERROR: Unhandled exception in connection loop Traceback (most recent call last): File…
IZharsky
  • 51
  • 1
  • 2
1 2
3