Skip to content

Instantly share code, notes, and snippets.

2015-06-24 21:00:29.605294 REQ: curl -g -i 'http://135.25.135.73:8774/v2/6ecda1f798c04852bd2293f7bd1db1d5/os-quota-sets/6ecda1f798c04852bd2293f7bd1db1d5' -X GET -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Project-Id: 6ecda1f798c04852bd2293f7bd1db1d5" -H "X-Auth-Token: {SHA1}a8fd4483bc2d215a5d35b7c8768d681d003401ed"
2015-06-24 21:00:29.743982 RESP: [200] {'date': 'Wed, 24 Jun 2015 21:00:29 GMT', 'connection': 'keep-alive', 'content-type': 'application/json', 'content-length': '371', 'x-compute-request-id': 'req-41b72132-6181-48c6-9a31-6697929a3cdf'}
2015-06-24 21:00:29.744022 RESP BODY: {"quota_set": {"injected_file_content_bytes": 10240, "metadata_items": 128, "server_group_members": 10, "server_groups": 10, "ram": 51200, "floating_ips": 10, "key_pairs": 100, "injected_file_path_bytes": 255, "instances": 10, "security_group_rules": 20, "injected_files": 5, "cores": 20, "fixed_ips": -1, "id": "6ecda1f798c04852bd2293f7bd1db1d5", "security_groups": 10}}
2015-06-24 21:00:29.744034
INFO: mock.py version 1.4.7 starting (python version = 2.7.5)...
Start: init plugins
INFO: selinux disabled
Finish: init plugins
Start: run
INFO: Start(librdkafka.spec) Config(epel-7-x86_64)
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled yum cache
@pcarver
pcarver / gist:f37744b2fdc8ef717e64e8f11cba791a
Created December 13, 2017 15:28
Error installing netaddr
Adding sandesh 0.1dev to easy-install.pth file
Installed /home/pcarver/build/debug/pysandesh_test/lib/python2.7/site-packages/sandesh-0.1dev-py2.7.egg
Processing dependencies for sandesh==0.1dev
Searching for netaddr>=0.7.5
Reading https://pypi.python.org/simple/netaddr/
Download error on https://pypi.python.org/simple/netaddr/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERV ER_HELLO:unknown protocol -- Some packages may not be found!
Couldn't find index page for 'netaddr' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
@pcarver
pcarver / gist:33c590d031a6a1173df3b1d440766d77
Created December 13, 2017 16:21
Error installing third party dependencies
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
gcc -o third_party/http-parser-2.1/http_parser.o -c -O0 -DDEBUG -g third_party/http-parser-2.1/http_parser.c
scons: done building targets.
+ scons -j 1 --root=/home/pcarver/buildroot install
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: `install' is up to date.
@pcarver
pcarver / gist:2515208d6e08272b9f15f51e8cf08764
Created December 13, 2017 17:28
Problem copying git repos
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
gcc -o third_party/http-parser-2.1/http_parser.o -c -O0 -DDEBUG -g third_party/http-parser-2.1/http_parser.c
scons: done building targets.
+ scons -j 1 --root=/home/pcarver/buildroot install
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: `install' is up to date.
+ mkdir -p /home/pcarver/build/third_party/fysom-1.0.8/fysom
+ cp third_party/fysom-1.0.8/fysom/__init__.py build/third_party/fysom-1.0.8/fysom/
+ cp -r third_party/go build/third_party/
+ cp -r third_party/cni_go_deps build/third_party/
+ popd
~
++ date
+ echo 'INFO: start packing time Thu Dec 14 08:27:08 EST 2017'
INFO: start packing time Thu Dec 14 08:27:08 EST 2017
+ tar -czPf step-2.tgz /home/pcarver/build /home/pcarver/buildroot /home/pcarver/rpmbuild/RPMS
@pcarver
pcarver / gist:a275df8b3bb22e48eacda7864bb3791c
Created December 14, 2017 22:40
Import of non-existent variable ''contrail_common_base_doc_files''
HEAD is now at ac3045c Move base and io doc gen to contrail-common and export reference
+ popd
~/contrail-build-poc/scripts/05 ~
+ gitclone https://github.com/juniper/contrail-controller controller
+ local repo_url=https://github.com/juniper/contrail-controller
+ local repo_dst=controller
+ git clone https://github.com/juniper/contrail-controller controller
Cloning into 'controller'...
remote: Counting objects: 200384, done.
remote: Compressing objects: 100% (46/46), done.
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/yakkety-security/main/source/Sources 404 Not Found
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/yakkety/main/source/Sources 404 Not Found
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/yakkety-updates/main/source/Sources 404 Not Found
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/yakkety-backports/main/source/Sources 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
++functions-common:apt_get_update:1053 die 1053 'Failed to update apt repos, we'\''re dead now'
++functions-common:die:187 local exitcode=0
++functions-common:die:188 set +o xtrace
[Call Trace]
./stack.sh:734:source
@pcarver
pcarver / gist:708115277e6407e17973b477f7f5e3cd
Created January 23, 2018 19:54
Contrail build failure
IDJSON_NAMESPACE=contrail_rapidjson -DLINUX -Ibuild/production -Ibuild/production/base/sandesh -Isrc/contrail-common/base/sandesh -Ibuild/production/dns -Icontroller/src/dns -Ibuild/production/http/client -Icontroller/src/http/client -Ibuild/production/ifmap -Icontroller/src/ifmap -Ibuild/production/schema -Icontroller/src/schema -Ibuild/production/sandesh -Icontroller/src/sandesh -Ibuild/production/vnsw/agent -Icontroller/src/vnsw/agent -Ibuild/production/vnsw/agent/oper -Icontroller/src/vnsw/agent/oper -Ibuild/production/vnsw/agent/cmn -Icontroller/src/vnsw/agent/cmn -Ibuild/production/vnsw/agent/uve -Icontroller/src/vnsw/agent/uve -Ibuild/production/vrouter/sandesh -Ivrouter/sandesh -Ibuild/production/vnsw/agent/nexthop_server -Icontroller/src/vnsw/agent/nexthop_server -Ibuild/production/vnsw/agent/vrouter/ksync/linux -Icontroller/src/vnsw/agent/vrouter/ksync/linux -Ibuild/production/tools/sandesh/library/common -Isrc/contrail-common/sandesh/library/common -Ibuild/include/thrift -Ivrouter/include -Icontrol
[[local|localrc]]
LOG=True
LOGDAYS=1
PASSWORD="redacted"
DATABASE_PASSWORD=$PASSWORD
RABBIT_PASSWORD=$PASSWORD
SERVICE_TOKEN=$PASSWORD
SERVICE_PASSWORD=$PASSWORD
ADMIN_PASSWORD=$PASSWORD