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 →

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. Let me show you how I make use of that.

Read On →

TripleO: Consuming Composable Roles

So last week I started to look into learning the new composable services and roles that was added to Newton. I previously learned a little bit about deploying OpenStack clouds when I did training after joining Red Hat, but that was based on Liberty, and a lot has changed in TripleO since that time. The first thing was learning what composable services and roles are, and generally what they are intended to solve. I don’t want to get into that here, so I’d encourage you to go read some links first and then come back here. Additionally, it’s assumed you know what a TripleO is :)

Read On →

A Console Obsession

Recently I’ve gotten into running as many of my day-to-day applications in a Linux console. Thought I’d briefly share the applications I’ve been playing with.

Read On →

Rules For The Greater Goodness; A Product Development Guide

This page documents and provides bullets about the way to approach (or avoid) building products. These are lessons we’ve learned from previous encounters and which we wish to avoid in the future. By sticking firmly to these development rules, we avoid getting bogged down in complete system rearchitectures in the future. The means to a scaled end is to approach the first customer as all your customers.

Read On →

Asterisk Docker Container: Phase 1

AstriCon At AstriCon 2015 this year, there was a lot (and I mean a lot) of discussion around microservices (Docker), and what effort is required over the next year by the development community in order to make Asterisk better suited to running in that environment. One of the first things is, clearly, to have a container image that Asterisk runs in. I’ve done this a few times now, but having something that can be passed over to the official Asterisk Git repository, and which everyone can contribute to, utilize and play with would be the goal here. Read On →

Docker container results in x509: failed to load system roots and no roots provided

We have a small system running in AWS as a CentOS 7 image. It has a few containers that we’re using to host a few Golang API proxies. We migrated a customers API proxy that was running on the local VM into a container, and spun it up. Upon testing, we ran into the following error:

x509: failed to load system roots and no roots provided

Read On →

Configuring powerline to show working Git branch

So the documentation for Powerline┬ákind of sucks. I followed this pretty good article on getting started with it. First thing I noticed however is that the if statement on the article doesn’t work if you don’t have powerline installed (which kind of defeats the purpose of having the if statement there at all).

Read On →