Archive | Uncategorized

14 May 2013 ~ Comments Off

Escalating Complexity

Back in 2009 when I was backpacking around Europe I remember waking up on the morning of June 1 and reading about how an Air France flight had disappeared somewhere over the Atlantic.

The lack of information on what happened to the flight intrigued me…

Continue Reading

14 May 2013 ~ Comments Off

Why there is a future in cloud futures

Earlier this month, at the Cloud 2020 summit, in Las Vegas, a group of service providers, vendors, buyers and pundits met to discuss the future of cloud infrastructure. One of the tracks was on the economics of infrastructure services, and inclu…

Continue Reading

13 May 2013 ~ Comments Off

Building RPMs from ruby gems with fpm

Some time ago, I wrote up how I created RPMs for ruby gems to simplify installation on EL-flavoured distributions. In the comments for that article, Jordan Sissel pointed me at his fpm tool which I said I’d check out if I ever needed to build any more rubygem RPMs. Well, that time has come. I wanted… Continue reading

Continue Reading

10 May 2013 ~ Comments Off

Starting ChefSpec Example

This is a quick post to introduce what I’m starting on testing with
ChefSpec. This is from Opscode’s
Java cookbook. While the recipe tested is really trivial, it actually
has some nuances that require detailed testing.

First off, the whole…

Continue Reading

09 May 2013 ~ Comments Off

Test Kitchen and Jenkins

I’ve been working more with test-kitchen 1.0 alpha lately. The most
recent thing I’ve done is set up a Jenkins build server to run
test-kitchen on cookbooks. This post will describe how I did this for
my own environment, and how you can use…

Continue Reading

03 May 2013 ~ Comments Off

TDD Cookbook Ticket

This post will briefly describe how I did a TDD update to Opscode’s
runit to resolve an
issue reported last night.

First, the issue manifests itself only on Debian systems. The runit
cookbook’s runit_service provider will write an
LSB init…

Continue Reading

12 April 2013 ~ Comments Off

Samsung Note 2 freezing – here’s the fix

My Note 2 recently started apparently locking up/freezing and apparently required powering off to fix it. Thanks to this post, I discovered that this seems to be a "known" problem with the eMMC chip which is susceptible to "Sudden Death Syndrome" There is an app to determine if your phone has the chip that is… Continue reading

Continue Reading

05 April 2013 ~ Comments Off

Find files matching criteria, exclude NFS mounts

We have app servers with smallish local file systems and application data mounted over NFS. Sometimes I want to find all files matching a particular set of criteria but don't want to traverse the NFS mounts. Here's how to do it: find / -group sophosav -print -o -fstype nfs -prune Ordering is important, as is… Continue reading

Continue Reading

04 April 2013 ~ Comments Off

A few common graphite problems and how they are already solved.

metrics often seem to lack details, such as units and metric types
looking at a metric name, it’s often hard to know

the unit a metric is measured in (bits, queries per second, jiffies, etc)
the “type” (a rate, an ever increasing counter, gauge, etc)…

Continue Reading

30 March 2013 ~ Comments Off

djbdns dnscache not resolving akamai-hosted domains

I was experiencing problems with dnscache not resolving certain domains. On inspection, it turned out to be akamai-hosted domains that were failing. A quick google turned up this thread from 2004 (!), and a little further digging turned up this patch. I tweaked the patch a little to set QUERY_MAXLOOP to 1000 (original value: 100,… Continue reading

Continue Reading