Category Archives: Ubuntu

Clustering Graphite – The Easy Way

Graphite is used extensively by many companies. Right now, I’m working on a large Cloud based project that collects metering/billing data from several sources like EMC ViPR, OpenStack, etc. In order to quickly generate reports we cache some of the … Continue reading

Posted in Open Source, OpenStack, Python, Ubuntu | Comments Off on Clustering Graphite – The Easy Way

Getting started with etcd and Python

In a nutshell etcd is an open-source distributed key value store and is written in Go. You can run a single instance but it really shines when you set it up in a cluster and it will gracefully handle master … Continue reading

Posted in Docker, Open Source, Python, Ubuntu | 1 Comment

Tutorial: Learning Salt with Vagrant (Ubuntu 14.04) – Part 2 – Using salt-ssh

In my previous Salt tutorial I showed you how to get a Salt master and a single minion setup and run a few commands. Today, I’m going to cover salt-ssh which is a very new package (alpha quality as of … Continue reading

Posted in Open Source, Python, Salt, Ubuntu | Comments Off on Tutorial: Learning Salt with Vagrant (Ubuntu 14.04) – Part 2 – Using salt-ssh

Installing Rundeck on Ubuntu 14.04 (Trusty) in Five Minutes

Rundeck is open source software that helps you automate routine operational procedures in data center or cloud environments. There are a lot of features that Rundeck offers, one of the ones I use is the ability to create jobs and … Continue reading

Posted in Open Source, Ubuntu | Comments Off on Installing Rundeck on Ubuntu 14.04 (Trusty) in Five Minutes

Tutorial: Learning Salt with Vagrant (Ubuntu 14.04) – Part 1

Where I work we use Salt to do large scale Cloud deployments to support a massive Object Store. Obviously, such installs on this scale need to be done with automation tools. In this case our team is using Salt. Today … Continue reading

Posted in Open Source, Python, Salt, Ubuntu | 3 Comments

Installing OpenStack Marconi (Message Queuing Service) on Ubuntu 12.04 LTS

OpenStack Marconi is a message queuing service, if you’ve used a message queue before like Amazon SQS, RabbitMQ, etc. then you’ll be familiar with the concepts of Marconi. Marconi is an OpenStack project currently in the incubation phase. Today I’ll … Continue reading

Posted in Open Source, OpenStack, Ubuntu | Comments Off on Installing OpenStack Marconi (Message Queuing Service) on Ubuntu 12.04 LTS

Running a Python (or almost anything) as a service with automatic restart via Upstart

Pretty often I run into a situation where I’d like a Linux application I’ve created to run as a service. Basically, run my Python, Go (GoLang), Ruby, etc. application on start-up and respawn it if it gets any kind of … Continue reading

Posted in Open Source, Python, Tornado, Ubuntu | 1 Comment

Working with the Python Keystone Client with OpenStack Keystone

Keystone is an OpenStack project that provides Identity, Token, Catalog and Policy services for use specifically by projects in the OpenStack family. For the python-keystoneclient there’s a Python API (the keystoneclient module), and a command-line script (keystone). I’m going to … Continue reading

Posted in Open Source, OpenStack, Python, Ubuntu | Comments Off on Working with the Python Keystone Client with OpenStack Keystone

Using SO_REUSEPORT with Python on Ubuntu 13.04

The Linux Kernel 3.9 introduced a new feature that allows you to bind multiple socket listeners (servers) to the same port on the same host. What this means is you can build servers that all listen on the same port … Continue reading

Posted in Open Source, Python, Socket Server, Ubuntu | Comments Off on Using SO_REUSEPORT with Python on Ubuntu 13.04

Getting started with Ansible on Ubuntu 13.04 (Desktop)

This blog post will cover getting Ansible working on Ubuntu 13.04. The steps are actually very well documented but I’ll cover a few steps I needed to do to get everything working properly. The steps here are for testing and … Continue reading

Posted in Ansible, Open Source, Python, Ubuntu | Comments Off on Getting started with Ansible on Ubuntu 13.04 (Desktop)