Red Hat Bugzilla – Bug 853974
[RFE] [LOG] "Domain is either partially accessible or entirely inaccessible" error in vdsm log is very general which makes debugging hard
Last modified: 2016-12-04 15:31:41 EST
Created attachment 609380 [details]
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):
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
Error in vdsm log only explains that the domain is inaccessible - this is the same error I would get for many storage issues.
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)
I'm assuming you're referring to:
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).