[Expired for OpenStack Compute (nova) because there has been no activity
for 60 days.]

** Changed in: nova
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1934241

Title:
  snapshot doesn't flush dirty data

Status in OpenStack Compute (nova):
  Expired

Bug description:
  libvirt driver

  Login a deployed VM and write some files, for example:
  ```
  [lynn@host-172-26-105-43 ~]$ ls -lrt
  ...
  -rw-rw-r--. 1 lynn lynn 677 Jun 29 06:30 sum
  -rw-rw-r--. 1 lynn lynn  38 Jun 29 06:30 sum3.md5
  [lynn@host-172-26-105-38 ~]$
  ```

  then *right* after the file created, trigger the snapshot action of the VM 
  after that, deploy a new VM through the created image

  found some files missing (e.g sum3.md5 file)
  ```
  [lynn@host-172-26-105-43 ~]$ ls -lrt
  ...
  -rw-rw-r--. 1 lynn lynn 648 Jun 29 06:30 sum
  [lynn@host-172-26-105-43 ~]$
  ```

  I checked the code and seems no flush operation in live or cold snapshot 
(cold seems suspend the VM only) 
  
https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L2952

  is it by design or best practice ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1934241/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to