Comment 7 for bug 939557

Revision history for this message
Vish Ishaya (vishvananda) wrote : Re: [Bug 939557] Re: Files in vm sometimes zeroed after 'nova reboot'

Agreed.

We tried to minimize all of the feature gaps during this release. Looks like we missed this one. It seems like a relatively easy addition if someone wants to tackle it.

Vish

On Feb 24, 2012, at 11:56 AM, David Kranz wrote:

> This is a pretty serious bug and hope it can be fixed. I think it is not
> the only case where the compute API defines something but some
> hypervisor doesn't do it right. What is the "official" story about these
> deviations? I would think that the driver for any hypervisor that is
> supported in nova core (i.e. can be mentioned by name in nova.conf)
> needs to honor the core API.
>
> --
> You received this bug notification because you are subscribed to
> OpenStack Compute (nova).
> https://bugs.launchpad.net/bugs/939557
>
> Title:
> Files in vm sometimes zeroed after 'nova reboot'
>
> Status in OpenStack Compute (Nova):
> Incomplete
>
> Bug description:
> I really hesitate to report this as a bug because it is so hard to
> believe but a user reported it and I can reproduce it.
>
> 1. Booted a vm using oneiric-server-cloudimg-amd64 and assigned floating ip
> 2. Ssh to vm and
> sudo apt-get install -y git
> git clone git://github.com/rackspace/python-novaclient.git
> 3. nova reboot
> 4. Ssh in again. The python-novaclient directory is intact but all the files have zero length
>
> This happens often but not always. I had been using these vms myself
> without such a problem.
>
> This was running stable-diablo on oneiric with kvm. I don't now what
> info would be more useful but on vm:
>
> ubuntu@buggy:~$ df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/vda 10321208 687340 9109592 8% /
> devtmpfs 1026112 4 1026108 1% /dev
> none 205648 196 205452 1% /run
> none 5120 0 5120 0% /run/lock
> none 1028228 0 1028228 0% /run/shm
> /dev/vdb 20642428 176196 19417656 1% /mnt
> ubuntu@buggy:~$ mount
> /dev/vda on / type ext4 (rw)
> none on /proc type proc (rw,noexec,nosuid,nodev)
> none on /sys type sysfs (rw,noexec,nosuid,nodev)
> none on /sys/fs/fuse/connections type fusectl (rw)
> none on /sys/kernel/debug type debugfs (rw)
> none on /sys/kernel/security type securityfs (rw)
> devtmpfs on /dev type devtmpfs (rw,mode=0755)
> none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
> none on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
> none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
> none on /run/shm type tmpfs (rw,nosuid,nodev)
> /dev/vdb on /mnt type ext3 (rw)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nova/+bug/939557/+subscriptions