Bug 853974 - [RFE] [LOG] "Domain is either partially accessible or entirely inaccessible" error in vdsm log is very general which makes debugging hard
Summary: [RFE] [LOG] "Domain is either partially accessible or entirely inaccessible" ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: vdsm
Classification: oVirt
Component: RFEs
Version: ---
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Allon Mureinik
QA Contact: Raz Tamir
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-03 13:08 UTC by Dafna Ron
Modified: 2017-11-26 12:58 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-11-26 12:58:14 UTC
oVirt Team: Storage
Embargoed:
ylavi: ovirt-future?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)
logs (6.63 MB, application/x-gzip)
2012-09-03 13:08 UTC, Dafna Ron
no flags Details

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).


Note You need to log in before you can comment on or make changes to this bug.