Description of problem: Not able to see disks in storage devices tab. Version-Release number of selected component (if applicable): rhsc-3.1.0-0.57.master.el6.noarch How reproducible: Always Steps to Reproduce: 1. Add rhs nodes in xml rpc mode 2. Go to Storage Devices tab and click sync Actual results: Disks in rhs node are not listed Expected results: All the Disks in rhs node should be listed Additional info: Engine Log snippet: 2015-05-27 20:21:07,981 INFO [org.ovirt.engine.core.vdsbroker.gluster.GetStorageDeviceListVDSCommand] (org.ovirt.thread.pool-6-thread-16) [6a078bc2] HostName = gsnode1.redhat.com 2015-05-27 20:21:07,982 ERROR [org.ovirt.engine.core.vdsbroker.gluster.GetStorageDeviceListVDSCommand] (org.ovirt.thread.pool-6-thread-16) [6a078bc2] Command GetStorageDeviceListVDSCommand(HostName = gsnode1.redhat.com, HostId = 6f7fea68-32dd-4376-86fd-95d332ea78c6) execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to GetStorageDeviceListVDS, error = 'NoneType' object has no attribute 'get', code = -32603 2015-05-27 20:21:07,982 INFO [org.ovirt.engine.core.vdsbroker.gluster.GetStorageDeviceListVDSCommand] (org.ovirt.thread.pool-6-thread-16) [6a078bc2] FINISH, GetStorageDeviceListVDSCommand, log id: 72697cbb 2015-05-27 20:21:07,982 ERROR [org.ovirt.engine.core.bll.gluster.StorageDeviceSyncJob] (org.ovirt.thread.pool-6-thread-16) Exception retriving storage device from vds VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to GetStorageDeviceListVDS, error = 'NoneType' object has no attribute 'get', code = -32603 (Failed with error unexpected and code 16) Vdsm Log snippet: Thread-14::ERROR::2015-05-27 20:28:37,601::BindingXMLRPC::1152::vds::(wrapper) unexpected error Traceback (most recent call last): File "/usr/share/vdsm/rpc/BindingXMLRPC.py", line 1136, in wrapper res = f(*args, **kwargs) File "/usr/share/vdsm/gluster/api.py", line 69, in wrapper rv = func(*args, **kwargs) File "/usr/share/vdsm/gluster/api.py", line 447, in storageDevicesList status = self.svdsmProxy.glusterStorageDevicesList() File "/usr/share/vdsm/supervdsm.py", line 50, in __call__ return callMethod() File "/usr/share/vdsm/supervdsm.py", line 48, in <lambda> **kwargs) File "<string>", line 2, in glusterStorageDevicesList File "/usr/lib64/python2.6/multiprocessing/managers.py", line 740, in _callmethod raise convert_to_error(kind, result) AttributeError: 'NoneType' object has no attribute 'get'
DeviceList is failing in RHEL6.6 build. Tim: Can u back port the patch which u had sent upstream?
We have a workaround for this bug. https://gerrit.ovirt.org/#/c/41466/ till it gets fixed by blivet team for rhel: https://bugzilla.redhat.com/show_bug.cgi?id=1225417
Verified and works fine with build rhsc-3.1.0-0.60.el6.noarch. Syncing of storage devices is successful when hosts are added in xmlrpc mode and able to create a brick, marking it verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1495.html