The purpose of this KB article is to provide fix for the error listed above.
Symptoms:
RAAS service reporting error in the RAAS logs located in /var/log/rass/raas. Similar to below example: Traceback (most recent call last):
File "tornado/web.py", line 1701, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/var/lib/raas/unpack/_MEI8CM2Ja/raas/mods/rest/vip_proxy.py", line 139, in get
return self.process_proxy(requests.get)
File "/var/lib/raas/unpack/_MEI8CM2Ja/raas/mods/rest/vip_proxy.py", line 102, in process_proxy
r = request_method(
File "requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "raven/breadcrumbs.py", line 341, in send
resp = real_send(self, request, *args, **kwargs)
File "requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='<IP>', port=8091): Max retries exceeded with url: /i18n/api/v2/locale/supportedLanguageList?productName=SSC&version=8.10.1&language= (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7xxxxxxxxfa0>: Failed to establish a new connection: [Errno 111] Connection refused'))
2023-01-23 08:45:45,076 [tornado.access][ERROR :2246][Webserver:2573] 500 GET /i18n/api/v2/locale/supportedLanguageList?productName=SSC&version=8.10.1&language= (<IP>) 10.28ms
VMware Aria Automation Config 8.x
The error is due to "vmware internationalization service" is missing on the RAAS machine. This service came out as part of 8.6.2. In general, SaltStack Config will run without it, but you will see a lot of errors in the logs.
To fix the errors, you need to install missing packages for Singleton service:
Prerequisites:
To resolve the problem, follow the steps below: