| Summary: | Snapshots remains though disk removed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Nicolas Ecarnot <nicolas> | ||||
| Component: | General | Assignee: | Allon Mureinik <amureini> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | |||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.6.7 | CC: | amureini, bugs | ||||
| Target Milestone: | ovirt-4.0.5 | Flags: | amureini:
ovirt-4.0.z?
rule-engine: planning_ack? rule-engine: devel_ack? rule-engine: testing_ack? |
||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-09-13 05:24:31 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
PS : The attachment contains engine and vdsm log files. A snapshot is a VM level entity, not a disk level entity. It contains the VM's configuration at the time is was taken, the memory dump (optionally) and the state of the disk(s). If a disk is removed, the rest of the information is still valuable, and should not be removed. If you want to remove a snapshot, you can do so explicitly. Long story short - this is the expected behavior. |
Created attachment 1200234 [details] PYI : The test VM was called "snapbug". Description of problem: [I'm not sure whether this is a wanted behavior, so please feel free to close this BZ if irrelevant.] After the disk is permanently removed, the snapshots still exist. I thought the snapshots were stored and related to a VM's disk. Thus, deleting a disk would have removed the snapshots. Version-Release number of selected component (if applicable): oVirt Engine Version: 3.6.7.5-1.el7.centos How reproducible: twice I saw that once on a production VM. I then reproduced it on a dedicated test VM. Steps to Reproduce: 1. Create a VM, add a disk, make 2 snapshots 2. Preview the first one, then commit. Shutdown the VM 3. Remove the disk. The snapshots remain. Actual results: Surviving snapshots. Expected results: Snapshots get erased. Additional info: The steps described above may be necessary to reproduce this bug. A simpler path may act different...