You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm Using single node installation (Openstack Ocata + Opencontrail 4.0)
After running ./contrail.sh start command
Sometime the command execute successfully but sometimes it fails and generate response like :
2017-09-15 11:25:37 ++ screen -S contrail -p apiSrv -X stuff '/usr/bin/contrail-api --conf_file /etc/contrail/contrail-api.conf --reset_config --rabbit_user rabbitcontrail --rabbit_password contrail123 --rabbit_server 192.168.56.104 & echo $! >/home/stack/contrail-installer/status/contrail/apiSrv.pid; fg || echo "apiSrv failed to start" | tee "/home/stack/contrail-installer/status/contrail/apiSrv'failure"
2017-09-15 11:25:37 Waiting for api-server to start...
2017-09-15 11:25:37 ++ [[ apiSrv == \a\g\e\n\t ]]
2017-09-15 11:25:37 ++ echo 'Waiting for api-server to start...'
2017-09-15 11:25:37 ++ timeout 180 sh -c 'while ! http_proxy= wget -q -O- http://192.168.56.104:8082; do sleep 1; done'
2017-09-15 11:28:37 api-server did not start
2017-09-15 11:28:37 ++ echo 'api-server did not start'
2017-09-15 11:28:37 exited with status :1
2017-09-15 11:28:37 ++ exit 1
2017-09-15 11:28:37 ++ clean
2017-09-15 11:28:37 ++ local r=1
2017-09-15 11:28:37 ++ echo 'exited with status :1'
2017-09-15 11:28:37 ++ exit 1
Logs : apiSrv
Traceback (most recent call last):
File "/usr/bin/contrail-api", line 11, in
load_entry_point('vnc-cfg-api-server==0.1.dev0', 'console_scripts', 'contrail-api')()
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 3445, in server_main
main(args_str, VncApiServer(args_str))
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 1395, in init
self._db_connect(self._args.reset_config)
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 2452, in _db_connect
obj_cache_exclude_types=obj_cache_exclude_types, connection=rdbms_connection)
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_db.py", line 606, in init
self._zk_db.master_election("/api-server-election", db_client_init)
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_db.py", line 421, in master_election
func, *args)
File "/usr/lib/python2.7/dist-packages/cfgm_common/zkclient.py", line 405, in master_election
self._election.run(func, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/kazoo/recipe/election.py", line 54, in run
func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_db.py", line 604, in db_client_init
obj_cache_exclude_types)
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_db.py", line 92, in init
obj_cache_exclude_types=obj_cache_exclude_types, pool_size=20)
File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_cassandra.py", line 143, in init
self._cassandra_init(server_list)
File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_cassandra.py", line 505, in _cassandra_init
self._cassandra_ensure_keyspace(keyspace, cf_dict)
File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_cassandra.py", line 544, in _cassandra_ensure_keyspace
self.sys_mgr.drop_keyspace(keyspace_name)
File "/usr/local/lib/python2.7/dist-packages/pycassa/system_manager.py", line 248, in drop_keyspace
self._schema_update(self._conn.system_drop_keyspace, keyspace)
File "/usr/local/lib/python2.7/dist-packages/pycassa/system_manager.py", line 463, in _schema_update
schema_version = schema_func(*args)
File "/usr/local/lib/python2.7/dist-packages/pycassa/cassandra/Cassandra.py", line 1682, in system_drop_keyspace
return self.recv_system_drop_keyspace()
File "/usr/local/lib/python2.7/dist-packages/pycassa/cassandra/Cassandra.py", line 1693, in recv_system_drop_keyspace
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
File "/usr/local/lib/python2.7/dist-packages/thrift/protocol/TBinaryProtocol.py", line 126, in readMessageBegin
sz = self.readI32()
File "/usr/local/lib/python2.7/dist-packages/thrift/protocol/TBinaryProtocol.py", line 206, in readI32
buff = self.trans.readAll(4)
File "/usr/local/lib/python2.7/dist-packages/thrift/transport/TTransport.py", line 58, in readAll
chunk = self.read(sz - have)
File "/usr/local/lib/python2.7/dist-packages/thrift/transport/TTransport.py", line 276, in read
self.readFrame()
File "/usr/local/lib/python2.7/dist-packages/thrift/transport/TTransport.py", line 280, in readFrame
buff = self.__trans.readAll(4)
File "/usr/local/lib/python2.7/dist-packages/thrift/transport/TTransport.py", line 58, in readAll
chunk = self.read(sz - have)
File "/usr/local/lib/python2.7/dist-packages/thrift/transport/TSocket.py", line 120, in read
message='TSocket read 0 bytes')
TTransportException: TSocket read 0 bytes
apiSrv failed to start
Please provide any help ion this
The text was updated successfully, but these errors were encountered:
I'm Using single node installation (Openstack Ocata + Opencontrail 4.0)
After running ./contrail.sh start command
Sometime the command execute successfully but sometimes it fails and generate response like :
2017-09-15 11:25:37 ++ screen -S contrail -p apiSrv -X stuff '/usr/bin/contrail-api --conf_file /etc/contrail/contrail-api.conf --reset_config --rabbit_user rabbitcontrail --rabbit_password contrail123 --rabbit_server 192.168.56.104 & echo $! >/home/stack/contrail-installer/status/contrail/apiSrv.pid; fg || echo "apiSrv failed to start" | tee "/home/stack/contrail-installer/status/contrail/apiSrv'failure"
2017-09-15 11:25:37 Waiting for api-server to start...
2017-09-15 11:25:37 ++ [[ apiSrv == \a\g\e\n\t ]]
2017-09-15 11:25:37 ++ echo 'Waiting for api-server to start...'
2017-09-15 11:25:37 ++ timeout 180 sh -c 'while ! http_proxy= wget -q -O- http://192.168.56.104:8082; do sleep 1; done'
2017-09-15 11:28:37 api-server did not start
2017-09-15 11:28:37 ++ echo 'api-server did not start'
2017-09-15 11:28:37 exited with status :1
2017-09-15 11:28:37 ++ exit 1
2017-09-15 11:28:37 ++ clean
2017-09-15 11:28:37 ++ local r=1
2017-09-15 11:28:37 ++ echo 'exited with status :1'
2017-09-15 11:28:37 ++ exit 1
Logs : apiSrv
Traceback (most recent call last):
File "/usr/bin/contrail-api", line 11, in
load_entry_point('vnc-cfg-api-server==0.1.dev0', 'console_scripts', 'contrail-api')()
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 3445, in server_main
main(args_str, VncApiServer(args_str))
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 1395, in init
self._db_connect(self._args.reset_config)
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 2452, in _db_connect
obj_cache_exclude_types=obj_cache_exclude_types, connection=rdbms_connection)
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_db.py", line 606, in init
self._zk_db.master_election("/api-server-election", db_client_init)
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_db.py", line 421, in master_election
func, *args)
File "/usr/lib/python2.7/dist-packages/cfgm_common/zkclient.py", line 405, in master_election
self._election.run(func, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/kazoo/recipe/election.py", line 54, in run
func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_db.py", line 604, in db_client_init
obj_cache_exclude_types)
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_db.py", line 92, in init
obj_cache_exclude_types=obj_cache_exclude_types, pool_size=20)
File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_cassandra.py", line 143, in init
self._cassandra_init(server_list)
File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_cassandra.py", line 505, in _cassandra_init
self._cassandra_ensure_keyspace(keyspace, cf_dict)
File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_cassandra.py", line 544, in _cassandra_ensure_keyspace
self.sys_mgr.drop_keyspace(keyspace_name)
File "/usr/local/lib/python2.7/dist-packages/pycassa/system_manager.py", line 248, in drop_keyspace
self._schema_update(self._conn.system_drop_keyspace, keyspace)
File "/usr/local/lib/python2.7/dist-packages/pycassa/system_manager.py", line 463, in _schema_update
schema_version = schema_func(*args)
File "/usr/local/lib/python2.7/dist-packages/pycassa/cassandra/Cassandra.py", line 1682, in system_drop_keyspace
return self.recv_system_drop_keyspace()
File "/usr/local/lib/python2.7/dist-packages/pycassa/cassandra/Cassandra.py", line 1693, in recv_system_drop_keyspace
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
File "/usr/local/lib/python2.7/dist-packages/thrift/protocol/TBinaryProtocol.py", line 126, in readMessageBegin
sz = self.readI32()
File "/usr/local/lib/python2.7/dist-packages/thrift/protocol/TBinaryProtocol.py", line 206, in readI32
buff = self.trans.readAll(4)
File "/usr/local/lib/python2.7/dist-packages/thrift/transport/TTransport.py", line 58, in readAll
chunk = self.read(sz - have)
File "/usr/local/lib/python2.7/dist-packages/thrift/transport/TTransport.py", line 276, in read
self.readFrame()
File "/usr/local/lib/python2.7/dist-packages/thrift/transport/TTransport.py", line 280, in readFrame
buff = self.__trans.readAll(4)
File "/usr/local/lib/python2.7/dist-packages/thrift/transport/TTransport.py", line 58, in readAll
chunk = self.read(sz - have)
File "/usr/local/lib/python2.7/dist-packages/thrift/transport/TSocket.py", line 120, in read
message='TSocket read 0 bytes')
TTransportException: TSocket read 0 bytes
apiSrv failed to start
Please provide any help ion this
The text was updated successfully, but these errors were encountered: