Comment #5 on issue 1064 by [email protected]: Cannot install VM on Gluster bankend storage
https://code.google.com/p/ganeti/issues/detail?id=1064

Looking at Comment #2, it seems that the main issue is that the OS creation script failed. This might be similar to Issue 1037. Please try to update the relevant OS creation script (most likely /srv/ganeti/os/debootstrap/) with this patch (must be done on all nodes!):

diff --git a/create b/create
index 6565176..b6c1754 100755
--- a/create
+++ b/create
@@ -37,7 +37,7 @@ CACHE_FILE="$CACHE_DIR/cache-${SUITE}-${DPKG_ARCH}.tar"
 if [ ! -b $blockdev ]; then
   ORIGINAL_BLOCKDEV=$blockdev
   blockdev=$(losetup --show -f $blockdev)
-  CLEANUP+=("losetup -d $blockdev")
+  CLEANUP+=("udevadm settle ; losetup -d $blockdev")
 fi

 DEVICE_SIZE=$(blockdev --getsize64 $blockdev)

Since I don't know which version of the OS installation script you're using, I'm giving it as a reference - it might not apply cleanly, so in that case just edit the scripts manually. The important thing is that 'udevadm settle' is run during the cleanup just before 'losetup -d ...'.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to