Reviewing OpenStack Submissions
Contributing patches to openstack is great, the process is well documented and once you have a few accounts setup its easy to do. However once you have submitted some code, you realise that there are many patches to review. Starting…
OpenStack Nova EC2 API Flow
I recently decided to poke around with the OpenStack Nova EC2 API implementation in order to have a go at bug 855663. I hadn’t looked inside nova-api before, so had some reading to do in order to figure out the…
Using EC2 APIs with Devstack
Devstack works very well when using the standard OpenStack APIs/Clients, however it wasn’t obvious how to get environment setup for testing EC2 compatibility. # Install and run devstack git clone https://github.com/openstack-dev/devstack.git cd devstack && ./stack.sh # Source environment source eurcarc…
Installing gevent from pypi on OSX
Attempting to install opencenter on OSX was failing as it requires gevent, which is a python module with native C that needs compiling. The last error is: error: Setup script exited with error: command ‘llvm-gcc-4.2′ failed with exit status 1…
iMac Target Display mode, bluetooth keyboard and mouse
When using an iMac as a secondary monitor for a macbook pro (target display mode), it is more comfortable to use the iMac’s keyboard and mouse rather than the MBPs, however this is not straight forward. Method 1: Synergy The…
Investigating Service Dependency in Chef Cookbooks
I needed to learn how a bunch of chef cookbooks interact, how they depend on each other, and how the services that they configure depend on each other. In order to make this task a little easier, I wrote a python…
nc and cron
ProTip: When using the linux tool ‘nc’ in a cron job, remember to use the -d flag to prevent it from trying to read from standard input.
Delegating a subdomain with Rackspace Cloud DNS
Currently the rackspace cloud control panel won’t let you delegate a DNS subodmain. When you add a record and set the type to NS, the hostname field is fixed so you can only delegate the whole domain: This didn’t…
Munin plugin for monitoring an orange uk account
Quick and dirty python munin plugin.
MySQL DBA II Revision
This article contains some rather random notes/information recorded while revising for the MySQL DBA II exam, these notes do not cover all topics in the exam.