Exasol Cloud UI not working after Cloud UI Back-end Plug-in update

mmzyk
Contributor

Hi Exasol Community,

Recently, we performed an update within our Exasol-AWS-hosted installation from Cloud UI Back-end Plug-in V.1.1.3 to V.1.1.4, following the provided instructions (for the XML RPC option) available under:

Cloud UI Back-end Plug-in - AWS | Exasol Documentation

Although (as per ExaOperation) the update was successful, the Cloud UI is not available / working anymore ever since, displaying the error message:

screenshot.JPG

Who can help us to solve this problem ? Any help would be appreciated very much.

Thanks & Best Regards,

Michael

1 ACCEPTED SOLUTION

Accepted Solutions

exa-Fagani
Team Exasol
Team Exasol

Hi Michael,

Could you please try to restart the Cloud UI service and Exaoperation then try to reach Cloud UI again?

In order to restart the Cloud UI service you can use one of these options below:

1. Restart it via XML-RPC call

#!/usr/bin/python3.6

import ssl
import xmlrpc.client
server = xmlrpc.client.ServerProxy
('https://admin:<password>@<ip_or_dns>/cluster1', context=ssl._create_unverified_context())
# Test if the Plugin was uploaded correctly  
server.showPluginList()
--> ['Cloud.UIBackend-1.1.3']
server.callPlugin('Cloud.UIBackend-1.1.3', 'n0010', 'RESTART', '')

2. If the XML-RPC call does not work please try to restart it from systemd. Login to the license (management) server via SSH and run "systemctl restart cloudui" command.

After restarting the Cloud UI service please restart the Exaoperation service. You can do this via Exaoperation WEB UI -> Exaoperation -> Restart

Regards,

Fagani Hajizada

 

View solution in original post

7 REPLIES 7

exa-Chris
Community Manager
Community Manager

Hi I posted internally in our groups for some more help. Rgds Christian

Connecting Customers, Partners, Prospects and Exasolians is my passion. Apart from that I cycle, listen to music, and try to understand what all those technical discussions really mean...

exa-Fagani
Team Exasol
Team Exasol

Hi Michael,

Could you please try to restart the Cloud UI service and Exaoperation then try to reach Cloud UI again?

In order to restart the Cloud UI service you can use one of these options below:

1. Restart it via XML-RPC call

#!/usr/bin/python3.6

import ssl
import xmlrpc.client
server = xmlrpc.client.ServerProxy
('https://admin:<password>@<ip_or_dns>/cluster1', context=ssl._create_unverified_context())
# Test if the Plugin was uploaded correctly  
server.showPluginList()
--> ['Cloud.UIBackend-1.1.3']
server.callPlugin('Cloud.UIBackend-1.1.3', 'n0010', 'RESTART', '')

2. If the XML-RPC call does not work please try to restart it from systemd. Login to the license (management) server via SSH and run "systemctl restart cloudui" command.

After restarting the Cloud UI service please restart the Exaoperation service. You can do this via Exaoperation WEB UI -> Exaoperation -> Restart

Regards,

Fagani Hajizada

 

View solution in original post

mmzyk
Contributor

Hi @exa-Fagani ,

Thanks again for this fast response, option 1 (XML-RPC call) already did the trick. 

Best regards

Michael

exa-Fagani
Team Exasol
Team Exasol

Hi Michael,

Thank you for your feedback!

Best Regards,

Fagani Hajizada

drumcircle
Rising Star

I'm getting these errors, any guidance?

 

the /opt/ui-backend directory has files and subdirectories in it

 

[ec2-user@ip-172-31-18-169 EXAplugins]$ Cloud.UIBackend-1.1.4/exaoperation-gate/ && ./install
-bash: Cloud.UIBackend-1.1.4/exaoperation-gate/: Is a directory
[ec2-user@ip-172-31-18-169 EXAplugins]$ Cloud.UIBackend-1.1.4/exaoperation-gate && ./install
-bash: Cloud.UIBackend-1.1.4/exaoperation-gate: Is a directory
[ec2-user@ip-172-31-18-169 EXAplugins]$ Cloud.UIBackend-1.1.4/exaoperation-gate/install
mkdir: cannot create directory ‘/opt/ui-backend’: Permission denied
Could not create directory.
[ec2-user@ip-172-31-18-169 EXAplugins]$ sudo Cloud.UIBackend-1.1.4/exaoperation-gate/install
Generating a 2048 bit RSA private key
......................+++
.............+++
writing new private key to '/opt/ui-backend/service/server.rsa.key'
-----

** (pkttyagent:31383): WARNING **: 19:24:15.423: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)

 

systemctl restart cloudui

** (pkttyagent:4226): WARNING **: 19:41:53.380: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Failed to restart cloudui.service: Interactive authentication required.
See system logs and 'systemctl status cloudui.service' for details.

drumcircle
Rising Star

After restart of Exoperation, cloud-ui comes up but I get this error:

 256, "###_###Error: An error occurred (UnauthorizedOperation) when calling the DescribeInstances operation: You are not authorized to perform this operation.###_###\nTraceback (most recent call last):\n File \"/opt/ui-backend/handle_cloudui_request.py\", line 368, in <module>\n handle_request(argparse_data.request_data)\n File \"/opt/ui-backend/handle_cloudui_request.py\", line 70, in handle_request\n print '###_###' + json.dumps(cluster_info) + '###_###'\nUnboundLocalError: local variable 'cluster_info' referenced before assignment"

 

 

drumcircle
Rising Star

import ssl
import xmlrpc.client
server = xmlrpc.client.ServerProxy('https://admin:xxxx@xxxx/cluster1', context=ssl._create_unverified_context())
# Test if the Plugin was uploaded correctly
server.showPluginList()
--> ['Cloud.UIBackend-1.1.4']
server.callPlugin('Cloud.UIBackend-1.1.4', 'n0010', 'RESTART', '')

Restarting service returns 

[0,'']

but UnauthorizedOperation error still there.

this is AWS btw