Bug 1529394
| Summary: | [DR] - detaching of a storage domain with existing VM leases for VMs in down status fails which affect the failback flow | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Maor <mlipchuk> |
| Component: | Backend.Core | Assignee: | Tal Nisan <tnisan> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Kevin Alon Goldblatt <kgoldbla> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.2.0 | CC: | amureini, bugs, ratamir, tnisan, ylavi |
| Target Milestone: | ovirt-4.2.3 | Flags: | rule-engine:
ovirt-4.2+
ylavi: exception+ |
| Target Release: | 4.2.3.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-4.2.3.2 | Doc Type: | If docs needed, set a value |
| Doc Text: |
Detaching of a storage domain that contains VM leases of templates and VMs in the system is now allowed.
The domain will be detached without the actual leases removed from the storage, also the VMs and templates will still contain the lease association and will not run until they are manually removed (this is by design)
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-05-10 06:28:07 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
Maor
2017-12-27 22:40:12 UTC
That's an option although the thing is that we cannot "register" those leases later, can we circumvent it while fall-backing or is it a must to change the behavior? (In reply to Tal Nisan from comment #1) > That's an option although the thing is that we cannot "register" those > leases later Why not? We need to add this info in the OVF and once VM will be registered we will add it as part of the vm_static. I think that we should support recovery of leases eventually, if the user will encounter a disaster he/she will probably want to have their leases back. > , can we circumvent it while fall-backing or is it a must to > change the behavior? I thought about it but then we will need to manage that through ansible which I don't want to go there because it will complex the entire playbook. For example we will have to remove those leases, what if it will fail? What if we will fail to add them on register? OK, will handle that, thanks for the input Verified with the following code: ------------------------------------------- ovirt-engine-4.2.3-0.1.el7.noarch vdsm-4.20.25-1.el7ev.x86_64 Verified with the following scenario: ------------------------------------------- Steps to Reproduce: 1. Add a VM lease on a storage domain 2. Move the storage domain to maintenance 3. Detach that storage domain >>>>> works fine 4. Attach the storage domain again >>>> works fine Actual results: The detach operation is successfull Moving to VERIFIED This bugzilla is included in oVirt 4.2.3 release, published on May 4th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.3 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |