Python3 Ansible 2.4  upgrade issues

Python3 Ansible 2.4 upgrade issues

I was working on a python3 project so installed python3 on my mac via homebrew. However this became the default python and confused a few things that were expecting python2, such as ansible. I came across three errors, recording the…

Upgrading to Jenkins 2.x

Upgrading to Jenkins 2.x

From the Jenkins 2.0 page: This was supposed to be a “drop in replacement”.. however I encountered the following problems: New bouncy castle libs for crypto not compatible with jenkins-jclouds plugin, this caused all jobs that use single-use cloud slaves…

Decoding AF_Netlink Packets from strace

Decoding AF_Netlink Packets from strace

Recently I came across a problem where the openstack neutron linuxbridge-agent was executing bridge fdb show $dev To update its internal database, but these processes were not returning, they instead they were stacking up and increasing the load on the server. Stracing…

AMQPing v0.4 Released

AMQPing v0.4 Released

Introduction AMQPing (pypi, github) is a tool based on pika for testing an AMQP broker such as RabbitMQ. Its been on pypi for a while, but needed some love. Initially it could only connect to a broker successfully or throw an…

nc and cron

ProTip: When using the linux tool ‘nc’ in a cron job, remember to use the -d flag to prevent it from trying to read from standard input.