How an Idea becomes a Commit in OpenStack

My talk from the OpenStack summit is now up on youtube, where I walked people through the process of getting your idea into OpenStack. A big part of the explanation is what’s going on behind the scenes with code reviews and our continuous integration system.

I’m hoping it pulls away some of the mystery of the process, and provides a more gentle on ramp to everything for new contributors. I’ll probably be giving some version of this again at future events, so feedback (here or on youtube) is appreciated.

How puppet rescued my botched server install

Saturday was a rainy day, so I decided to deal with switching out the root disk on my home server with an SSD that I purchased a couple weeks ago. It’s part of my quest to get all the root disks of my machines off spinning media. My home server was a build from parts machine, that’s long enough in the tooth that it won’t boot from USB. So I found a stack of CDRs upstairs, of equally dubious age, burned an Ubuntu 12.10 server iso, and started the install.

Things were chugging along quite well until the installer was supposed to install additional packages. Then it bombed out (I blame the ancient CDRs). I was able to get it to at least install grub, and get the thing to boot back onto the network.

What I found myself with was a super minimal install. It didn’t yet have a normal sources.list, it didn’t have openssh-server, it didn’t have ssh client even, it didn’t have any of the normal even minimal server install tools. I had about 30 minutes of manual to typing to get the base apt repo in, and get me so I could ssh in from upstairs to drive the rest of the process.

Boostrapping a Puppet Master

This is the machine that’s my puppet master. I had a copy of the oldroot over in one of my software raid arrays, so the moment I got that mounted, I dumped over the /etc/puppet this machine should have, and tried to just puppet my way up the rest of the way. I’d been on a month long kick to puppetize my home infrastructure, so this was a promising direction.

It turns out puppet up from nothing is a little harder when you are the puppetmaster, and dnsserver for the network as well. :) So it was about another 30 minutes of manually installing what was needed to get my puppetmaster started. Once that was up, I managed to get the first puppet agent run in, and it was epic. 45 minutes chugging away pulling down all the policies I needed, applying packages and configs, all the kind of magic that prevented me from spending my whole day trying to figure out how I had this server setup before.

It also showed me where my policy had holes. I’ve got xfs filesystems now, so xfsprogs need to be in the base case. My libvirt setup didn’t actually install kvm, but in the super minimal install, that wasn’t there. I hadn’t gotten around to managing my openvpn server yet, that’s in there now.

If I was to do it again…

One thing I really need is both a puppet and puppetmaster bootstrapping script. Using puppet to manage your puppetmaster is cool and all, but there is a bit of snake eating it’s own tail to get you started that required a little more manual command slinging than I liked.

But, had I not had so much of my server policy encoded in puppet, I’d still be typing commands now to get that box up and running. So I’m sold on the whole process, even for a smallish IT environment, like a few home servers and remote guests.

Modafinil Is Wall Street’s New Drug of Choice — New York Magazine

Modafinil, which is marketed as Provigil in the United States, was first approved by the FDA in 1998 for the treatment of narcolepsy, but since then it’s become better known as a nootropic, a “smart drug,” especially among entrepreneurs. More recently, it has attracted traders like Borden who don’t just need a pick-me-up to get through a deadline; they need to be on, without a break, for months, even years at a time.

via Modafinil Is Wall Street’s New Drug of Choice — New York Magazine.

It reminds me a lot of A Deepness in the Sky, minus the giant spider aliens.

Bitcoin might not be a currency

There are a couple of reasons why the bubble is sure to burst. The first is just that it’s a bubble, and any chart which looks like the one at the top of this post is bound to end in tears at some point. But there’s a deeper reason, too — which is that bitcoins are an uncomfortable combination of commodity and currency. The commodity value of bitcoins is rooted in their currency value, but the more of a commodity they become, the less useful they are as a currency.

via The Bitcoin Bubble and the Future of Currency — Money & Banking — Medium.

Definitely one of the best articles I’ve read on Bitcoin. I think the idea of bitcoin as commodity actually makes a lot more sense, given that it’s an artificially constrained resource that’s “mined”.

Easy Planet 1.1 released

We lost a few features moving mhvlug.org from Drupal 6 to Drupal 7, as modules just didn’t exist. One of the ones I missed the most was the Planet function provided by UD Planet. This was an extremely simple to use module that let you have an attractive Planet (a collection of user blogs) on your Drupal site. The original authors of the module have long since gone inactive. So this past weekend I decided to just port it to D7 and be done with it. It took about 8 hours, and now we have Easy Planet!

Easy Planet 1.1 is now out. This is a straight port of UD Planet to D7. The only functionality which isn’t there is the disabling of aggregator menu items, which I’m not convinced was a good idea in the first place. It’s live on http://mhvlug.org/planet, for anyone that wants to see what it looks like.

One of the most important things to me was smooth transition from UD Planet installation. Because mhvlug.org was a D6 -> D7 migration, I still had udplanet tables and settings in my database. I wanted the experience of easyplanet to be: turn it on, all your stuff is back. I managed to get it there last night, so I’d be extremely interested in others that are moving from UD Planet -> Easy Planet to make sure it’s as seamless for them.

For more info, and to download the code, check out the project site.

Chromebook Experiment

Last week I bought myself one of the Samsung Arm Chromebooks. My theory is that when at conferences this is a nice form factor, light, with a good keyboard for taking notes (interactive etherpad is a key piece of OpenStack design summits), that’s going to last a conference day. It’s also super cheap, so if anything happens to it, I don’t care.

Unlike a phone/tablet, this still means I have sane ssh access, and possibly able to still do code through an ssh connection to a server somewhere. We’ll see how the experiment holds up over the next month or so.

Honestly, the thing that’s going to give me the biggest headache is the touchpad, which is actually pretty good. But I’m someone that has 10+ years of muscle memory on the Thinkpad track point, and I don’t think I’ll ever get more than tolerant of touchpads.