Fixing “Another operation involving the object is currently in progress” on XenServer

Sometimes XenServer does not allow you to shutdown or reboot a VM because “Another operation involving the object is currently in progress”. It would be nice to see what that operation is and be able to terminate the operation from XenCenter, but that isn’t the case yet. However, it is possible from the command line […]

Fixing “unable to find partition containing kernel” on XenServer with Ubuntu VM

Sometimes an Ubuntu VM doesn’t start up anymore on XenServer. The following error is shown in XenCenter: Error: Starting VM ‘My VM’ – Using <class ‘grub.GrubConf.Grub2ConfigFile’> to parse /grub/grub.cfg – WARNING:root:Unknown directive load_video – WARNING:root:Unknown directive terminal_output – WARNING:root:Unknown directive else – WARNING:root:Unknown directive elif – WARNING:root:Unknown directive else – WARNING:root:Unknown directive else – WARNING:root:Unknown […]

Installing OpenStack with DevStack

OpenStack is open source software for building private and public clouds. There are several ways to install OpenStack. This guide will walk you through the installation of DevStack, which is a documented shell script to build complete OpenStack development environments. We will start with the installation of Ubuntu 12.04 (LTS). Make sure that you create […]

Restoring backup of VM in XenServer

In a previous article we looked at backing up running VMs in XenServer. In this article, we will see how a backed up VM can be restored. Login to the console of the host machine you want the restored VM to be placed on, and issue the following command: xe vm-import filename=”/path/to/backed-up-vm.xva” preserve=true The path […]

Visualizing Puppet manifest resources and relationships

Puppet allows you to generate .dot files that show the resources and relationships present in the manifest files that you have. To generate these .dot files without actually applying the manifest files, perform the following command: puppet apply /path/to/manifest.pp –noop –graph This will place three .dot files in the output directory for graphs, by default […]

Installing latest version of Puppet on Ubuntu

The latest version of Puppet can be installed on Ubuntu by adding the Puppetlabs repository and then installing the official Puppet package: sudo wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb sudo dpkg -i puppetlabs-release-precise.deb sudo apt-get update sudo apt-get install puppet This will install the latest official version of Puppet. Check the version by issuing this command: puppet –version At […]

Installing latest version of Puppet on CentOS

The latest version of Puppet can be installed on CentOS by adding the Puppetlabs repository and then installing the official Puppet package: rpm -Uvh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-7.noarch.rpm yum install puppet This will install the latest official version of Puppet. Check the version by issuing this command: puppet –version At the time of writing, the latest version was […]