This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@cdbproxy-build:~/cdbproxy-agent# make -C out -j V=1 | |
make: Entering directory `/root/cdbproxy-agent/out' | |
LD_LIBRARY_PATH=/root/cdbproxy-agent/out/Debug/lib.host:/root/cdbproxy-agent/out/Debug/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../base; mkdir -p /root/cdbproxy-agent/out/Debug; python tools/gyp_utils.py make_bundle /root/cdbproxy-agent c46cd58-0 "/root/cdbproxy-agent/out/Debug/bundle.zip" ../bundle.list | |
ln -f "/root/cdbproxy-agent/out/Debug/obj.target/base/deps/breakpad/libbreakpad_client.a" "/root/cdbproxy-agent/out/Debug/libbreakpad_client.a" 2>/dev/null || (rm -rf "/root/cdbproxy-agent/out/Debug/libbreakpad_client.a" && cp -af "/root/cdbproxy-agent/out/Debug/obj.target/base/deps/breakpad/libbreakpad_client.a" "/root/cdbproxy-agent/out/Debug/libbreakpad_client.a") | |
ln -f "/root/cdbproxy-agent/out/Debug/obj.target/base/deps/breakpad/libbreakpad_processor_support.a" "/root/cdbproxy-agent/out/Debug/libbreakpad_processor_support.a" 2>/dev/null || (rm -rf "/root/cdbproxy-agent/out/Deb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC(target) /root/cdbproxy-agent/out/Debug/obj.target/openssl/base/deps/luvit/deps/openssl/openssl/crypto/asn1/a_digest.o | |
In file included from ../base/deps/luvit/deps/openssl/openssl/ssl/ssl_locl.h:164:0, | |
from ../base/deps/luvit/deps/openssl/openssl/ssl/s3_srvr.c:155: | |
../base/deps/luvit/deps/openssl/openssl/ssl/s3_srvr.c: In function ‘ssl3_get_client_key_exchange’: | |
../base/deps/luvit/deps/openssl/openssl/ssl/s3_srvr.c:2802:47: error: ‘SSL_R_BAD_SRP_PARAMETERS’ undeclared (first use in this function) | |
SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,SSL_R_BAD_SRP_PARAMETERS); | |
^ | |
../base/deps/luvit/deps/openssl/openssl/ssl/s3_srvr.c:2802:47: note: each undeclared identifier is reported only once for each function it appears in | |
CC(target) /root/cdbproxy-agent/out/Debug/obj.target/openssl/base/deps/luvit/deps/openssl/openssl/crypto/asn1/a_dup.o | |
CC(target) /root/cdbproxy-agent/out/Debug/obj.target/openssl/base/deps/luvit/deps/openssl/openssl/crypto/a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Got data {u'target': u'endpoint', u'id': u'2', u'source': u'cdbproxy', u'params': {u'timestamp': 1412963737588, u'service_status': u'ONLINE'}, u'v': u'1', u'method': u'heartbeat.post'} | |
sending response {"id": "2", "source": "endpoint", "v": "1", "result": {"timestamp": 1412963737}, "target": "cdbproxy"} | |
Got data {u'target': u'endpoint', u'id': u'3', u'source': u'cdbproxy', u'params': {u'timestamp': 1412963742716, u'service_status': u'OFFLINE'}, u'v': u'1', u'method': u'heartbeat.post'} | |
sending response {"id": "3", "source": "endpoint", "v": "1", "result": {"timestamp": 1412963742}, "target": "cdbproxy"} | |
Got data {u'target': u'endpoint', u'id': u'4', u'source': u'cdbproxy', u'params': {u'timestamp': 1412963747869, u'service_status': u'OFFLINE'}, u'v': u'1', u'method': u'heartbeat.post'} | |
sending response {"id": "4", "source": "endpoint", "v": "1", "result": {"timestamp": 1412963747}, "target": "cdbproxy"} | |
Got data {u'target': u'endpoint', u'id': u'5', u'source': u'cdbproxy', u'params': {u'timestamp': 1412963752 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function checkStatus(callback) | |
local isrunning = false | |
local child = spawn('service', {'haproxy', 'status'}) | |
child.stdout:on('data', function(chunk) | |
if (chunk == 'haproxy is running.\n') then | |
logging.log(logging.INFO, 'horray its running') | |
isrunning = true | |
end | |
end) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lua Runtime Error: /base/util/logging.lua:16: attempt to concatenate local 'message' (a table value) | |
stack traceback: | |
/base/util/logging.lua:16: in function '_log' | |
/base/client/client.lua:109: in function 'log' | |
/base/client/connection_messages.lua:246: in function 'callback' | |
...y/virgo-example-agent/base/deps/luvit/lib/luvit/core.lua:236: in function 'emit' | |
/base/client/connection_stream.lua:196: in function 'callback' | |
...y/virgo-example-agent/base/deps/luvit/lib/luvit/core.lua:236: in function 'emit' | |
/base/client/client.lua:149: in function 'callback' | |
...y/virgo-example-agent/base/deps/luvit/lib/luvit/core.lua:236: in function 'emit' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(env)root@cdbproxy:~/cdbproxy/cdbproxy-endpoint# python test.py | |
(env)root@cdbproxy:~/cdbproxy/cdbproxy-endpoint# cp test.py virgo_endpoint/ | |
(env)root@cdbproxy:~/cdbproxy/cdbproxy-endpoint# python virgo_endpoint/test.py | |
Traceback (most recent call last): | |
File "virgo_endpoint/test.py", line 1, in <module> | |
from thrift.transport import TSocket | |
ImportError: No module named transport |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mon Sep 29 18:20:18 2014 DBG: Connection: 127.0.0.1:15001 (127.0.0.1:15001) -> READY -> AUTHENTICATED | |
Mon Sep 29 18:20:18 2014 INF: 127.0.0.1:15001 (hostname=127.0.0.1 connID=2) -> Connected | |
Mon Sep 29 18:20:18 2014 DBG: 127.0.0.1:15001 (hostname=127.0.0.1 connID=2) -> machine: state=Default (connect) | |
Mon Sep 29 18:20:18 2014 DBG: 127.0.0.1:15001 (hostname=127.0.0.1 connID=2) -> machine: state=Handshake (handshake_success) | |
Mon Sep 29 18:20:18 2014 INF: 127.0.0.1:15001 (hostname=127.0.0.1 connID=2) -> Connection has been authenticated to 127.0.0.1:15001 | |
Mon Sep 29 18:20:18 2014 DBG: 127.0.0.1:15001 (hostname=127.0.0.1 connID=2) -> Starting heartbeat interval, interval=5000ms | |
Mon Sep 29 18:20:18 2014 DBG: 127.0.0.1:15001 (hostname=127.0.0.1 connID=2) -> Not retrieving check manifest, because agent is not bound to an entity | |
Mon Sep 29 18:20:18 2014 DBG: 127.0.0.1:15001 (hostname=127.0.0.1 connID=2) -> Using timeout 304714ms | |
Mon Sep 29 18:20:23 2014 DBG: 127.0.0.1:15001 (hostname=127.0.0.1 connID=2) -> Sending he |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
a | |
b | |
c | |
]] | |
vs | |
--[[ | |
a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Purpose: Consumer Database service in Rackspace Cloud | |
* multi-region and ha | |
* datastores: oracle mysql 5.1/5.6, mariadb 10, percona 5.6 | |
* deploy: puppet, jenkins | |
* monitor/log: logstash, elasticsearch, kibana, graphite, & private monitoring | |
* other deployment info | |
** containerized via openvz | |
** san backed mysql volumes | |
** custom control panel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
baz@marceline:~/Documents/work/cdb-utils/cdbutils$ find ./ -type f -exec md5sum {} \;|md5sum | |
ee349b15d3ad35b6d4b1f13f6b4b5df9 - | |
baz@marceline:~/Documents/work/Cloud-Database/internal/cdb-utils/cdbutils$ find ./ -type f -exec md5sum {} \;|md5sum | |
ee349b15d3ad35b6d4b1f13f6b4b5df9 - |