Skip to content

node-agent crashing with devel version of glusterfs #849

@dahorak

Description

@dahorak

On cluster with development version of Glusterfs (e.g. glusterfs-server-6dev-0.3.git76cb1e7.el7.x86_64), tendrl-node-agent is crashing - generating following traceback in logs:

Sep 18 08:19:33 ci-usm1-gl1 journal: 2018-09-18 06:19:33.224203+00:00 - node_agent 
- /usr/lib/python2.7/site-packages/tendrl/node_agent/node_sync/sds_detect.py:256 - sync - ERROR 
- node_sync SDS detection failed: invalid literal for int() with base 10: '6dev-0'
- ValueError: [
  {u'function': u'__bootstrap', u'line': 785, u'file': u'/usr/lib64/python2.7/threading.py', u'statement': u'self.__bootstrap_inner()'},
  {u'function': u'__bootstrap_inner', u'line': 812, u'file': u'/usr/lib64/python2.7/threading.py', u'statement': u'self.run()'},
  {u'function': u'run', u'line': 765, u'file': u'/usr/lib64/python2.7/threading.py', u'statement': u'self.__target(*self.__args, **self.__kwargs)'},
  {u'function': u'sync', u'line': 41, u'file': u'/usr/lib/python2.7/site-packages/tendrl/node_agent/node_sync/sds_detect.py', u'statement': u'sds_details = plugin.discover_storage_system()'},
  {u'function': u'discover_storage_system', u'line': 102, u'file': u'/usr/lib/python2.7/site-packages/tendrl/node_agent/discovery/sds/plugins/discover_gluster_sds_details.py', u'statement': u'if int(maj_ver) == 3 and int(min_ver) == 8 and \\'}]

Affected version: tendrl-node-agent-1.6.3-9.el7.noarch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions