Ansible 2.0: The Docker connection driver

As the release of Ansible 2.0 draws closer, I'd like to take a look at some of the new features that are coming down the pipe. In this post, we'll look at the docker connection driver.

A "connection driver" is the mechanism by which Ansible connects to your target …

read more

Running NTP in a Container

Fri 09 October 2015 by Lars Kellogg-Stedman Tags docker atomic

Someone asked on IRC about running ntpd in a container on Atomic, so I've put together a small example. We'll start with a very simple Dockerfile:

FROM alpine
RUN apk update
RUN apk add openntpd

I'm using the alpine image as my starting point because it's very small …

read more

Migrating Cinder volumes between OpenStack environments using shared NFS storage

Tue 29 September 2015 by Lars Kellogg-Stedman Tags openstack cinder

Many of the upgrade guides for OpenStack focus on in-place upgrades to your OpenStack environment. Some organizations may opt for a less risky (but more hardware intensive) option of setting up a parallel environment, and then migrating data into the new environment. In this article, we look at how to …

read more

Provider external networks (in an appropriate amount of detail)

In Quantum in Too Much Detail, I discussed the architecture of a Neutron deployment in detail. Since that article was published, Neutron gained the ability to handle multiple external networks with a single L3 agent. While I wrote about that back in 2014, I covered the configuration side of it …

read more

In which we are amazed it doesn't all fall apart

Sun 26 July 2015 by Lars Kellogg-Stedman Tags openstack rant

So, the Kilo release notes say:

nova-manage migrate-flavor-data

But nova-manage says:

nova-manage db migrate_flavor_data

But that says:

Missing arguments: max_number

And the help says:

usage: nova-manage db migrate_flavor_data [-h]
  [--max-number <number>]

Which indicates that --max-number is optional, but whatever, so you try:

nova-manage db migrate_flavor_data --max-number 100

And that says …

read more