[openstack-dev] [Congress] Restart Congress server

Ruben r.manganiello1 at studenti.unisa.it
Fri Nov 4 11:53:14 UTC 2016


Hi everyone,
I've tried to write a datasource driver for Magnum and the unit test for it.
So I've add this datasource driver in /opt/stack/congress/congress/datasources/ and the unit test in /opt/stack/congress/congress/tests/datasources/ to test it.
Moreover, I've add the driver to /etc/congress/congress.conf, but when I try to restart Congress server I've some errors.


"2016-11-04 12:13:00.390 TRACE congress.service     self.service_id, service, table)
2016-11-04 12:13:00.390 TRACE congress.service   File "/opt/stack/congress/congress/dse2/dse_node.py", line 468, in subscribe_table
2016-11-04 12:13:00.390 TRACE congress.service     {'table': table})
2016-11-04 12:13:00.390 TRACE congress.service   File "/opt/stack/congress/congress/dse2/dse_node.py", line 355, in invoke_service_rpc
2016-11-04 12:13:00.390 TRACE congress.service     raise exception.NotFound(msg % service_id)
2016-11-04 12:13:00.390 TRACE congress.service NotFound: service 'nova' could not be found
2016-11-04 12:13:00.390 TRACE congress.service 
2016-11-04 12:13:00.537 DEBUG oslo_concurrency.lockutils [-] Acquired semaphore "singleton_lock" from (pid=24411) lock /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:212
2016-11-04 12:13:00.538 DEBUG oslo_concurrency.lockutils [-] Releasing semaphore "singleton_lock" from (pid=24411) lock /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:225"

I don't know what to do to solve it and even if the driver I've written works.
Maybe I make mistakes when I restart Congress server..
What should I do to restart Congress server?
What could I do to test the datasource and solve these problems?

Ruben



More information about the OpenStack-dev mailing list