Bug 1225417 - Disks not visible in Storage devices tab on clicking Sync option
Summary: Disks not visible in Storage devices tab on clicking Sync option
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: vdsm
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 3.1.0
Assignee: Timothy Asir
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On: 1223855 1226846
Blocks: 1202842
TreeView+ depends on / blocked
 
Reported: 2015-05-27 10:30 UTC by Arthy Loganathan
Modified: 2015-07-29 04:53 UTC (History)
8 users (show)

Fixed In Version: vdsm-4.16.20-1.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-29 04:53:28 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1494 0 normal SHIPPED_LIVE Red Hat Gluster Storage Console 3.1 Enhancement and bug fixes 2015-07-29 09:24:02 UTC
Red Hat Product Errata RHSA-2015:1495 0 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 08:26:26 UTC
oVirt gerrit 41466 0 ovirt-3.5-gluster MERGED gluster:fix NoneType error for some devices does not contain sysfsPath 2020-09-10 09:11:55 UTC

Description Arthy Loganathan 2015-05-27 10:30:23 UTC
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'

Comment 2 Ramesh N 2015-05-27 11:37:10 UTC
DeviceList is failing in RHEL6.6 build. 

Tim: Can u back port the patch which u had sent upstream?

Comment 3 Timothy Asir 2015-05-28 12:24:17 UTC
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

Comment 5 RamaKasturi 2015-06-18 08:57:05 UTC
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.

Comment 6 errata-xmlrpc 2015-07-29 04:53:28 UTC
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


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