Data Loss in VM if the vm is created from snapshot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
1. Create a VM from natty image
2. ssh to the vm
3. upgrade to oneiric
4. install python-novaclient 2.6.8 and setuptools from downloaded tar.gz files
5. exit from vm
6 create a snapshot of the VM (wait till active)
7. Create another snapshot after the previous one is active
8. Create a VM from the new snapshot
9. ssh to the VM
10. Look for the files in the VM and the version of ubuntu
Observation:
The VM is natty although it was taken from the vm which is oneiric(upgraded from natty)
All the files are missing from the VM (nova installation, tar.gz files which are downloaded to the original VM before taking snapshot)
Nova List
-------
routray@
+------
| ID | Name | Status | Networks |
+------
| 5610 | vm1 | ACTIVE | null=<ip>|
| 5613 | vm2 | ACTIVE | null=<ip> |
| 5616 | vm3 | ACTIVE | null=<ip> |
+------
Nova image-list
-------
| 194 | snapvm0 | ACTIVE |
| 195 | snapvm01 | ACTIVE |
| 196 | snapvm011 | ACTIVE |
+-----+
Version of VM1 (ID- 5610)
-------
root@vm1:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
Version of VM3 (ID 5616) it was created from snapshot taken from VM1 (ID 5610) after upgrading it from natty to oneiric
-------
root@vm3:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
routray@
+------
| Property | Value |
+------
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2011-11-
| flavor | standard.xsmall |
| hostId | ec23007f862907f
| id | 5616 |
| image | snapvm011 |
| key_name | satyast2 |
| metadata | {} |
| name | vm3 |
| null network | <ip> |
| progress | 100 |
| status | ACTIVE |
| tenant_id | satyaproj2 |
| updated | 2011-11-
| user_id | satyasys2 |
| uuid | 11ee717e-
+------
routray@
+------
| Property | Value |
+------
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2011-11-
| flavor | standard.xsmall |
| hostId | 7eefbc68fc6e725
| id | 5610 |
| image | Ubuntu Natty 11.04 Server 64-bit |
| key_name | satyast2 |
| metadata | {} |
| name | vm1 |
| null network | <ip> |
| progress | 100 |
| status | ACTIVE |
| tenant_id | satyaproj2 |
| updated | 2011-11-
| user_id | satyasys2 |
| uuid | 743382e7-
+------
Changed in nova: | |
status: | Incomplete → New |
What hypervisor are you running on?