Skip to content

Instantly share code, notes, and snippets.

View hub-cap's full-sized avatar

Michael Basnight hub-cap

View GitHub Profile
@hub-cap
hub-cap / gist:8246807
Created January 3, 2014 21:19
What happens when you tell your friend cp16net about /lastlog
Lastlog:
19:49 <cp16net> i need to poop
19:50 <cp16net> now you can /lastlog poop
21:18 <cp16net> he might have gone poop
End of Lastlog
A conversation i had about testing a feature hehe
(- comments are not made by me, but the person i was talking to)
-------------------------------------------------
do they _only_ depend a deployed environment for testing?
- yeah, mostly prod
then fuck them, fuck them to hell with flaming brooms
>>> dict([(k,v) for (k,v) in [z.split("=")[:2] for z in astr.split(",")]])
{'port-id': 'port_uuid', 'net-id': 'net_uuid', 'v4-fixed-ip': 'ip_addr'}
baz@53481-redis:~/trove-integration/scripts$ trove --debug datastore-list
DEBUG (shell:653) __init__() got an unexpected keyword argument 'retries'
Traceback (most recent call last):
File "/opt/stack/python-troveclient/troveclient/shell.py", line 648, in main
sys.argv[1:]))
File "/opt/stack/python-troveclient/troveclient/shell.py", line 468, in main
bypass_url=bypass_url)
File "/opt/stack/python-troveclient/troveclient/client.py", line 411, in Client
return client_class(*args, **kwargs)
File "/opt/stack/python-troveclient/troveclient/v1/client.py", line 103, in __init__
131211 17:00:39 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysql start/running, process 16680
Setting up libhtml-template-perl (2.10-1) ...
Setting up mysql-server (5.5.34-0ubuntu0.12.04.1) ...
Errors were encountered while processing:
rabbitmq-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
++ failed
++ local r=100
+++ jobs -p
@hub-cap
hub-cap / gist:7882741
Last active December 30, 2015 20:48 — forked from anonymous/gist:7882735
2013-12-09 23:01:19.766 DEBUG trove.common.auth [-] Authorized tenant '0c42e17b6e0b45fab50f4a927737522c' request: GET /v1.0/0c42e17b6e0b45fab50f4a927737522c/instances HTTP/1.0
Accept: application/json
Accept-Encoding: gzip, deflate, compress
Content-Type: text/plain
Host: 162.242.223.234:8779
User-Agent: python-troveclient
X-Auth-Project-Id: demo
X-Auth-Token: bleck-long-junk
X-Domain-Id: None
X-Domain-Name: None
- return instance.save()
+ try:
+ return instance.save()
+ except TypeError:
+ import traceback, sys
+ exc_type, exc_value, exc_traceback = sys.exc_info()
+ traceback.print_tb(exc_traceback, limit=1, file=sys.stdout)
baz@47934-15:~/trove-integration/scripts$ trove datastore-list
+--------------------------------------+------------------+
| id | name |
+--------------------------------------+------------------+
| 19cf0ea6-740e-4356-95be-720dc9361d48 | Test_Datastore_1 |
| 81973473-0989-43d6-9f1f-a0c043f1b36f | Test_Mysql |
+--------------------------------------+------------------+
WARNING: EXTRA_OPTS is used
You are using EXTRA_OPTS to pass configuration into nova.conf.
Please convert that configuration in localrc to a nova.conf section in local.conf:

Set up notmuch…

update d-g script to cache images

  • Possibly fix up diskimage-builder as well w/ the cache stuff

Bug Triage

  • Check new bugs

Blueprint Triage

  • Check new blueprints

Do the following reviews