From f5ecd5bcaf478e19444120fc57993c0222d726ea Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Mon, 24 Oct 2011 12:59:29 -0700 Subject: [PATCH] Add comment about why the sleep is there --- tools/build_kvm.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/build_kvm.sh b/tools/build_kvm.sh index 38a4943..03a3877 100755 --- a/tools/build_kvm.sh +++ b/tools/build_kvm.sh @@ -235,8 +235,12 @@ rm -f $VM_DIR/disk # Create our instance fs qemu-img create -f qcow2 -b $VM_IMAGE disk +# FIXME: we are sleeping because these qemu commands appear to not complete +# before they return... We should apply fix that is done in nova's disk.py sleep 5 +# FIXME: we are sleeping because these qemu commands appear to not complete +# before they return... We should apply fix that is done in nova's disk.py qemu-nbd -c $NBD disk sleep 5