Skip to content

Instantly share code, notes, and snippets.

contrail-schema stop/waiting
contrail-schema start/running, process 17104
root@ct2-testjenkins-puppet-rjil-gate-783:/var/log/contrail# 03/12/2015 11:39:43 PM [schema]: Connecting to 10.0.0.28:2181
03/12/2015 11:39:43 PM [schema]: Sending request(xid=None): Connect(protocol_version=0, last_zxid_seen=0, time_out=20000, session_id=0, passwd='\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', read_only=None)
03/12/2015 11:39:43 PM [schema]: Zookeeper connection established, state: CONNECTED
03/12/2015 11:39:43 PM [schema]: Connected to ZooKeeper!
03/12/2015 11:39:43 PM [schema]: Sending request(xid=1): Exists(path='/schema-transformer', watcher=None)
03/12/2015 11:39:43 PM [schema]: Received response(xid=1): ZnodeStat(czxid=2, mzxid=2, ctime=1426199291113, mtime=1426199291113, version=0, cversion=9, aversion=0, ephemeralOwner=0, dataLength=0, numChildren=3, pzxid=4294967320)
03/12/2015 11:39:43 PM [schema]: Sending request(xid=2): Create(path='/schema-transformer/3fa4a75fa1704ccab8ed5293fcb7561f__
03/12/2015 10:34:14 PM [schema]: Sending request(xid=2): Create(path='/schema-transformer/d305a22eeef64bbe8db8d68b29ae534a__lock__', data='1195', acl=[ACL(perms=31, acl_list=['ALL'], id=Id(scheme='world', id='anyone'))], flags=3)
03/12/2015 10:34:14 PM [schema]: Received response(xid=2): u'/schema-transformer/d305a22eeef64bbe8db8d68b29ae534a__lock__0000000001'
03/12/2015 10:34:14 PM [schema]: Sending request(xid=3): GetChildren(path='/schema-transformer', watcher=None)
03/12/2015 10:34:14 PM [schema]: Received response(xid=3): [u'e577460d390a40c398a588150aa897ad__lock__0000000000', u'd305a22eeef64bbe8db8d68b29ae534a__lock__0000000001']
03/12/2015 10:34:14 PM [schema]: Sending request(xid=4): Exists(path=u'/schema-transformer/e577460d390a40c398a588150aa897ad__lock__0000000000', watcher=<bound method Lock._watch_predecessor of <kazoo.recipe.lock.Lock object at 0x7f266ebbabd0>>)
03/12/2015 10:34:14 PM [schema]: Received response(xid=4): ZnodeStat(czxid=3, mzxid=3, ctime=1426199270047, mtime=1426199270047, versio
[zk: localhost:2181(CONNECTED) 0] ls /schema-transformer
[c5a1492eed274b4ba43689cf1b1eac96__lock__0000000004, d305a22eeef64bbe8db8d68b29ae534a__lock__0000000001, db7797588db0492d8f4ea55a09118f57__lock__0000000005]
+ /usr/lib/nagios/plugins/check_http -H 10.0.0.21 -p 8087 -u / -r sandesh_uve.xml
Connection refused
HTTP CRITICAL - Unable to open TCP socket
+ /usr/lib/nagios/plugins/check_http -H 10.0.0.27 -p 8087 -u / -r sandesh_uve.xml
Connection refused
HTTP CRITICAL - Unable to open TCP socket
+ /usr/lib/nagios/plugins/check_http -H 10.0.0.28 -p 8087 -u / -r sandesh_uve.xml
Connection refused
HTTP CRITICAL - Unable to open TCP socket
+ exit 2
sendto(8, "\0\0\0\10\377\377\377\376\0\0\0\v", 12, 0, NULL, 0) = 12
recvfrom(8, "\0\0\0\20", 4, 0, NULL, NULL) = 4
recvfrom(8, "\377\377\377\376\0\0\0\1\0\0\0-\0\0\0\0", 16, 0, NULL, NULL) = 16
sendto(8, "\0\0\0\10\377\377\377\376\0\0\0\v", 12, 0, NULL, 0) = 12
recvfrom(8, "\0\0\0\20", 4, 0, NULL, NULL) = 4
recvfrom(8, "\377\377\377\376\0\0\0\1\0\0\0-\0\0\0\0", 16, 0, NULL, NULL) = 16
sendto(8, "\0\0\0\10\377\377\377\376\0\0\0\v", 12, 0, NULL, 0) = 12
recvfrom(8, "\0\0\0\20", 4, 0, NULL, NULL) = 4
recvfrom(8, "\377\377\377\376\0\0\0\1\0\0\0-\0\0\0\0", 16, 0, NULL, NULL) = 16
sendto(8, "\0\0\0\10\377\377\377\376\0\0\0\v", 12, 0, NULL, 0) = 12
ci-info: ++++++++++++++++++++++++Net device info++++++++++++++++++++++++
ci-info: +--------+------+-----------+-------------+-------------------+
ci-info: | Device | Up | Address | Mask | Hw-Address |
ci-info: +--------+------+-----------+-------------+-------------------+
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . |
ci-info: | eth0 | True | 10.0.0.3 | 255.255.0.0 | 02:ea:db:5f:d1:e9 |
ci-info: +--------+------+-----------+-------------+-------------------+
ci-info: +++++++++++++++++++++++++++++Route info+++++++++++++++++++++++++++++
ci-info: +-------+-------------+----------+-------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ls /schema-transformer
[480526dcd41a4fb9abbd93bf1e1a7633__lock__0000000024, 52ef04c430fb4271b2e75dff53d6e846__lock__0000000026]
The Config Node itself runs several processes (for example contrail-discovery, neutron-server, contrail-api, IFMAP-server, contrail-schema, contrail-svc-monitor, and so on), each listening on a public port for incoming connections from other processes in the system. At the same time, the various processes in the Config Node connect to other processes in the system.
Traceback (most recent call last):
File "/usr/bin/contrail-api", line 9, in <module>
load_entry_point('vnc-cfg-api-server==0.1dev', 'console_scripts', 'contrail-api')()
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 1572, in server_main
main()
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 1531, in main
vnc_api_server = VncApiServer(args_str)
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 422, in __init__
self._db_init_entries()
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 1074, in _db_init_entries
# [check_type] Type of check to run, accepts http, tcp, and proc
# [tags] Defaults tags to use for registered services
# [leader] Whether the specified node is the cluster leader
# [dep_resources] Resources that should not be eecuted on non-leader nodes until
# they can connect to the leader
# [follower_fail] If followers have failed to find a leader
define rjil::leader_orchestrator(
$port = -1,
$check_type = 'tcp',
$tags = ['real', 'contrail'],