Comment #11 on issue 1064 by [email protected]: Cannot install VM on
Gluster bankend storage
https://code.google.com/p/ganeti/issues/detail?id=1064
As I'm not able to reproduce the problem, the previous fix I suggested
wasn't probably wasn't the correct one. Please try this one instead:
diff --git a/create b/create
index 6565176..08a2cb3 100755
--- a/create
+++ b/create
@@ -38,6 +38,7 @@ if [ ! -b $blockdev ]; then
ORIGINAL_BLOCKDEV=$blockdev
blockdev=$(losetup --show -f $blockdev)
CLEANUP+=("losetup -d $blockdev")
+ CLEANUP+=("udevadm settle")
fi
DEVICE_SIZE=$(blockdev --getsize64 $blockdev)
That is, add CLEANUP+=("udevadm settle") _after_ the 'losetup -d ...'
command (the cleanup commands are executed in reverse order).
--
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