Please change the port from 9160 to 9042 in caasandra_server_list Thanks
Megh On Nov 21, 2016, at 11:53 PM, Santiago Martinez <[email protected]<mailto:[email protected]>> wrote: Morning Megh, This is the query-engine config: [DEFAULT] cassandra_server_list=127.0.0.1:9160 log_file=/var/log/contrail/contrail-query-engine.log log_level=SYS_DEBUG sandesh_send_rate_limit=100 [DISCOVERY] port=5998 server=127.0.0.1 # discovery_server IP address [REDIS] port=6379 server=127.0.0.1 Cheers Santi On Tue, 2016-11-22 at 01:46 +0000, Megh Bhatt wrote: Hello Santiago, Please check /etc/contrail/contrail-query-engine.conf - section DEFAULT.cassandra_server_list. Assuming you are running 3.0 and onwards, the port number should be 9042 else 9160. Thanks Megh On Nov 21, 2016, at 5:14 PM, Santiago Martinez <[email protected]<mailto:[email protected]>> wrote: Hi Jakub. As mentioned before, thing are getting better. I have opencontrail almost UP and talking with Openstack. I have one service, contrail-query-engine, stuck in init and base on the logs is not connecting to cassandra, the weird thing is that services that other contrail services using cassadra are up. 2016-11-22 Tue 00:05:51:662.929 GMT Controller [Thread 139954008782784, Pid 15481]: SyncFutureWait:controller/src/database/cassandra/cql/cql_if.cc:1103: SyncWait: FAILED: No hosts available for the control connection 2016-11-22 Tue 00:05:51:662.939 GMT Controller [Thread 139954008782784, Pid 15481]: ConnectSync:controller/src/database/cassandra/cql/cql_if.cc:1494: ConnectSync FAILED 2016-11-22 Tue 00:05:51:663.007 GMT Controller [Thread 139953831241472, Pid 15481]: Processing scm::EvSandeshSend in state Connect 2016-11-22 Tue 00:05:51:663.026 GMT Controller [Thread 139953831241472, Pid 15481]: SANDESH: Send FAILED: 1479773151662948 [SYS_INFO]: QELog: Database initialization failed controller/src/query_engine/query.cc<http://query.cc> 1183 2016-11-22 Tue 00:05:51:663.034 GMT Controller [Thread 139953831241472, Pid 15481]: Wrong state: Connect for event: EvSandeshSend message: QELog 2016-11-22 Tue 00:05:51:663.041 GMT Controller [Thread 139953831241472, Pid 15481]: Processing scm::EvSandeshSend in state Connect 2016-11-22 Tue 00:05:51:663.049 GMT Controller [Thread 139953831241472, Pid 15481]: SANDESH: Send FAILED: 1479773151662976 QeInit [SYS_WARN]: QELog: initialization of database failed. retrying 2 time controller/src/query_engine/query.cc<http://query.cc> 1234 2016-11-22 Tue 00:05:51:663.054 GMT Controller [Thread 139953831241472, Pid 15481]: Wrong state: Connect for event: EvSandeshSend message: QELog 2016-11-22 Tue 00:05:51:663.237 GMT Controller [Thread 139954008782784, Pid 15481]: SyncFutureWait:controller/src/database/cassandra/cql/cql_if.cc:1103: SyncWait: FAILED: Already closing or closed 2016-11-22 Tue 00:05:51:663.246 GMT Controller [Thread 139954008782784, Pid 15481]: DisconnectSync:controller/src/database/cassandra/cql/cql_if.cc:1518: DisconnectSync FAILED == Contrail vRouter == supervisor-vrouter: active contrail-vrouter-agent failed == Contrail Control == supervisor-control: active contrail-control initializing (No BGP configuration for self) contrail-dns active contrail-named active == Contrail Analytics == supervisor-analytics: active contrail-alarm-gen active contrail-analytics-api initializing (UvePartitions:UVE-Aggregation[None] connection down) contrail-collector active contrail-query-engine initializing contrail-snmp-collector active contrail-topology active == Contrail Config == supervisor-config: active contrail-api:0 active contrail-device-manager active contrail-discovery:0 active contrail-schema active contrail-svc-monitor active ifmap active == Contrail Database == contrail-database: active (disabled on boot) == Contrail Supervisor Database == supervisor-database: active contrail-database active contrail-database-nodemgr active kafka active Where is that control host information coming from? Any ideas??? Thanks in advance. Santi On Mon, 2016-11-21 at 15:42 +0000, Santiago Martinez wrote: Hi there, Excellent! I did a clean install with the repo you have me and it works.... well that part at least. I will continue with the setup, Thanks a lot! really appreciated. Cheers Santi On Mon, 2016-11-21 at 13:24 +0100, Jakub Pavlik wrote: Hi Santiago, those version has issues with Analytics. Please put there what I have. You can use this repos: deb [arch=amd64] http://apt.tcpcloud.eu/nightly/ trusty main security extra tcp oc30 elastic On Mon, Nov 21, 2016 at 1:06 PM, Santiago Martinez <[email protected]<mailto:[email protected]>> wrote: Hi Jakub, thanks a lot for replying back. ii kafka 2.9.2-0.8.2.0-0contrail0 amd64 Apache Kafka ii librdkafka++1:amd64 0.9.1-1tcp1 amd64 library implementing the Apache Kafka protocol (C++ bindings) ii librdkafka1:amd64 0.9.1-1tcp1 amd64 library implementing the Apache Kafka protocol ii python-kafka 1.2.1-0tcp1~trusty1 all Pure Python client for Apache Kafka - Python 2.x More log attached on the file to avoid making the email huge. Cheers Santi On Sun, 2016-11-20 at 19:19 +0100, Jakub Pavlik wrote: Hi Santiago, can you verify that you have following versions, because this can cause issues: root@ctl01:~# dpkg -l | grep kafka ii kafka 2.9.2-0.8.2.0-0contrail0 amd64 Apache Kafka ii librdkafka1:amd64 0.9.0-0contrail0 amd64 library implementing the Apache Kafka protocol ii python-kafka 1.0.1-0contrail1 amd64 Python client for the Apache Kafka distributed stream processing system Jakub On Fri, Nov 18, 2016 at 7:01 PM, Santiago Martinez <[email protected]<mailto:[email protected]>> wrote: HI There, I'm trying to deploy OpenContrail 3.0 on Ubuntu 14.04 Servers. Basically I installed the packages from PPA TCP_CLOUD and TCP_CLOUD/Extra. I had a few issues with some packages and dependencies but it is almost getting there. Now, the Contrail Collector is not coming up as it is having issues with to communicate with Kafka. Is the same issues that was raised on the list before. https://www.mail-archive.com/[email protected]/msg00961.html I was wondering if there is a fix/workaround for this, or if at least somebody can point in the right direction. Im not adding log as is pretty much the same that was posted before. Thank in advance. Regards. Santiago _______________________________________________ Users mailing list [email protected]<mailto:[email protected]> http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org _______________________________________________ Users mailing list [email protected]<mailto:[email protected]> http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org
_______________________________________________ Users mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org
