Itamar Heim has submitted this change and it was merged.
Change subject: core: glance import as template should fail on old DCs
......................................................................
core: glance import as template should fail on old DCs
If the DC compatibility level is less than 3.4 then the glance import should fail on
canDoAction.
This patch adds this validation
Change-Id: I4b975d2f8d540af6f0a3c8e4de9296173950f9ce
Bug-Url:
https://bugzilla.redhat.com/1072023
Signed-off-by: Oved Ourfali <oourfali(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportRepoImageCommand.java
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/FeatureSupported.java
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
M packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql
4 files changed, 24 insertions(+), 0 deletions(-)
Approvals:
Daniel Erez: Looks good to me, approved
Oved Ourfali: Verified
--
To view, visit
http://gerrit.ovirt.org/25476
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4b975d2f8d540af6f0a3c8e4de9296173950f9ce
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server