By: Florian Pühs user 17 Jul 2018 at 9:18 a.m. CDT

4 Responses
Florian Pühs gravatar
When trying to add a server via the CM gui I get following error message pointing to a missing variable: ``` Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/usr/local/lib/python2.7/dist-packages/flask_login/utils.py", line 261, in decorated_view return func(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/clustermgr/views/server.py", line 77, in index if server_exist: NameError: global name 'server_exist' is not defined ``` Any idea what the problem might be?

By Mohib Zico Account Admin 18 Jul 2018 at 6:20 a.m. CDT

Mohib Zico gravatar
Let me try to fire up a cluster. I'll let you know how it goes.

By Florian Pühs user 18 Jul 2018 at 6:23 a.m. CDT

Florian Pühs gravatar
For test purposes I manually reversed the changes from following commit: https://github.com/GluuFederation/cluster-mgr/commit/d55e078c1ae2cd5a65854cacfff5a3929bd3148d#diff-15dff2e31ee3ed0c4425ffb9834b4163 Afterwards I could successfully add a server.

By Ralph Prieto named 23 Jul 2018 at 4:46 p.m. CDT

Ralph Prieto gravatar
I am also having the same issue when adding a server in Cluster Manager: ``` An unhandled exception occured Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/usr/local/lib/python2.7/dist-packages/flask_login/utils.py", line 261, in decorated_view return func(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/clustermgr/views/server.py", line 77, in index if server_exist: NameError: global name 'server_exist' is not defined ```

By Mohib Zico Account Admin 26 Jul 2018 at 4:31 a.m. CDT

Mohib Zico gravatar
Issue fixed... community [ticket](https://support.gluu.org/installation/5768/cluster-manager-get-an-unhandled-exception-occured-when-adding-a-server)