Preventing critical services from deploying on the same OpenStack host

OpenStack’s compute service, nova, manages all of the virtual machines within a OpenStack cloud. When you ask nova to build an instance, or a group of instances, nova’s scheduler system determines which hypervisors should run each instance. The scheduler uses filters to figure out where each instance belongs. However, there are situations where the scheduler might put more than one of your instances on the same host, especially when resources are constrained....

2016-08-09 · 3 min · Major Hayden

OpenStack instances come online with multiple network ports attached

I ran into an interesting problem recently in my production OpenStack deployment that runs the Mitaka release. On various occasions, instances were coming online with multiple network ports attached, even though I only asked for one network port. The problem If I issued a build request for ten instances, I’d usually end up with this: 6 instances with one network port attached 2-3 instances with two network ports attached (not what I want) 1-2 instances with three or four network ports attached (definitely not what I want) When I examined the instances with multiple network ports attached, I found that one of the network ports would be marked as up while the others would be marked as down....

2016-08-03 · 6 min · Major Hayden

Talk recap: The friendship of OpenStack and Ansible

The 2016 Red Hat Summit is underway in San Francisco this week and I delivered a talk with Robyn Bergeron earlier today. Our talk, When flexibility met simplicity: The friendship of OpenStack and Ansible, explained how Ansible can reduce the complexity of OpenStack environments without sacrificing the flexibility that private clouds offer. The talk started at the same time as lunch began and the Partner Pavilion first opened, so we had some stiff competition for attendees' attention....

2016-06-29 · 3 min · Major Hayden

Getting started with gertty

When you’re ready to commit code in an OpenStack project, your patch will eventually land in a Gerrit queue for review. The web interface works well for most users, but it can be challenging to use when you have a large amount of projects to monitor. I recently became a core developer on the OpenStack-Ansible project and I searched for a better solution to handle lots of active reviews. This is where gertty can help....

2016-05-11 · 3 min · Major Hayden

Automated Let’s Encrypt DNS challenges with Rackspace Cloud DNS

Let’s Encrypt has taken the world by storm by providing free SSL certificates that can be renewed via automated methods. They have issued over 1.4 million certificates since launch in the fall of 2015. If you are not familiar with how Let’s Encrypt operates, here is an extremely simple explanation: Create a private key Make a request for a new certificate Complete the challenge process You have a certificate! That is highly simplified, but there is plenty of detail available on how the whole system works....

2016-03-31 · 4 min · Major Hayden

Segmentation faults with sphinx and pyenv

I’m a big fan of the pyenv project because it makes installing multiple python versions a simple process. However, I kept stumbling into a segmentation fault whenever I tried to build documentation with sphinx in Python 2.7.11: writing output... [100%] unreleased [app] emitting event: 'doctree-resolved'(<document: <section "current series release notes"...>>, u'unreleased') [app] emitting event: 'html-page-context'(u'unreleased', 'page.html', {'file_suffix': '.html', 'has_source': True, 'show_sphinx': True, 'last generating indices... genindex[app] emitting event: 'html-page-context'('genindex', 'genindex.html', {'pathto': <function pathto at 0x7f4279d51230>, 'file_suffix': '....

2016-02-09 · 1 min · Major Hayden

Enabling kwallet after accidentally disabling it

Although I use GNOME 3 as my desktop environment, I prefer KDE’s kwallet service to gnome-keyring for some functions. The user interface is a little easier to use and it’s easier to link up to the keyring module in Python. Accidentally disabling kwallet A few errant mouse clicks caused me to accidentally disable the kwalletd service earlier today and I was struggling to get it running again. The daemon is usually started by dbus and I wasn’t entirely sure how to start it properly....

2016-01-28 · 2 min · Major Hayden

Nobody is using your software project. Now what?

Working with open source software is an amazing experience. The collaborative process around creation, refinement, and even maintenance, drives more developers to work on open source software more often. However, every developer finds themselves writing code that very few people actually use. For some developers, this can be really bothersome. You offer your code up to the world only to find that the world is much less interested than you expected....

2016-01-15 · 5 min · Major Hayden

supernova 2.2.0 is available

Thanks to all of the contributors that helped make a new release of supernova possible! Version 2.2.0 is available on GitHub or PyPi. Changes There’s now a fix for some Pygi keyring errors that appeared on the console for some systems that use GnomeKeyring for credential storage. Thanks to dbolackrs for the fix and to gtmanfred for updating the tests. Justin added some functionality to provide shorter listings of environment variables when you ask supernova to print all of the configurations from your ....

2015-12-04 · 1 min · Major Hayden

supernova is coming to Fedora repositories

If you use Fedora, you will soon be able to install supernova via a Fedora package! The packages are currently in the testing repositories but they will soon be available in the stable repositories for Fedora 22, 23, and rawhide. Want it right now? If you want to install supernova now, simply tell dnf to install it from the updates-testing repository: dnf install --enablerepo=updates-testing supernova supernova in EPEL A few people have asked for supernova to be added to EPEL, but the version of the click module for python is too old....

2015-09-11 · 1 min · Major Hayden