Category Archives: Essex

creating a Debian GNU/Linux Wheezy puppet client for OpenStack

A Debian GNU/Linux wheezy image is booted and modified to set its hostname based on the content of the http://169.254.169.254/latest/meta-data/hostname metadata. The /etc/rc.local file is changed to run puppet agent –waitforcert 60 at boot time. The instance is then snapshoted … Continue reading

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

Configuring jenkins turnkeylinux on OpenStack

A turnkeylinux jenkins is installed to run tests related to the management of the the.re OpenStack cluster. It is configured to be used by registered users only from the web. An IRC bot is installed to allow interactions from the … Continue reading

Posted in Essex, debian, jenkins, openstack, turnkeylinux | Leave a comment

Interactions with the kvm monitor in OpenStack

For debug purposes, is is convenient to access the kvm monitor to gain information about the state of the instance: # python qmp-shell /var/lib/libvirt/qemu/instance-00000043.monitor Connected! (QEMU) query-commands [{u'name': u'qom-list-types'}, {u'name': u'change-vnc-password'}, ... (QEMU) query-vnc {u'family': u'ipv4', u'service': u'5900', u'clients': [], … Continue reading

Posted in Essex, debian, openstack | Leave a comment

Disaster recovery with kvm in OpenStack

A kvm process running an OpenStack instance with a volume attached to it becomes unresponsive. After manually investigating the cause of the problem, the kvm process is killed. The iscsi sessions is acknowledged to be lost and the disk is … Continue reading

Posted in Essex, debian, openstack | Leave a comment

Network boot an OpenStack instance

When an OpenStack instance is defined as a raw disk, the default libvirt XML description is set to boot from it, assuming it contains a boot record. The libvirt.xml.template file is modified to add an attempt to boot from the … Continue reading

Posted in Essex, debian, openstack | 2 Comments

packaging-farm for OpenStack Essex

The Essex OpenStack release is being packaged for Debian GNU/Linux wheezy upcoming release. Each new release of a package is committed to a git repository ( the keystone is an example ) by a member of the OpenStack Debian GNU/Linux … Continue reading

Posted in Essex, debian, openstack | Leave a comment

Migrating ganeti virtual machines to OpenStack (part 2 / 2)

A ganeti cluster hosts GNU/Linux based fully virtualized virtual machines, booting from a disk image with a boot loader and a partition table. The case of para-virtualized virtual machines has been covered in a previous post. An OpenStack LVM volume … Continue reading

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

Migrating ganeti virtual machines to OpenStack (part 1 / 2)

A ganeti cluster hosts GNU/Linux based para-virtualized virtual machines. The disk is extracted with kpartx(8) 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 … Continue reading

Posted in Essex, ganeti, openstack | Leave a comment

Minimal Debian GNU/Linux wheezy bootable image for OpenStack

A Debian GNU/Linux Wheezy Beta 2 AMI is uploaded to OpenStack. It really is an Ext4 file system that OpenStack will resize to use all the size of the primary disk of the instance. An AMI is made of three … Continue reading

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

Update an existing OpenStack instance after a global flag change

If a nova-compute flag ( for instance libvirt_use_virtio_for_bridges ) is changed after instances have been created, the existing instances won’t be changed accordingly. The libvirt XML description can be modified, both in /var/lib/nova/instances and in /etc/libvirt/qemu to reflect the desired … Continue reading

Posted in Essex, debian, openstack | 2 Comments