Category Archives: debian

Bio++: efficient, extensible libraries and tools for computational molecular evolution

Efficient algorithms and programs for the analysis of the ever-growing amount of biological sequence data are strongly needed in the genomics era. The pace at which new data and methodologies are generated calls for the use of pre-existing, optimized – … Continue reading

Posted in Bio++, debian | Leave a comment

Virtualizing legacy hardware in OpenStack

A five years old hardware is being decommissioned and hosts fourteen vservers on a Debian GNU/Linux lenny running a 2.6.26-2-vserver-686-bigmem linux kernel. The April non profit relies on these services (mediawiki, pad, mumble, etc. ) for the benefit of its … Continue reading

Posted in Essex, debian, openstack | Leave a comment

Disaster recovery on host failure in OpenStack

The host bm0002.the.re becomes unavailable because of a partial disk failure on an Essex based OpenStack cluster using LVM based volumes and multi-host nova-network. The host had daily backups using rsync / and each LV was copied and compressed. Although … Continue reading

Posted in Essex, debian, openstack | Leave a comment

nova-network debugging tips

A single machine is installed with Debian GNU/Linux OpenStack Folsom. Four instances are created and it turns out that nova-network is configured with the wrong public interface. It can be fixed without shutting down the instance: nova suspend target1 The … Continue reading

Posted in Folsom, debian, openstack | Leave a comment

Installing OpenStack Folsom on Debian GNU/Linux wheezy

Installing and testing OpenStack Folsom on a virgin Debian GNU/Linux wheezy takes less than one hour. A set of packages is archived to make sure it keeps working. After checking the pre-requisites such as a public and private interface, the … Continue reading

Posted in Folsom, debian, openstack | 1 Comment

flushing OpenVPN routes to prevent temporary incorrect routing

An OpenVPN client routes 192.168.2.0/24. root@controller:~# ip route show 192.168.2.0/24 192.168.2.0/24 via 192.168.0.21 dev tun0 When the OpenVPN client is down, IP in the 192.168.2.0/24 network will be cached to go thru the default route instead: root@controller:~# ip route show … Continue reading

Posted in debian | Leave a comment

anatomy of an OpenStack based integration test for a backuppc puppet module

An integration test is run by jenkins within an OpenStack tenant. It checks that the backuppc puppet module is installed ssh root@$instance test -f /etc/backuppc/hosts || return 3 A full backup is run ssh root@$instance su -c ‘”/usr/share/backuppc/bin/BackupPC_serverMesg \ backup … Continue reading

Posted in Essex, debian, openstack, puppet | Leave a comment

realistic puppet tests with jenkins and OpenStack (part 2/2)

The April infrastructure uses puppet manifests stored in a git repository. On each commit, a jenkins job is run and it performs realistic tests in a dedicated OpenStack tenant. If the test is successfull, jenkins pushes the commit to the … Continue reading

Posted in Essex, debian, openstack, puppet | Leave a comment

shared git repository over ssh

A git repository is configured to be shared between users from the same group with: # grep group /srv/repos/git/l2mesh.git/config shared = group The repository directory is set with the group sticky bit so that files created by a user have … Continue reading

Posted in debian | Leave a comment

realistic puppet tests with jenkins and OpenStack (part 1/2)

A git repository containing a puppet module is bound to a jenkins project. When the repository changes, jenkins boots a virgin puppetmaster OpenStack instance in a dedicated tenant. It runs the run-jenkins-test-in-openstack.sh script in the puppetmaster instance. In addition to … Continue reading

Posted in debian, jenkins, openstack, puppet | Leave a comment