Bug 1327102

Summary: VDSM reports storage domain as 'either partially accessible or entirely inaccessible'
Product: Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: vdsmAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED UPSTREAM QA Contact: RHS-C QE <rhsc-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: nlevinki, rhs-bugs, sabose
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1327121 (view as bug list) Environment:
Last Closed: 2016-04-14 10:06:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1327121, 1361547    

Description RamaKasturi 2016-04-14 09:47:42 UTC
Description of problem:
Events tab of UI and vdsm logs always logs that storage domain is 'either partially accessible or entirely inaccessible' even when all the domains in the UI shows active and functional.

Version-Release number of selected component (if applicable):
vdsm-4.17.23.2-1.1.el7ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install HC setup.
2.
3.

Actual results:
Events tab of UI and vdsm logs reports 'storage domain is either partially accessible or entirely inaccessible'.

Expected results:
Events tab of UI should not get flodded with the message 'either partially accessible or entirely inaccessible' since storage domains are accessible and in active state.

Additional info:

Comment 2 RamaKasturi 2016-04-14 09:48:50 UTC
Thread-12855::DEBUG::2016-04-12
15:14:23,199::task::595::Storage.TaskManager.Task::(_updateState)
Task=`beb3ab38-a9b2-49c5-ba8c-50bb29caad7f`::moving from state init ->
state preparing
Thread-12855::INFO::2016-04-12
15:14:23,200::logUtils::48::dispatcher::(wrapper) Run and protect:
getStorageDomainInfo(sdUUID='1c1ce771-e9e9-4a78-ae28-2006442e6cd6',
options=None)
Thread-12855::INFO::2016-04-12
15:14:23,200::fileSD::357::Storage.StorageDomain::(validate)
sdUUID=1c1ce771-e9e9-4a78-ae28-2006442e6cd6
Thread-12855::DEBUG::2016-04-12
15:14:23,201::persistentDict::234::Storage.PersistentDict::(refresh)
read lines (FileMetadataRW)=[]
Thread-12855::DEBUG::2016-04-12
15:14:23,201::persistentDict::252::Storage.PersistentDict::(refresh)
Empty metadata
Thread-12855::ERROR::2016-04-12
15:14:23,201::task::866::Storage.TaskManager.Task::(_setError)
Task=`beb3ab38-a9b2-49c5-ba8c-50bb29caad7f`::Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 873, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/logUtils.py", line 49, in wrapper
    res = f(*args, **kwargs)
  File "/usr/share/vdsm/storage/hsm.py", line 2835, in getStorageDomainInfo
    dom = self.validateSdUUID(sdUUID)
  File "/usr/share/vdsm/storage/hsm.py", line 278, in validateSdUUID
    sdDom.validate()
  File "/usr/share/vdsm/storage/fileSD.py", line 360, in validate
    raise se.StorageDomainAccessError(self.sdUUID)
StorageDomainAccessError: Domain is either partially accessible or
entirely inaccessible: (u'1c1ce771-e9e9-4a78-ae28-2006442e6cd6',)
Thread-12855::DEBUG::2016-04-12
15:14:23,202::task::885::Storage.TaskManager.Task::(_run)
Task=`beb3ab38-a9b2-49c5-ba8c-50bb29caad7f`::Task._run:
beb3ab38-a9b2-49c5-ba8c-50bb29caad7f
('1c1ce771-e9e9-4a78-ae28-2006442e6cd6',) {} failed - stopping task
Thread-12855::DEBUG::2016-04-12
15:14:23,202::task::1246::Storage.TaskManager.Task::(stop)
Task=`beb3ab38-a9b2-49c5-ba8c-50bb29caad7f`::stopping in state
preparing (force False)
Thread-12855::DEBUG::2016-04-12
15:14:23,202::task::993::Storage.TaskManager.Task::(_decref)
Task=`beb3ab38-a9b2-49c5-ba8c-50bb29caad7f`::ref 1 aborting True
Thread-12855::INFO::2016-04-12
15:14:23,202::task::1171::Storage.TaskManager.Task::(prepare)
Task=`beb3ab38-a9b2-49c5-ba8c-50bb29caad7f`::aborting: Task is
aborted: 'Domain is either partially accessible or entirely
inaccessible' - code 379
Thread-12855::DEBUG::2016-04-12
15:14:23,202::task::1176::Storage.TaskManager.Task::(prepare)
Task=`beb3ab38-a9b2-49c5-ba8c-50bb29caad7f`::Prepare: aborted: Domain
is either partially accessible or entirely inaccessible
Thread-12855::DEBUG::2016-04-12
15:14:23,203::task::993::Storage.TaskManager.Task::(_decref)
Task=`beb3ab38-a9b2-49c5-ba8c-50bb29caad7f`::ref 0 aborting True
Thread-12855::DEBUG::2016-04-12
15:14:23,203::task::928::Storage.TaskManager.Task::(_doAbort)
Task=`beb3ab38-a9b2-49c5-ba8c-50bb29caad7f`::Task._doAbort: force
False
Thread-12855::DEBUG::2016-04-12
15:14:23,203::resourceManager::980::Storage.ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}
Thread-12855::DEBUG::2016-04-12
15:14:23,203::task::595::Storage.TaskManager.Task::(_updateState)
Task=`beb3ab38-a9b2-49c5-ba8c-50bb29caad7f`::moving from state
preparing -> state aborting
Thread-12855::DEBUG::2016-04-12
15:14:23,203::task::550::Storage.TaskManager.Task::(__state_aborting)
Task=`beb3ab38-a9b2-49c5-ba8c-50bb29caad7f`::_aborting: recover policy
none
Thread-12855::DEBUG::2016-04-12
15:14:23,203::task::595::Storage.TaskManager.Task::(_updateState)
Task=`beb3ab38-a9b2-49c5-ba8c-50bb29caad7f`::moving from state
aborting -> state failed
Thread-12855::DEBUG::2016-04-12
15:14:23,203::resourceManager::943::Storage.ResourceManager.Owner::(releaseAll)
Owner.releaseAll requests {} resources {}
Thread-12855::DEBUG::2016-04-12
15:14:23,203::resourceManager::980::Storage.ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}
Thread-12855::ERROR::2016-04-12
15:14:23,204::dispatcher::76::Storage.Dispatcher::(wrapper) {'status':
{'message': "Domain is either partially accessible or entirely
inaccessible: (u'1c1ce771-e9e9-4a78-ae28-2006442e6cd6',)", 'code':
379}}
Thread-12855::INFO::2016-04-12
15:14:23,205::xmlrpc::92::vds.XMLRPCServer::(_process_requests)
Request handler for 127.0.0.1:43377 stopped

Comment 3 RamaKasturi 2016-04-14 10:06:03 UTC
closing this as this has been raised in upstream with proper component and subcomponents