AMC Version: 3.6.0
Aerospike version: Aerospike Enterprise Edition build 3.5.9
contents from /var/log/amc/error.log : http://joxi.ru/dp27DXNh7b4xA7
2015-05-28 12:10:08 [379] [ERROR] Error handling request
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/flaskapp.py", line 316, in get_cluster_id
password=cl.hashpassword(str(request.form['password'])))
File "/opt/amc/server/utilities/cluster_manager.py", line 167, in get_cluster_info
cluster = self.create_cluster(node_address, user=user, password=password)
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 56, in create_cluster
return cluster.Cluster(ip, port, user=user, password=password)
File "/opt/amc/server/models/cluster.py", line 85, in __init__
self.update_user_roles(user)
File "/opt/amc/server/models/cluster.py", line 749, in update_user_roles
user_info["roles"] = user_obj.get_roles(str(self._ip), str(self._port))
File "/opt/amc/server/models/user.py", line 115, in get_roles
self._fetch_roles(ip, port)
File "/opt/amc/server/models/user.py", line 110, in _fetch_roles
user=self.get_id(), password=self.get_password())
File "/opt/amc/server/helpers/caching.py", line 45, in decorator
value = fn(*args, **kwargs)
File "/opt/amc/server/libs/base.py", line 493, in get_cluster_userroles
user = get_citrusleaf_cluster_user(ip, port, user=user, password=password, sock=sock)
File "/opt/amc/server/helpers/caching.py", line 45, in decorator
value = fn(*args, **kwargs)
File "/opt/amc/server/libs/base.py", line 516, in get_citrusleaf_cluster_user
user_data = cl.queryUser(citrusleaf_cluster, user)
File "/opt/amc/server/libs/citrusleaf.py", line 1812, in queryUser
status, users = readUsers(cluster, send_buf)
File "/opt/amc/server/libs/citrusleaf.py", line 1761, in readUsers
sock = cluster.getConnection()
File "/opt/amc/server/libs/citrusleaf.py", line 555, in getConnection
c = host.getConnection()
File "/opt/amc/server/libs/citrusleaf.py", line 430, in getConnection
if s.connect() == True:
File "/opt/amc/server/libs/citrusleaf.py", line 256, in connect
self.s.connect(self.host_obj.sockaddr[0])
File "/opt/amc/server/site-packages/eventlet/greenio.py", line 196, in connect
if socket_connect(fd, address):
File "/opt/amc/server/site-packages/eventlet/greenio.py", line 35, in socket_connect
err = descriptor.connect_ex(address)
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
TypeError: an integer is required
apt-cache policy python-bcrypt
python-bcrypt:
Installed: 0.4-1ubuntu2
Candidate: 0.4-1ubuntu2
Version table:
*** 0.4-1ubuntu2 0
500 http://ru.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
100 /var/lib/dpkg/status
Perhaps there is something wrong in python on server