Bug 853974

Summary: [RFE] [LOG] "Domain is either partially accessible or entirely inaccessible" error in vdsm log is very general which makes debugging hard
Product: [oVirt] vdsm Reporter: Dafna Ron <dron>
Component: RFEsAssignee: Allon Mureinik <amureini>
Status: CLOSED WONTFIX QA Contact: Raz Tamir <ratamir>
Severity: medium Docs Contact:
Priority: low    
Version: ---CC: bazulay, bsettle, bugs, lpeer, scohen, srevivo, ylavi
Target Milestone: ---Keywords: FutureFeature, Improvement
Target Release: ---Flags: ylavi: ovirt-future?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-26 12:58:14 UTC 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:
Description Flags
logs none

Description Dafna Ron 2012-09-03 13:08:05 UTC
Created attachment 609380 [details]
logs

Description of problem:

the following error in vdsm log is not very helpful for debugging an access list issue:

StorageDomainAccessError: Domain is either partially accessible or entirely inaccessible

this makes debug really hard.
I have seen the same error when blocking storage from hosts in a domain created from luns which are on several storage servers and this is the same error we are getting for access list issues (which are harder for admin to debug). 


Version-Release number of selected component (if applicable):

si16
vdsm-4.9.6-31.0.el6_3.x86_64

How reproducible:

100%

Steps to Reproduce:
1. create a setup with several domains complied out of luns from different servers
2. remove hosts from one of the storage's access list
3. 
  
Actual results:

Error in vdsm log only explains that the domain is inaccessible - this is the same error I would get for many storage issues. 

Expected results:

we should add some more error's for specific issues in vdsm to allow the administrator to debug the issue faster and fix it. 

Additional info: logs

i think that this issue is extremely important since in a large company guessing what the problem with the storage is can take several hours (depending on how complicated the network is and how experienced and creative the administrator is)

Comment 2 Ayal Baron 2012-09-06 12:42:47 UTC
I'm assuming you're referring to:

17:25:24,408::domainMonitor::191::Storage.DomainMonitor
...
StorageDomainAccessError: Domain is either partially accessible or entirely inaccessible: ('bc7fde7a-4d43-4dd4-874a-bff5ca517bae',)

This is in the domain monitor, so to pass this info up to engine we need to expose it in getVdsStats (getRepoStats to be exact).