yakLab Part 1c: Bootstrapping Bifrost with Ansible

In this scene I’ll explore some of the bootstrapping I’ve been working on for a while that will result in a clean, shiny new Bifrost deployment, populated with inventory, executed from your laptop to a virtual machine.

Bifrost is an OpenStack project that utilizes OpenStack Ironic to provision baremetal nodes. This is related to my previous post on Building the virtual Cobbler deployment.

Read On →

yakLab Part 1b: Kickstart File Build Out

In scene 1b, we’ll continue with our work from the Building the virtual Cobbler deployment and get a kickstart file loaded into Cobbler. I’m going to be mostly reviewing the kickstart file itself, and not really getting into how to manage the Cobbler process itself (that’s left as an exercise for the reader).

Read On →

yakLab Part 1a: Building the virtual Cobbler deployment

In this scene I’ll discuss how I’ve built out a local Cobbler deployment into my virtual host in order to bootstrap the operating system onto my baremetal nodes via kickstart files and PXE booting.

Read On →

yakLab build out

Edit 2017-08-09: Updated diagram 1-1 to a graphic showing the entire lab physical topology

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.

Read On →

Finding available Ansible tags in playbooks and roles

Today I went down a yak shaving path trying to figure out how to get all the available tags in a fairly complicated plethora of Ansible playbooks and roles. One of these such situations involves TripleO Quickstart, which is made up of several different playbooks and repositories of different roles.

Read On →

Installing Python 2.7 on CentOS 6.x

I recently had a need to install Python 2.7 on an older CentOS 6 machine since I wanted to generate some SSL certificates for my web server. On CentOS 6, then default Python installation is 2.6, which doesn’t seem to work for Let’s Encrypt.

Read On →

Create a virtual undercloud with TripleO Quickstart

In this blog post I’ll discuss how I’m currently using TripleO Quickstart to instantiate a virtual machine on a remote virtual machine host from my workstation. In follow up blog posts I’ll discuss how to utilize the virtual machine to provision both virtual and baremetal overclouds from the virtual machine.

Read On →

Creating virtual machines in libvirt with virt-install

I’ve been wanting to automate my virtual machine instantiation for a while now, but I’ve always hated the idea of having to spin up multiple bits of infrastruction to deal with PXE booting, web server to host a kickstart file, etc. Luckily, I ran into some stuff today, and figured out how to automate virtual machine instantitation without having to resort to anything outside of localhost.

Read On →

Initial Fedora libvirt Setup

There are always a few things I need to do to get libvirt working with a non-root user on Fedora that I need to do, and typically results in some Google researching. Here are some notes of what I recently did to get my libvirt setup going on a new Fedora 25 installation and working with a non-root user.

Read On →

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.

Read On →