Skip to content →

Category: Leif’s Posts

AWX: The Poor Man’s CI?

I’m just going to go ahead and blame @dougbtv
for all my awesome and terrible ideas. We’ve been working on several
Ansible playbooks to spin up development
environments; like
kucean.

Due to the rapid development nature of things like Kubernetes, Heketi,
GlusterFS, and other tools, it’s both possible and probable that our playbooks
could become broken at any given time. We’ve been wanting to get some continous
integration spun up to test this with Zuul v3
but the learning curve for that is a bit more than we’d prefer to
tackle for some simple periodic runs. Same goes for Jenkins
or any other number of continous integration software bits.

Enter the brilliantly mad mind of @dougbtv. He wondered if AWX (Ansible Tower)
could be turned into a sort of “Poor Man’s CI”? Hold my beer. Challenge
accepted!

Leave a Comment

Deploying AWX to OpenStack RDO Cloud

Recently I’ve been playing around with AWX (the upstream, open source code base
of Ansible Tower), and wanted to make it easy to deploy. Standing on the
shoulders of giants (namely @geerlingguy)
I built out a wrapper playbook that would let me easily deploy AWX into a VM on
an OpenStack cloud (in my case, the RDO Cloud). In this blog post, I’ll show
you the wrapper playbook I built, and how to consume it to deploy a development
AWX environment.

Leave a Comment

Persistent volumes with GlusterFS

It’s been a while since I had the original vision of how storage might work
with Kubernetes. I had seen a project called Heketi that helped to make
GlusterFS live inside the Kubernetes infrastructure itself. I wasn’t entirely
convinced on this approach because I wasn’t necessarily comfortable with
Kubernetes managing its own storage infrastructure. This is the story about how
wrong I was.

Comments closed

yakLab build out

The yakLab is a place where yaks are electronically instantiated for the
purpose of learning and documenting. The lab consists of a virtualization host
(virthost) which has 64GB of memory and hosts all the virtual machines,
primarily for infrastructure.

Comments closed

Create network bridge with nmcli for libvirt

In order to get libvirt working properly with bridged networking, we first need to configure our local network to have network bridge slaved to our wired ethernet adapter. I don’t have to set this up too often (as once I do, it just sits there running happily). Here are some basic steps I did to get this going locally.
Add a bridge interface via Network Manager Before we get to adding a new network interface to libvirt, we’ll add our bridge interface to our host system via Network Manager.

Comments closed

TripleO: Using the fake_pxe driver with Ironic

I’ve been working on testing things with TripleO and normally I use TripleO Quickstart to spin things up in a virtual environment.
Often when doing NFV work though, you need things that can’t be used in a virtual environment (such as DPDK, SR-IOV, etc) so you need some baremetal nodes.
In my home lab environment though, I don’t have the luxury of IPMI, so I need to make use of the fake_pxe driver in Ironic, which allows for standard PXE control, but requires you to deal with powering on and off the machines manually.

Comments closed