Giter Club home page Giter Club logo

Comments (5)

warrenvw avatar warrenvw commented on August 24, 2024

Just noting the following.

After adding:

[coordination]
url = redis://redis-pass@redis:6379

to /etc/st2/st2.conf, the WARNING disappears, but I now see the following error in st2notifier.log:

st2notifier.log:  File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/tooz/drivers/redis.py", line 28, in <module>
st2notifier.log:    import redis
st2notifier.log:ImportError: No module named redis

from st2-docker.

warrenvw avatar warrenvw commented on August 24, 2024

See https://docs.stackstorm.com/reference/policies.html

Some of these coordination backends also require corresponding client libraries to be installed in StackStorm virtualenv. We do not ship these libraries by default. As an example, to install the client library in StackStorm virtualenv, run

sudo su
source /opt/stackstorm/st2/bin/activate
pip install redis

from st2-docker.

m4dcoder avatar m4dcoder commented on August 24, 2024

Is concurrency policy on a StackStorm action tested w/ this new setup?

from st2-docker.

warrenvw avatar warrenvw commented on August 24, 2024

Yes, as of 9c76308. Thanks for the suggestion to test concurrency in more depth than what I'd done previously. The documentation has been improved accordingly.

from st2-docker.

Deepika-Kamalla avatar Deepika-Kamalla commented on August 24, 2024

Does st2.conf file support adding redundant pairs of backend coordinator like zookeeper or redis?
We have zookeeper cluster (3 instances) but not sure how to include 3 instances in st2.conf.
Tried below config but doesn't work.

[coordination]
url = kazoo://user:pass@host1:2181/,
kazoo://user:pass@host2:2181/,
kazoo://user:pass@host3:2181/

from st2-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.