Extending Puppet

Wed 16 April 2014 by Lars Kellogg-Stedman Tags puppet

I wanted to learn about writing custom Puppet types and providers. The official documentation is a little sparse, but I finally stumbled upon the following series of articles by Gary Larizza that provide a great deal of insight into the process and a bunch of example code:

read more

Multinode OpenStack with Packstack

Thu 27 February 2014 by Lars Kellogg-Stedman Tags openstack rdo hangout

I was the presenter for this morning's RDO hangout, where I ran through a simple demonstration of setting up a multinode OpenStack deployment using packstack.

The slides are online here.

Here's the video (also available on the event page):

read more

Show OVS external-ids

Sun 19 January 2014 by Lars Kellogg-Stedman Tags openstack openvswitch

This is just here as a reminder for me:

An OVS interface has a variety of attributes associated with it, including an external-id field that can be used to associate resources outside of OpenVSwitch with the interface. You can view this field with the following command:

$ ovs-vsctl --columns=name,external-ids …
read more

Stupid OpenStack Tricks

Thu 16 January 2014 by Lars Kellogg-Stedman Tags openstack tricks

I work with several different OpenStack installations. I usually work on the command line, sourcing in an appropriate stackrc with credentials as necessary, but occasionally I want to use the dashboard for something.

For all of the deployments with which I work, the keystone endpoint is on the same host …

read more

Direct access to Nova metadata

Tue 14 January 2014 by Lars Kellogg-Stedman Tags openstack

When you boot a virtual instance under OpenStack, your instance has access to certain instance metadata via the Nova metadata service, which is canonically available at http://169.254.169.254/.

In an environment running Neutron, a request from your instance must traverse a number of steps:

  • From the instance to a router,
  • Through a NAT rule in the router namespace,
  • To an instance of the neutron-ns-metadata-proxy,
  • To the actual Nova metadata service

When there are problem accessing the metadata, it can be helpful to verify that the metadata service itself is configured correctly and returning meaningful information.

read more