Cloud-init and the case of the changing hostname

Wed 10 December 2014 by Lars Kellogg-Stedman Tags openstack rdo neutron

Setting the stage

I ran into a problem earlier this week deploying RDO Icehouse under RHEL 6. My target systems were a set of libvirt guests deployed from the RHEL 6 KVM guest image, which includes cloud-init in order to support automatic configuration in cloud environments. I take advantage of …

read more

Starting systemd services without blocking

Tue 02 December 2014 by Lars Kellogg-Stedman Tags systemd

Recently, I've been playing around with Fedora Atomic and Kubernetes. I ran into a frustrating problem in which I would attempt to start a service from within a script launched by cloud-init, only to have have systemctl block indefinitely because the service I was attempting to start was dependent on …

read more

Fedora Atomic, OpenStack, and Kubernetes (oh my)

Mon 24 November 2014 by Lars Kellogg-Stedman Tags openstack kubernetes fedora atomic

While experimenting with Fedora Atomic, I was looking for an elegant way to automatically deploy Atomic into an OpenStack environment and then automatically schedule some Docker containers on the Atomic host. This post describes my solution.

Like many other cloud-targeted distributions, Fedora Atomic runs cloud-init when the system boots. We …

read more

Creating a Windows image for OpenStack

Sat 15 November 2014 by Lars Kellogg-Stedman Tags openstack windows

If you want to build a Windows image for use in your OpenStack environment, you can follow the example in the official documentation, or you can grab a Windows 2012r2 evaluation pre-built image from the nice folks at CloudBase.

The CloudBase-provided image is built using a set of scripts and …

read more

Building Docker images with Puppet

Wed 22 October 2014 by Lars Kellogg-Stedman Tags puppet docker

I like Docker, but I'm not a huge fan of using shell scripts for complex system configuration...and Dockerfiles are basically giant shell scripts.

I was curious whether or not it would be possible to use Puppet during the docker build process. As a test case, I used the ssh …

read more