[Bug 588802] Re: Unable to create a new volume from a snapshot

Scott Moser smoser at canonical.com
Thu Jun 3 15:13:55 BST 2010


Hi,
   In order to help developers, we need some additional information.  Could you please
explain reproducible steps to recreate this bug.
 - euca-create-volume
 - euca-create-snapshot
 - euca-create-volume ...

Additionally, in the future, using 'ubuntu-bug eucalpytus-common' will
open a new bug and collect logs and other information that are useful
for debugging.

On my eucalyptus (lucid) I cannot reproduce this.  I just did:
$ euca-create-volume  --size 1 --zone cluster1
VOLUME  vol-5A010629    1       creating        2010-06-03T14:02:38.95Z
$ vol=vol-5A010629
$ euca-attach-volume  --instance ${inst} --device /dev/sdb ${vol}
VOLUME  vol-5A010629

# in instance
% sudo mkfs.ext3 /dev/sdb -F
% sudo mount /dev/sdb /mnt/
% echo "hello world" | sudo tee /mnt/foo.txt
% sudo umount /mnt

$ euca-detach-volume ${vol}

$ euca-create-snapshot ${vol}
SNAPSHOT        snap-58B80617   vol-5A010629    pending 2010-06-03T14:07:35.569Z
        0%
# wait for that to go to 'completed'
$ snap=snap-58B80617
$ euca-create-volume  --snapshot ${snap} --zone cluster1
VOLUME  vol-5F810655    snap-58B80617   creating        2010-06-03T14:10:00.473Z
$ vol2=vol2=vol-5F810655
$ euca-describe-volumes ${vol2}
VOLUME  vol-5F810655     1      snap-58B80617   cluster1        available      2010-06-03T14:10:00.473Z

$ euca-attach-volume  --instance ${inst} --device /dev/sdb ${vol2} 
VOLUME  vol-5F810655

# in instance, verify foo.txt
% sudo mount /dev/sdb /mnt/
% sudo cat /mnt/foo.txt
hello world
% sudo umount /mnt


# this will go to available
$ 


** Changed in: eucalyptus (Ubuntu)
       Status: New => Invalid

-- 
Unable to create a new volume from a snapshot
https://bugs.launchpad.net/bugs/588802
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.



More information about the Ubuntu-server-bugs mailing list