Open spacepluk opened 8 years ago
I'm trying to setup openvpn using the dcos package in a cluster created with the aws template. When I try to create a client I get this error:
2016-01-14 17:26:04,599 - werkzeug - INFO - 10.0.7.37 - - [14/Jan/2016 17:26:04] "GET /status HTTP/1.1" 200 - 2016-01-14 17:26:24,927 - dcos_openvpn.web - ERROR - Exception on /client [POST] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/usr/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/usr/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/usr/lib/python2.7/site-packages/webargs-0.15.0-py2.7.egg/webargs/core.py", line 488, in wrapper return func(parsed_args, *args, **kwargs) File "dcos_openvpn/web.py", line 36, in create_client cert.generate(args.get("name")) File "dcos_openvpn/cert.py", line 16, in generate name), shell=True) File "/usr/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '/dcos/bin/easyrsa build-client-full oscar nopass' returned non-zero exit status 1 2016-01-14 17:26:24,927 - dcos_openvpn.web - ERROR - Exception on /client [POST] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/usr/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/usr/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/usr/lib/python2.7/site-packages/webargs-0.15.0-py2.7.egg/webargs/core.py", line 488, in wrapper return func(parsed_args, *args, **kwargs) File "dcos_openvpn/web.py", line 36, in create_client cert.generate(args.get("name")) File "dcos_openvpn/cert.py", line 16, in generate name), shell=True) File "/usr/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '/dcos/bin/easyrsa build-client-full oscar nopass' returned non-zero exit status 1 2016-01-14 17:26:24,938 - werkzeug - INFO - 10.0.7.37 - - [14/Jan/2016 17:26:24] "POST /client HTTP/1.1" 500 - 2016-01-14 17:26:34,619 - werkzeug - INFO - 10.0.7.37 - - [14/Jan/2016 17:26:34] "GET /status HTTP/1.1" 200 -
I'm trying to setup openvpn using the dcos package in a cluster created with the aws template. When I try to create a client I get this error: