Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1225417 - Disks not visible in Storage devices tab on clicking Sync option
Disks not visible in Storage devices tab on clicking Sync option
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: vdsm (Show other bugs)
3.1
Unspecified Unspecified
high Severity high
: ---
: RHGS 3.1.0
Assigned To: Timothy Asir
RamaKasturi
:
Depends On: 1223855 1226846
Blocks: 1202842
  Show dependency treegraph
 
Reported: 2015-05-27 06:30 EDT by Arthy Loganathan
Modified: 2015-07-29 00:53 EDT (History)
8 users (show)

See Also:
Fixed In Version: vdsm-4.16.20-1.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-29 00:53:28 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 41466 ovirt-3.5-gluster MERGED gluster:fix NoneType error for some devices does not contain sysfsPath Never
Red Hat Product Errata RHEA-2015:1494 normal SHIPPED_LIVE Red Hat Gluster Storage Console 3.1 Enhancement and bug fixes 2015-07-29 05:24:02 EDT
Red Hat Product Errata RHSA-2015:1495 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 04:26:26 EDT

  None (edit)
Description Arthy Loganathan 2015-05-27 06:30:23 EDT
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 07:37:10 EDT
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 08:24:17 EDT
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 04:57:05 EDT
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 00:53:28 EDT
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.