Bug 1192399
| Summary: | virtlock doesn't work well with images which have backing file | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Shanzhi Yu <shyu> |
| Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> |
| Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.1 | CC: | berrange, dyuan, mzhan, rbalakri, xuzhang, yanyang |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-09-10 12:30:12 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Shanzhi Yu
2015-02-13 09:56:36 UTC
Patches proposed upstream: https://www.redhat.com/archives/libvir-list/2015-September/msg00262.html So, as turned out in the upstream discussion, this falls out of libvirt scope. While my patches fix the scenario from the comment 0 they will not prevent user from running a domain over a layer somewhere in the middle of the chain. I mean. consider the following backing chain A (top level) -> B -> C -> D (bottom). If you run a domain over A, my patches will lock the whole chain. However, if you configure the domain to run over B, even though my patches will lock all the underlying layers (that is C and D), they will not lock A. In fact, there's no way to the detect whether A even exists and where. Therefore once the domain is started over B, A is effectively invalidated. Therefore I think this is a misconfiguration and as such falls out of libvirt's scope. However, if somebody disagrees, feel free to reopen with a proper solution outlined. |