Monthly Archives: September 2012
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
OpenStack horizon : fix the Instance & Volumes page
In the horizon OpenStack dashboard, the display of the Instances & Volumes page fails for every account with administrative permissions, after a volume has been created and attached to an instance. While there are workarounds (such as using an unprivileged … Continue reading
OpenStack nested virtual machines
Running a virtual machine within a virtual machine (aka nested virtual machines) is supported by OpenStack by adding a stanza such as <cpu mode=’custom’ match=’exact’> <model>Nehalem</model> <feature policy=’require’ name=’vmx’/> </cpu> in the libvirt.xml.template file. The nested feature must be enabled … Continue reading
tinc based L2 mesh for OpenStack
Given three bare metal machines hosted at Hetzner, eNovance and OVH, l2mesh can be used to create a new ethernet interface L2M on each of them. It behaves as if they had a physical ethernet card connected to a hardware … Continue reading
Fix for iscsitarget session expiration bug blocking OpenStack volume deletion
When iscsitarget is used for nova-volume, there is a volume deletion problem because the iscsi session does not expire properly. A NMU fixing the problem was uploaded to the delayed queue for Debian GNU/Linux wheezy. An unblock request has been … Continue reading
Debian GNU/Linux wheezy mirror for OpenStack
Deploying OpenStack on Debian GNU/Linux requires the wheezy repository, which not stable yet at this date. When the HOWTO is tested to work against the current state of the wheezy repository, it is worth keeping a copy to ensure it … Continue reading
Cluster wide reverse proxy for OpenStack
A nginx based reverse proxy configuration is installed on each bare metal node. It helps when the OpenStack cluster is made of nodes located on various hosting providers ( such as eNovance, Hetzner, etc. ). Each machine to which the … Continue reading
Adding a Hetzner machine to the.re
The the.re OpenStack cluster is made of machines hosted in various places. When it is rented from Hetzner, it must be configured with Debian GNU/Linux wheezy and partitionned with a large LVM volume group for storage. It is given the … Continue reading
Configuring redmine turnkeylinux on OpenStack
A turnkeylinux redmine is installed to store the tasks and files related to the management of the the.re OpenStack cluster. It is configured for git public read-only access ( git clone http://redmine.the.re/git/turnkey.git ) and online browsing.
Using turnkeylinux for OpenStack
The images provided by turnkeylinux are mirrored on the OpenStack node running the glance image service. Each image of interest is uploaded into glance using turnkey2glance.sh. New flavors are created with nova flavor create to take advantage of their small … Continue reading