Hi All :wave:. Does anyone know what it means to g...
# troubleshoot
p
Hi All 👋. Does anyone know what it means to get a 404 on
aspects?action=ingestProposal
when trying to delete a dataset using the CLI?
E.g.
Copy code
datahub delete --urn "urn:li:dataset:(urn:li:dataPlatform:redshift,database.schema.table,PROD)"
OperationalError: ('Unable to emit metadata to DataHub GMS', {'message': '404 Client Error: Not Found for url: <https://mydatahub.com/aspects?action=ingestProposal'}>)
Doing a
--dry-run
does not cause any errors
My dataset metadata was ingested from the UI
e
hmm that looks to me like a connection issue with your GMS
are you able to run other commands using the datahub CLI?
what about
datahub ingest list-runs
for example?
p
Hi Aditya! That doesn't work either. This is my first time using the CLI and I assumed my connection was ok since I could
--dry-run
without errors. I have DataHub deployed in K8s with an IP-restricted ingress for the frontend. Do I need an ingress for GMS?
e
I would recommend doing that as well so the GMS endpoint is exposed!
👍 1
I also believe the
--dry-run
command doesn’t test a GMS connection
p
Makes sense, thank you!
Working now with an ingress on GMS. Thanks again Aditya! 🙏
e
Amazing, I’m glad to hear it!
p
After adding the ingress, the frontend now gets 401s from GMS when trying to ingest metadata. Any idea what I need to configure?
e
That is very strange. @orange-night-91387 do you have any idea why this might be?
o
That sounds like it's stripping off the auth when routing through the ingress to GMS maybe?
Does your ingress give you details into the final request being forwarded to the GMS server? You can check the headers there and see what's being passed
p
Yeah it sounds something like that. I'll pull in some engineering help on my side to investigate and update here for future reference. Thanks!
👍 1