-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
bugBug reportBug report
Description
When datahub is deployed with helm charts with the following example specifying basePath and basePathGMS, there are a few components that do not work correctly.
global:
basePath:
enabled: true
frontend: "/datahub"
gms: "/datahub-gms"
- The actions pod is not configured correctly with GMS url that includes the base path.
- GMS calls fail with
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://datahub-datahub-gms:8080/datahub-gms/entitiesV2/urn%3Ali%3AglobalSettings%3A0?aspects=List(globalSettingsInfo)
ERROR:acryl.executor.dispatcher.default_dispatcher:Failed dispatch for a141aa75-f8de-4aee-95df-3fb327a76874: Traceback (most recent call last):
File "/metadata-ingestion/src/datahub/emitter/rest_emitter.py", line 854, in _emit_generic
response.raise_for_status()
File "/home/datahub/.venv/lib/python3.11/site-packages/requests/models.py", line 1026, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://datahub-datahub-gms:8080/datahub-gms/aspects?action=ingestProposal
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/datahub/.venv/lib/python3.11/site-packages/acryl/executor/dispatcher/default_dispatcher.py", line 34, in dispatch_async
res = executor.execute(request)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/datahub/.venv/lib/python3.11/site-packages/acryl/executor/execution/reporting_executor.py", line 98, in execute
self._datahub_graph.emit_mcp(kickoff_mcp, async_flag=False)
File "/metadata-ingestion/src/datahub/emitter/rest_emitter.py", line 664, in emit_mcp
response = self._emit_generic(url, payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
datahub.configuration.common.OperationalError: ("Unable to emit metadata to DataHub GMS: No root resource defined for path '/datahub-gms'", {'exceptionClass': 'com.linkedin.restli.server.RestLiServiceException', 'message': "No root resource defined for path '/datahub-gms'", 'status': 404})
The frontend base path appears to work correctly, the issue is when using gms base path.
Metadata
Metadata
Assignees
Labels
bugBug reportBug report