Bug 879322
Summary: | engine: engine log reports domain as problematic with WARN log level and than deactivates it with INFO log level | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Dafna Ron <dron> | ||||
Component: | ovirt-engine | Assignee: | Alissa <abonas> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Elad <ebenahar> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.1.0 | CC: | abaron, amureini, dyasny, hateya, iheim, lpeer, Rhev-m-bugs, sgrinber, thildred, yeylon, ykaul | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.2.0 | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | storage | ||||||
Fixed In Version: | SF6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 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: | |||||||
Attachments: |
|
If anything, the message about the blocked domain should be ERROR instead of WARN, but not sure about that either. Disconnecting is the way we deal with it, which IMHO is an information message only. Ack on changing WARN to ERROR. Ack on changing message to state *why* we are deactivating the domain. The deactivation message should remain INFO as that is all it is. (In reply to comment #2) > Ack on changing WARN to ERROR. > Ack on changing message to state *why* we are deactivating the domain. > The deactivation message should remain INFO as that is all it is. After speaking with Ayal - the message will not be changed, its content is correct. The only change that will be made is changing warn to error . submitted patch http://gerrit.ovirt.org/#/c/10636/ I tested on SF7: The WARN log was changed to ERROR but the inactive domain is still in INFO log: 2013-02-20 17:45:12,211 INFO [org.ovirt.engine.core.bll.storage.DeactivateStorageDomainCommand] (pool-3-thread-50) [389e0085] Running command: DeactivateStorageDomainCommand internal: true . Entities affected : ID: eebcad17-cbf7-4098-880d-81e2c2504169 Type: Storage Elad, please see comment 2 - this is the expected behavior 3.2 has been released 3.2 has been released 3.2 has been released 3.2 has been released 3.2 has been released |
Created attachment 649874 [details] logs Description of problem: when there is a problem with iso domain we show alert in log as WARN and than deactivate the domain. 2012-11-22 17:15:28,495 WARN [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (QuartzScheduler_Worker-70) domain eebcad17-cbf7-4098-880d-81e2c2504169:shared_iso_domain was reported by all hosts in status UP as problematic. Moving the Domain to NonOperational. 2012-11-22 17:15:28,598 INFO [org.ovirt.engine.core.bll.storage.DeactivateStorageDomainCommand] (QuartzScheduler_Worker-70) [7bfa2d45] Lock Acquired to object EngineLock [exclusiveLocks= key: eebcad17-cbf7-4098-880d-81e2c2504169 value: STORAGE , sharedLocks= ] 2012-11-22 17:15:28,640 INFO [org.ovirt.engine.core.bll.storage.DeactivateStorageDomainCommand] (QuartzScheduler_Worker-70) [7bfa2d45] Running command: DeactivateStorageDomainCommand internal: true. Entities affected : ID: eebcad17-cbf7-4098-880d-81e2c2504169 Type: Storage 2012-11-22 17:15:28,698 INFO [org.ovirt.engine.core.bll.storage.DeactivateStorageDomainCommand] (QuartzScheduler_Worker-70) [7bfa2d45] Lock freed to object EngineLock [exclusiveLocks= key: eebcad17-cbf7-4098-880d-81e2c2504169 value: STORAGE , sharedLocks= ] Version-Release number of selected component (if applicable): si24.4 How reproducible: 100% Steps to Reproduce: 1. block communication to only the iso domain from all the hosts 2. 3. Actual results: vdsm reports that domain does not exist and engine reports the domain as problematic in WARN entry and than deactivates the domain with INFO log level. Expected results: deactivation of a domain because its problematic should be with log level of ERROR. Additional info: logs