Monthly Archives: October 2012

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

Debugging razor with OpenStack

razor can be used to deploy OpenStack. However, because it has been released mid 2012, debugging problems is often required. A razor virtual machine is created in an OpenStack cluster configured to allow network boot an OpenStack instance and nested … Continue reading

Posted in openstack, razor | 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