Category Archives: Essex

HOWTO migrate an AMI from Essex to a bootable volume on Havana

A snapshot of an Essex OpenStack instance contains an AMI ext3 file system. It is rsync’ed to a partitioned volume in the Havana cluster. After installing grub from chroot, a new instance can be booted from the volume.

Posted in Essex, Havana, openstack | 1 Comment

HOWTO install Ceph teuthology on OpenStack

Teuthology is used to run Ceph integration tests. It is installed from sources and will use newly created OpenStack instances as targets: $ cat targets.yaml targets: ubuntu@target1.novalocal: ssh-rsa AAAAB3NzaC1yc2… ubuntu@target2.novalocal: ssh-rsa AAAAB3NzaC1yc2… They allow password free ubuntu ssh connection with … Continue reading

Posted in Essex, ceph, openstack | 1 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 | 1 Comment

Disaster recovery on host failure in OpenStack

The host 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

ceph code coverage (part 2/2)

WARNING: teuthology has changed significantly, the instructions won’t work anymore. When running ceph integration tests with teuthology, code coverage reports shows which lines of code were involved. Adding coverage: true to the integration task and using code compiled for code … Continue reading

Posted in Essex, Folsom, ceph, openstack | 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

nagios puppet module for the April infrastructure

This document explains the nagios configuration for the infrastructure of the April non profit organisation. It is used to configure the nagios server overseeing all the services. The nagios plugins that cannot be run from the server ( such as … Continue reading

Posted in Essex, openstack | Leave a comment

Migrating OpenVZ virtual machines to OpenStack

A OpenVZ cluster hosts GNU/Linux based virtual machines. The disk is extracted with rsync and uploaded to the glance OpenStack image service with glance add … disk_format=ami…. It is associated with a kernel image compatible with both OpenStack and the … Continue reading

Posted in Essex, openstack | 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 | 1 Comment

routing ipv6 from Hetzner to an OpenStack instance

The 2a01:4f8:162:12e3::2 IPv6 address is assigned to from the IPv6 subnet provided by Hetzner. The OpenStack host on which the instance running is running is configured as a proxy with sysctl -w net.ipv6.conf.all.proxy_ndp=1 ip -6 neigh add proxy … Continue reading

Posted in Essex, openstack | 3 Comments