Bug 1514569

Summary: Gluster-integration sync fails when volume is deleted
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Nishanth Thomas <nthomas>
Component: web-admin-tendrl-gluster-integrationAssignee: gowtham <gshanmug>
Status: CLOSED ERRATA QA Contact: Bala Konda Reddy M <bmekala>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: bmekala, rhinduja, rhs-bugs, sankarshan, ssaha
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tendrl-gluster-integration-1.5.4-3.el7rhgs.noarch.rpm Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-18 04:37:04 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:
Embargoed:

Description Nishanth Thomas 2017-11-17 19:17:48 UTC
Description of problem:
When volume is deleted then gluster sync is failing with exception:

Exception in thread State sync thread:
Traceback (most recent call last):
Nov 15 21:39:36 dhcp43-25 tendrl-gluster-integration: File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/site-packages/tendrl/gluster_integration/sds_sync/init.py", line 297, in run
raise ex
TypeError: int() argument must be a string or a number, not 'NoneType'

Nov 15 21:39:36 dhcp43-25 journal: 2017-11-15 16:09:36.529451+00:00 - gluster_integration - /usr/lib/python2.7/site-packages/tendrl/gluster_integration/sds_sync/init.py:293 - run - ERROR - gluster sds state sync error - TypeError: [{u'function': u'__bootstrap', u'line': 784, u'file': u'/usr/lib64/python2.7/threading.py', u'statement': u'self.__bootstrap_inner()'}, {u'function': u'__bootstrap_inner', u'line': 811, u'file': u'/usr/lib64/python2.7/threading.py', u'statement': u'self.run()'}, {u'function': u'run', u'line': 250, u'file': u'/usr/lib/python2.7/site-packages/tendrl/gluster_integration/sds_sync/init.py', u'statement': u'client_connections.sync_volume_connections(volumes)'}, {u'function': u'sync_volume_connections', u'line': 24, u'file': u'/usr/lib/python2.7/site-packages/tendrl/gluster_integration/sds_sync/client_connections.py', u'statement': u'else int(fetched_brick.client_count)'}]

Comment 5 errata-xmlrpc 2017-12-18 04:37:04 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://access.redhat.com/errata/RHEA-2017:3478