Bug 1386507
Summary: | [RFE] better logging of cluster version upgrade failures | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Marcus West <mwest> |
Component: | ovirt-engine | Assignee: | Shmuel Melamud <smelamud> |
Status: | CLOSED ERRATA | QA Contact: | sefi litmanovich <slitmano> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.0.3 | CC: | gklein, lsurette, mavital, mgoldboi, michal.skrivanek, rbalakri, Rhev-m-bugs, smelamud, srevivo, tjelinek, ykaul |
Target Milestone: | ovirt-4.1.0-alpha | Keywords: | FutureFeature |
Target Release: | --- | Flags: | gklein:
testing_plan_complete+
|
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-04-25 00:55:25 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
Marcus West
2016-10-19 07:00:35 UTC
So far I had a look at this feature in the nightly build. There is some more information, but not sure if it might be enough to satisfy the request for pin pointing the problem and pointing to the problematic vm. e.g. I forced some invalid string in DB for vm's time_zone and try to upgrade the cluster I get: Error while executing action: Cannot edit Cluster. Invalid time zone for given OS type. Attribute: vmStatic While this does add the real reason to the message, if I had 200 VMs in my env I'd have a hard time figuring which one had caused the problem. I can figure that out by this line in engine.log, but I'm thinking it's not enough, open for a discussion about it. 2016-11-22 14:10:27,854 INFO [org.ovirt.engine.core.bll.UpdateClusterCommand] (default task-12) [28807589] Lock freed to object 'EngineLock:{exclusiveLocks='null', sharedLocks='[{faulty_vm's_id}=<VM, ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName another-clust>]'}' As this RFE doesn't hold many cases, I'm adding 1 case to check that an error in upgrade cluster doesn't produce Internal Error message - please review this case once I upload the link to polarion in here and tell me if you think I need to add more cases. Verifying based on my comment #2 and attached test case. Opening a new RFE - https://bugzilla.redhat.com/show_bug.cgi?id=1418641 for more specific information in logging as I understand that my request from comment #2 will not be easily implemented within the scope of this RFE. |