[Openstack-operators] StackTach setup
Joe Topjian
joe.topjian at cybera.ca
Tue Aug 20 14:11:30 UTC 2013
Hi Denis,
Thanks for the configs. I verified them against mine and they look good.
When you run start_workers.py, do you see anything printed out such as
"Starting worker for openstack_devel"? This is done here:
https://github.com/rackerlabs/stacktach/blob/master/worker/worker.py#L161
Additionally, there should be a worker.log file where line 162 will be
printed.
I just want to confirm you're seeing those logs/messages because if you
don't, something might be wrong with the workers themselves prior to
reaching Rabbit.
Thanks,
Joe
On Tue, Aug 20, 2013 at 4:27 AM, Denis Loshakov <dloshakov at gmail.com> wrote:
> Hello, thanks for help.
>
> First about configs:
>
> stacktach_config.sh:
> export STACKTACH_DB_NAME="stacktach"
> export STACKTACH_DB_HOST=""
> export STACKTACH_DB_USERNAME="**stacktach"
> export STACKTACH_DB_PASSWORD="**stacktach123"
> export STACKTACH_DB_PORT="3306"
> export STACKTACH_INSTALL_DIR="/opt/**www/stacktach/"
> export STACKTACH_DEPLOYMENTS_FILE="/**opt/www/stacktach/etc/**
> stacktach_worker_config.json"
> export STACKTACH_VERIFIER_CONFIG="/**opt/www/stacktach/etc/**
> stacktach_verifier_config.**json"
> export DJANGO_SETTINGS_MODULE="**settings"
>
> stacktach_worker_config.json:
> {"deployments": [
> {
> "name": "openstack_devel",
> "durable_queue": false,
> "rabbit_host": "10.0.2.20",
> "rabbit_port": 5672,
> "rabbit_userid": "nova",
> "rabbit_password": "nova",
> "rabbit_virtual_host": "/",
> "exit_on_exception": false,
> "queue_name": "stacktach",
> "topics": {
> "nova": ["monitor.info", "monitor.error"],
> "glance": ["monitor_glance.info", "monitor_glance.error"],
> "keystone": ["monitor_keystone.info",
> "monitor_keystone.error"]
> }
> }]
> }
>
> stacktach_verifier_config.**json:
> {
> "tick_time": 30,
> "settle_time": 5,
> "settle_units": "minutes",
> "pool_size": 2,
> "enable_notifications": true,
> "rabbit": {
> "durable_queue": false,
> "host": "10.0.2.20",
> "port": 5672,
> "userid": "nova",
> "password": "nova",
> "virtual_host": "/",
> "topics": {
> "nova": ["notifications.info"],
> "glance": ["notifications.info"],
> "keystone": ["notifications.info"]
> }
> }
> }
>
> Testing connectivity with Rabbit host:
> root at stacktach:/opt/www/**stacktach/etc$ telnet 10.0.2.20 5672
> Trying 10.0.2.20...
> Connected to 10.0.2.20.
> Escape character is '^]'.
> qeqw
> ^]
> telnet> quit
> Connection closed.
> root at stacktach:/opt/www/**stacktach/etc$
>
> Run simple web server:
> python manage.py runserver 10.0.2.18:8000
>
> Create database and populate it:
> python manage.py syncdb
> python manage.py migrate
>
> And finally run workers:
> python ../worker/start_workers.py
>
> I tried to sniff by port 5672 or sniff by src/dst nothing.
>
> Thats my story.
>
> On 19.08.2013 17:36, Joe Topjian wrote:
>
>> Hi Denis,
>>
>> I have a StackTach installation from quite a while ago -- probably from
>> when the manual was relevant, so I can try to help.
>>
>> What issue are you running into? Can you confirm that your stacktach
>> workers are connecting to your Rabbit server? Have you added the
>> additional notification options to nova to have it send events to
>> Rabbit? Can you reach the webpage without error?
>>
>> Thanks,
>> Joe
>>
>>
>> On Mon, Aug 19, 2013 at 7:35 AM, Denis Loshakov <dloshakov at gmail.com
>> <mailto:dloshakov at gmail.com>> wrote:
>>
>> Hi, I've tried to setup StackTach
>> https://github.com/rackerlabs/**__stacktach<https://github.com/rackerlabs/__stacktach>
>> <https://github.com/**rackerlabs/stacktach<https://github.com/rackerlabs/stacktach>>.
>> The manual is not so
>> fresh but I managed to setup, but stacktach doesn't go to Rabbit
>> server.
>> Any one have any experience with StackTach setup?
>>
>> Thanks.
>>
>> ______________________________**___________________
>> OpenStack-operators mailing list
>> OpenStack-operators at lists.__op**enstack.org <http://openstack.org>
>> <mailto:OpenStack-operators@**lists.openstack.org<OpenStack-operators at lists.openstack.org>
>> >
>> http://lists.openstack.org/__**cgi-bin/mailman/listinfo/__**
>> openstack-operators<http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack-operators>
>> <http://lists.openstack.org/**cgi-bin/mailman/listinfo/**
>> openstack-operators<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators>
>> >
>>
>>
>>
>>
>> --
>> Joe Topjian
>> Systems Architect
>> Cybera Inc.
>>
>> www.cybera.ca <http://www.cybera.ca>
>>
>> Cybera is a not-for-profit organization that works to spur and support
>> innovation, for the economic benefit of Alberta, through the use
>> of cyberinfrastructure.
>>
>
--
Joe Topjian
Systems Architect
Cybera Inc.
www.cybera.ca
Cybera is a not-for-profit organization that works to spur and support
innovation, for the economic benefit of Alberta, through the use
of cyberinfrastructure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130820/5db2e38f/attachment.html>
More information about the OpenStack-operators
mailing list