Bug 1413397
| Summary: | Creation of VM leases should be blocked for data center versions lower than 4.1 | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Tal Nisan <tnisan> |
| Component: | BLL.Storage | Assignee: | Tal Nisan <tnisan> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lilach Zitnitski <lzitnits> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1.0 | CC: | ahadas, bugs, gklein |
| Target Milestone: | ovirt-4.1.0-beta | Flags: | rule-engine:
ovirt-4.1+
|
| Target Release: | 4.1.0.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-01 14:50:08 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
Tal Nisan
2017-01-15 18:20:54 UTC
While a patch disabling the feature in the UI was introduced (see trackers), the feature should be first and foremost disabled in the backend both for the UI and more important the REST API calls Arik, I've disabled it for all flows aside for import VM as in that flow it's a reasonable scenario to export a VM with lease from 4.1 setup and import it to a 4.0 setup. I thought to import without adding the lease and issue an audit log about it, what do you think? (In reply to Tal Nisan from comment #2) > Arik, I've disabled it for all flows aside for import VM as in that flow > it's a reasonable scenario to export a VM with lease from 4.1 setup and > import it to a 4.0 setup. > I thought to import without adding the lease and issue an audit log about > it, what do you think? Makes sense. -------------------------------------- Tested with the following code: ---------------------------------------- ovirt-engine-4.1.0.3-0.0.master.20170123115434.git8a69605.el7.centos.noarch vdsm-4.19.2-1.el7.centos.x86_64 Tested with the following scenario: Steps to Reproduce: 1. create new vm in 4.0 cluster 2. configure this vm High available and create vm lease Actual results: can't create the vm with vm lease, VM leases are not supported for this virtual machine compatibility version. Expected results: Moving to VERIFIED! |