I'm currently not able to reproduce this, with something like the following:
ami=ami-000000bf zone=nova size=2 instsize=m1.medium key=mykey isready() { local s=$(euca-describe-instances "$1" | awk '$2 == i { print $6 }' "i=$1" ); echo $s 1>&2; [ "$s" = "running" ]; } out=$(euca-create-volume -z $zone -s $size) vol=$(echo "$out" | awk '$1 = "VOLUME" { print $2 }') sleep 5; # to let it get to available out=$(euca-run-instances "--key=$key" "--instance-type=$instsize" $ami) inst=$(echo "$out" | awk '-F\t' '$1 == "INSTANCE" { print $2 }') while ! isready $inst; do echo -n .; sleep 1; done; euca-attach-volume $vol --instance=$inst --device=/dev/vdz -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/1000710 Title: Attaching volume during instance boot doesn't work To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1000710/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs