Created attachment 960649[details]
vdsm and engine logs
Description of problem:
Fibre channel storage domain extension fails while engine and host are communicating using JSON-RPC.
Using XML-RPC, the extenstion succeeds.
Version-Release number of selected component (if applicable):
rhev 3.5 vt11
vdsm-4.16.7.5-1.el7ev.x86_64
vdsm-jsonrpc-4.16.7.5-1.el7ev.noarch
rhevm-3.5.0-0.21.el6ev.noarch
How reproducible:
Always
Steps to Reproduce:
1. Extend a FC domain using an additional LUN
2.
3.
Actual results:
Extension fails with the following exception in vdsm:
Thread-341::ERROR::2014-11-24 12:12:11,241::__init__::491::jsonrpc.JsonRpcServer::(_serveRequest) Internal server error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 486, in _serveRequest
res = method(**params)
File "/usr/share/vdsm/rpc/Bridge.py", line 283, in _dynamicMethod
ret = self._getResult(result, retfield)
File "/usr/share/vdsm/rpc/Bridge.py", line 102, in _getResult
raise VdsmError(5, "Response is missing '%s' member" % member)
VdsmErro
engine.log:
2014-11-24 12:12:10,633 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-3) [7494b52a] Correlation ID: 7494b52a, Job ID: 6a57d136-5ada-4ac7-b335-99eb4d04a455, Call Stack: null, Custom Event ID: -1, Message: Failed to connect Host green-vdsb to device. (User: admin)
2014-11-24 12:12:10,641 WARN [org.ovirt.engine.core.bll.storage.ExtendSANStorageDomainCommand] (ajp-/127.0.0.1:8702-3) [7494b52a] CanDoAction of action ExtendSANStorageDomain failed. Reasons:VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__EXTEND,ERROR_CANNOT_EXTEND_CONNECTION_FAILED,$hostName green-vdsb,$lun
Expected results:
Storage domain extension should succeed while using JSON-RPC
Additional info:
vdsm and engine logs
I can see in the log that error was thrown during invocation of the same verb:
Calling 'Host.getDevicesVisibility'
This is the same verb which failed in disk resize bug.
Created attachment 960649 [details] vdsm and engine logs Description of problem: Fibre channel storage domain extension fails while engine and host are communicating using JSON-RPC. Using XML-RPC, the extenstion succeeds. Version-Release number of selected component (if applicable): rhev 3.5 vt11 vdsm-4.16.7.5-1.el7ev.x86_64 vdsm-jsonrpc-4.16.7.5-1.el7ev.noarch rhevm-3.5.0-0.21.el6ev.noarch How reproducible: Always Steps to Reproduce: 1. Extend a FC domain using an additional LUN 2. 3. Actual results: Extension fails with the following exception in vdsm: Thread-341::ERROR::2014-11-24 12:12:11,241::__init__::491::jsonrpc.JsonRpcServer::(_serveRequest) Internal server error Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 486, in _serveRequest res = method(**params) File "/usr/share/vdsm/rpc/Bridge.py", line 283, in _dynamicMethod ret = self._getResult(result, retfield) File "/usr/share/vdsm/rpc/Bridge.py", line 102, in _getResult raise VdsmError(5, "Response is missing '%s' member" % member) VdsmErro engine.log: 2014-11-24 12:12:10,633 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-3) [7494b52a] Correlation ID: 7494b52a, Job ID: 6a57d136-5ada-4ac7-b335-99eb4d04a455, Call Stack: null, Custom Event ID: -1, Message: Failed to connect Host green-vdsb to device. (User: admin) 2014-11-24 12:12:10,641 WARN [org.ovirt.engine.core.bll.storage.ExtendSANStorageDomainCommand] (ajp-/127.0.0.1:8702-3) [7494b52a] CanDoAction of action ExtendSANStorageDomain failed. Reasons:VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__EXTEND,ERROR_CANNOT_EXTEND_CONNECTION_FAILED,$hostName green-vdsb,$lun Expected results: Storage domain extension should succeed while using JSON-RPC Additional info: vdsm and engine logs