Bug 1427543
| Summary: | A disk that is about to be deleted should be discarded first if it is attached to at least one vm with Pass Discard enabled | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Idan Shaby <ishaby> |
| Component: | Backend.Core | Assignee: | Idan Shaby <ishaby> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Kevin Alon Goldblatt <kgoldbla> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | future | CC: | amureini, bugs, ishaby, lveyde, tnisan |
| Target Milestone: | ovirt-4.1.2 | Flags: | amureini:
ovirt-4.1?
amureini: exception? amureini: planning_ack? amureini: devel_ack+ rule-engine: testing_ack+ |
| Target Release: | 4.1.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: |
Up until now, a disk would have been discarded only if its block storage domain's Discard After Delete was enabled.
From now and on, a disk will be discarded also if it is attached to at least one virtual machine with Pass Discard enabled.
The logic behind this is that if the user wanted "live" discarding, he will probably want to discard the whole disk when it is removed even if its storage domain's Discard After Delete property is disabled.
For more information, please refer to the "Discard After Delete" feature page - http://www.ovirt.org/develop/release-management/features/storage/discard-after-delete/ .
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-05-23 08:22:33 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: | |
| Embargoed: | |||
|
Description
Idan Shaby
2017-02-28 14:47:58 UTC
Severity? (In reply to Yaniv Kaul from comment #1) > Severity? It's a medium severity bug, IMHO. It's not terrible (after all, we supported block storage but didn't discard deleted disks since 3.1), but it's ugly, and unintuitive - if I delete something from within the guest a discard would (eventually/potentially) be issued to the array, but if I delete the whole thing it wouldn't. That doesn't make too much sense from a user's perspective. Verfied with the following code: ------------------------------------ ovirt-engine-4.1.2.1-0.1.el7.noarch rhevm-4.1.2.1-0.1.el7.noarch vdsm-4.19.14-1.el7ev.x86_64 Verfied with the following scenario: -------------------------------------- 1. Created 2 VMs and attache the same shared disk 2. Verfiied the scenario's of Wipe after Delete and Discard Enabled Moving to verified! |