For those who haven’t noticed yet .. Im into devops .. Im also a little bit into Drupal, (blame my last name..) , so one of the frustrations I’ve been having with Drupal (an much other software) is the automation of deployment and upgrades of Drupal sites …
So for the past couple of days I’ve been trying to catch up to the ongoing discussion regarding the results of the configuration mgmt sprint , I’ve been looking at it mainly from a systems point of view , being with the use of Puppet/ Chef or similar tools in mind .. I know I`m late to the discussion but hey , some people take holidays in this season :) So below you can read a bunch of my comments … and thoughts on the topic ..
Ever since I met David Lutterkort over steaks at OLS 2007 augeas was this tool in the back of my mind that I couldn’t place… I never saw the need for it… or it seemed to be huge overkill for the problem that needed solving .
Till I ran into sipxecs rewriting XML files on the fly .. and putting values in their XML that I could not trace back to an original source. As of Augeas 0.8.x there’s an XML lens out there.
(This post has been sitting in the drafts folder for way to long, I decided to push the publish button anyhow .. some people might get ideas from it..)
We’ve all run in to the problem, you’ve puppetized, or euh .. cooked , about every part of your infrastructure and then there’s this one service which has no config files, a broken api that doesn’t allow you to configure antyhing, but a magnificent web gui to configure all aspects of the service. Magnificent for the eye , full of AJAX and other fancy stuff which wget isn’t really keen on. Off course before it even starts working you need to set it’s password , from that webgui.
Don’t you just love Ruby errors … like the one below ?
Don’t they almost make Java stack traces look readable ?
57 lines of jibberish … where all I wanted to read was “VirtualBox in error state, check gui”
People like Randall Hanssen deserve much more visibility .. they do understand how to write a good error message and there are lots of projects that need improvement there.
Anywhow… vagrant had suddenly stopped working on me with the error below
Two of my tweets , sorry dents, earlier today caused some people to ask me what on earth I was doing :)
You don’t exist, go away!
Was the first one, indeed .. it was a long time since I had actually seen that one.. this actually happens when you delete the user you are logged in with on a host, when the host notices you don’t exist anymore it will tell you.
I was testing some MySQL puppet modules on my Vagrant box earlier this week and one of them required augeas.
I kept running into “Could not find a default provider for augeas”, however all the appropriate augeas , augeas-lib and ruby-augeas packages were installed. I inspected the different ruby directories and the files were perfectly in /usr/lib/ruby/site_ruby/1.8 where I expected them.
With all the files seemd to be in the right place, my next option was to strace a small ruby script that included augeas, guess what that showed ..
Over the past couple of days I’ve been fighting with a weird puppet problem , we eventually cracked it , but I promised a bunch of you to fully explain it here ;)
So we were deploying 2 Blade chassis at a pretty remote location with a mix of phyisical and virtual machines, some 48 instances in total. This is a pretty standard rollout, we’ve got a bunch of similar platforms in our lab , so we knew about a couple of glitches, what to expect etc.
Has anyone noticed that pretty much every puppet module one finds on the internet by default enables the service they try to configure in the module
When looking at it from a single machine point of view it makes sense to include the module , have it configure your service and directly enable it by default.
So I started wondering .. isn’t there anybody out there who is building clusters ? Where services have to configured on multiple nodes but should NOT be running acitvely on all nodes by default because there is an external tool which manages that for you (Pacemaker framework eg.)
Just last last year we’ll have a Devops meetup just before Fosdem,
I’ve setup a page for registrations , that way we’ll know how many people to make reservations for.
If possible we’ll go to the same place as last year .. walking distance from the Fosdem Beer event.