Bug 1418641
| Summary: | Make cluster upgrade logging more robust and specific | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | sefi litmanovich <slitmano> |
| Component: | BLL.Virt | Assignee: | Shahar Havivi <shavivi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Israel Pinto <ipinto> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.1.0 | CC: | bugs, jbelka, mtessun, slitmano, tjelinek |
| Target Milestone: | ovirt-4.1.2 | Keywords: | FutureFeature |
| Target Release: | --- | Flags: | rule-engine:
ovirt-4.1+
mtessun: planning_ack+ tjelinek: devel_ack+ mavital: testing_ack+ |
| 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-05-23 08:11:56 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: | |||
| Bug Depends On: | 1432127, 1479693 | ||
| Bug Blocks: | |||
|
Description
sefi litmanovich
2017-02-02 12:04:20 UTC
*** Bug 1425089 has been marked as a duplicate of this bug. *** Sefi, How did you got a wrong time-zone in the data base in the first place? We need to solve the root of the issue - if its just by changing the data base value then its not an issue since user can change any value in the data base and cause lots of errors... (In reply to Shahar Havivi from comment #2) > Sefi, > How did you got a wrong time-zone in the data base in the first place? > We need to solve the root of the issue - if its just by changing the data > base value then its not an issue since user can change any value in the data > base and cause lots of errors... The issue is not about the time zone, I imposed the "bug" with the time zone by playing with the data base. The problem that I'm suggesting here is that the log isn't specific enough. If I have an env with 200 vms and for some reason 1 of them has a problem with time zone configuration (as an example) the following error cause is just not informative enough: Invalid time zone for given OS type. What I'd prefer is that we add the name of the vm which causes this problem. (In reply to sefi litmanovich from comment #3) > (In reply to Shahar Havivi from comment #2) > > Sefi, > > How did you got a wrong time-zone in the data base in the first place? > > We need to solve the root of the issue - if its just by changing the data > > base value then its not an issue since user can change any value in the data > > base and cause lots of errors... > > The issue is not about the time zone, I imposed the "bug" with the time zone > by playing with the data base. The problem that I'm suggesting here is that > the log isn't specific enough. If I have an env with 200 vms and for some > reason 1 of them has a problem with time zone configuration (as an example) > the following error cause is just not informative enough: > > Invalid time zone for given OS type. > > What I'd prefer is that we add the name of the vm which causes this problem. Ok, but again you should not play with the database. we cannot address for changes in the database that cause by users - but we do need to know if the problem caused by values that came from the UI or API. Turning this to a bug since it is actually a bug that we don't provide good hints to the user guiding him to fix the issues. When fixed, the behavior will be this: - if the update of a VM/template fails, issue an audit log with VM name and the reason what happened - don't stop, just remember all failed attempts - at the end, if there were some failed attempts, fail the command (e.g. make a rollback) and return the list of VM name/error to the FE - show the user an error message like this: " Update of cluster compatibility version failed because there are VMs/Templates with incorrect configuration. To fix the issue, please go to each of them, edit and press OK. If the save will not pass, fix the validation messages. The list of VMs/Templates with incorrect configuration (you will find the same list also in Events): ...the list of VM name -> validation error follows... " *** Bug 1425089 has been marked as a duplicate of this bug. *** Verify with RHVM Version: 4.1.2.1-0.1.el7 Steps: Run case: https://polarion.engineering.redhat.com/polarion/#/project/RHEVM3/workitem?id=RHEVM-17309 Results: Message is show message: Error while executing action: Update of cluster compatibility version failed because there are VMs/Templates [test_bz_1] with incorrect configuration. To fix the issue, please go to each of them, edit and press OK. If the save does not pass, fix the dialog validation. PASS |