Aerospike amc adding node error


#1

I am trying to add node to amc. When I add node ip I get following error:

Traceback (most recent call last):
  File "/opt/amc/server/site-packages/gunicorn/workers/async.py", line 45, in handle
    self.handle_request(listener, req, client, addr)
  File "/opt/amc/server/site-packages/gunicorn/workers/async.py", line 93, in handle_request
    respiter = self.wsgi(environ, resp.start_response)
  File "/opt/amc/server//site-packages/flask/app.py", line 1701, in __call__
    return self.wsgi_app(environ, start_response)
  File "/opt/amc/server//site-packages/flask/app.py", line 1689, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/opt/amc/server//site-packages/flask/app.py", line 1687, in wsgi_app
    response = self.full_dispatch_request()
  File "/opt/amc/server//site-packages/flask/app.py", line 1360, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/opt/amc/server//site-packages/flask/app.py", line 1358, in full_dispatch_request
    rv = self.dispatch_request()
  File "/opt/amc/server//site-packages/flask/app.py", line 1344, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/opt/amc/server/helpers/debugger.py", line 270, in decorator
    response = fn(*args, **kwargs)
  File "/opt/amc/server/flaskapp.py", line 80, in get_cluster_id
    response = cluster_manager.get_cluster_info(node_address)
  File "/opt/amc/server/utilities/cluster_manager.py", line 94, in get_cluster_info
    cluster = self.create_cluster(node_address, host_address)
  File "/opt/amc/server/helpers/synchronizing.py", line 33, in _synchronizer
    return func(self, *args, **kwargs)
  File "/opt/amc/server/utilities/cluster_manager.py", line 54, in create_cluster
    return cluster.Cluster(ip, port, input_node_address)
  File "/opt/amc/server/models/cluster.py", line 80, in __init__
    node_obj = Node(self._seed, input_node_address, self._cluster_id)
  File "/opt/amc/server/models/node.py", line 112, in __init__
    self._cluster_name = self.get_cluster_name()
  File "/opt/amc/server/models/node.py", line 139, in get_cluster_name
    cluster_name = base.get_cluster_name(self._access_ip, self._access_port, sock=sock)
  File "/opt/amc/server/helpers/caching.py", line 47, in decorator
    value = fn(*args, **kwargs)
  File "/opt/amc/server/libs/base.py", line 87, in get_cluster_name
    name = cl.citrusleaf_info(ip, port, "cluster-name", sock=sock)
  File "/opt/amc/server/libs/citrusleaf.py", line 969, in citrusleaf_info
    lines = rsp_data.split("\n")
AttributeError: 'NoneType' object has no attribute 'split'

Python 2.7.6 AMC Version: 3.6.12 Aerospike Community Edition build 3.9.1.1


#2

Thanks for your report. We’ll release a fix early next week.


#3

Hi!

Is there a date for releasing the fix or are you still working on it?

Regards , Kasu


#4

Hi and sorry for the wait,

Yes I’m working on it, and will release it this week.


#5

Ok great!

Thanks for the fast response :wink:


#6

Is it released? How to upgrade?


#7

Yes it is released. You just need to download the latest version from the website, and install it.


#8

I got it solved in aerospike aerospike-server-community-3.10.0.3. Thank you !