Bug 1504673
| Summary: | Improve message for CLUSTER_CANNOT_UPDATE_VM_COMPATIBILITY_VERSION in UI | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Jiri Belka <jbelka> |
| Component: | Frontend.WebAdmin | Assignee: | Tomas Jelinek <tjelinek> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Belka <jbelka> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.2.0 | CC: | bugs, jbelka, michal.skrivanek, tjelinek |
| Target Milestone: | ovirt-4.2.3 | Flags: | rule-engine:
ovirt-4.2+
|
| Target Release: | --- | ||
| 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: | 2018-05-10 06:33:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jiri Belka
2017-10-20 11:28:29 UTC
> 2017-10-06 18:28:35,611+02 WARN [org.ovirt.engine.core.bll.UpdateVmCommand]
> (default task-14) [67c71ef7] Validation of action 'UpdateVm' failed for user
> admin@internal-authz. Reasons: VAR__A
> CTION__UPDATE,VAR__TYPE__VM,
> ACTION_TYPE_FAILED_INVALID_CUSTOM_PROPERTIES_INVALID_KEYS,$MissingKeys
> alcohol,bananas
you should get this message in audit log - is it not there?
(In reply to Tomas Jelinek from comment #2) > > 2017-10-06 18:28:35,611+02 WARN [org.ovirt.engine.core.bll.UpdateVmCommand] > > (default task-14) [67c71ef7] Validation of action 'UpdateVm' failed for user > > admin@internal-authz. Reasons: VAR__A > > CTION__UPDATE,VAR__TYPE__VM, > > ACTION_TYPE_FAILED_INVALID_CUSTOM_PROPERTIES_INVALID_KEYS,$MissingKeys > > alcohol,bananas > > you should get this message in audit log - is it not there? I was talking about admin portal. Or what do you mean with 'audit log'? in 4.2 it is under that bell icon in the right side (events and alerts notification) latest 4.2 d/s: - in events in admin portal: * Failed to update Host cluster (User: admin@internal-authz) * Cannot update compatibility version of Vm/Template: [test3], Message: [No Message] but engine.log is more talkative 2018-01-03 17:08:05,238+01 WARN [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-6) [6447f913] Validation of action 'UpdateVm' failed for user admin@internal-authz. Reasons: VAR__ACTION__UPDATE,VAR__TYPE__VM,ACTION_TYPE_FAILED_INVALID_CUSTOM_PROPERTIES_INVALID_KEYS,$MissingKeys foobar Other thing wrong with the message is that it says: "To fix the issue, please go to each of them, edit and press OK. If the save does not pass, fix the dialog validation." which is not correct, because it will try to edit it in the OLD compatibility level where the validations passes and the cluster update will subsequently fail again. The correct message should be something like this: "To fix the issue, please go to each of them, edit, change the Custom Compatibility Version of the VM to the new cluster level and press OK. If the save does not pass, fix the dialog validation." ack implementing comment #7 CustomProperties are tracked in bug 1566379 instead ok, based on #7 - ovirt-engine-webadmin-portal-4.2.3.2-0.1.el7.noarch Error while executing action: Update of cluster compatibility version failed because there are VMs/Templates [test] with incorrect configuration. To fix the issue, please go to each of them, edit, change the Custom Compatibility Version of the VM/Template to the cluster level you want to update the cluster to and press OK. If the save does not pass, fix the dialog validation. After successful cluster update, you can revert your Custom Compatibility Version change. 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. |