Safely restarting an OpenStack server with Ansible

Wed 24 January 2018 by Lars Kellogg-Stedman Tags ansible openstack

The other day on #ansible, someone was looking for a way to safely shut down a Nova server, wait for it to stop, and then start it up again using the openstack cli. The first part seemed easy:

- hosts: myserver
    - name: shut down the server
      command: poweroff
      become: true …
read more

Some notes on PWM on the Raspberry Pi

Tue 26 September 2017 by Lars Kellogg-Stedman Tags raspberrypi pwm

I was recently working on a project in which I wanted to drive a simple piezo buzzer attached to a GPIO pin on a Raspberry Pi. I was already using the RPi.GPIO module in my project so that seemed like a logical place to start, but I ran into …

read more

Ansible for Infrastructure Testing

At $JOB we often find ourselves at customer sites where we see the same set of basic problems that we have previously encountered elsewhere ("your clocks aren't in sync" or "your filesystem is full" or "you haven't installed a critical update", etc). We would like a simple tool that could …

read more

Better bulk filtering for Gmail

Fri 07 July 2017 by Lars Kellogg-Stedman Tags gmail

I use Gmail extensively for my personal email, and recently my workplace has been migrated over to Gmail as well. I find that for my work email I rely much more extensively on filters and labels to organize things (like zillions of internal and upstream mailing lists), and that has …

read more

OpenStack, Containers, and Logging

Wed 14 June 2017 by Lars Kellogg-Stedman Tags openstack logging

I've been thinking about logging in the context of OpenStack and containerized service deployments. I'd like to lay out some of my thoughts on this topic and see if people think I am talking crazy or not.

There are effectively three different mechanisms that an application can use to emit …

read more