Using tools badly: time shifting git commits with Workinghours

Fri 10 April 2015 by Lars Kellogg-Stedman Tags git hack

This is a terrible hack. If you are easily offended by bad ideas implemented poorly, move along!

You are working on a wonderful open source project...but you are not supposed to be working on that project! You're supposed to be doing your real work! Unfortunately, your extra-curricular activity is …

read more

Booting cloud images with libvirt

Tue 10 March 2015 by Lars Kellogg-Stedman Tags fedora cloud-init

Most major distributions now provide "cloud-enabled" images designed for use in cloud environments like OpenStack and AWS. These images are usually differentiated by (a) being relatively small, and (b) running cloud-init at boot to perform initial system configuration tasks using metadata provided by the cloud environment.

Because of their small …

read more

Diagnosing problems with an OpenStack deployment

Mon 09 March 2015 by Lars Kellogg-Stedman Tags openstack

I recently had the chance to help a colleague debug some problems in his OpenStack installation. The environment was unique because it was booting virtualized aarch64 instances, which at the time did not have any PCI bus support...which in turn precluded things like graphic consoles (i.e., VNC or …

read more

Converting hexadecimal ip addresses to dotted quads with Bash

Sun 08 March 2015 by Lars Kellogg-Stedman Tags bash docker

This is another post that is primarily for my own benefit for the next time I forget how to do this.

I wanted to read routing information directly from /proc/net/route using bash, because you never know what may or may not be available in the minimal environment of …

read more

Visualizing Pacemaker resource constraints

Tue 24 February 2015 by Lars Kellogg-Stedman Tags pacemaker visualization

If a picture is worth a thousand words, then code that generates pictures from words is worth...uh, anyway, I wrote a script that produces dot output from Pacemaker start and colocation constraints:

https://github.com/larsks/pacemaker-tools/

You can pass this output to graphviz to create visualizations of your …

read more