Hi Team, I have created one domain in the datahub ...
# troubleshoot
n
Hi Team, I have created one domain in the datahub but now I need to delete it. I am not able to find any option where I can delete that domain
Hi How to set the access for it?
i
Hello Abhinav, Could you clarify? What do you mean set access for it?
n
I have the root user permission but still not able to delete the domain
i
Does your user have
Edit Domain
or
Manage Domain
privileges? See: https://datahubproject.io/docs/authorization/policies#privileges
n
Yes
i
Which one?
n
Manage Domain
i
Please take a screenshot of the domain you want to delete and share it here
What version of DataHub are you running?
n
How to check the version?
i
How did you deploy DataHub?
n
I deployed it on RedHat OpenShift
DataHub CLI version: 0.8.42
i
So helm charts?
n
Yes I used Helm Charts
i
What version of the GMS image do you have?
n
GMS Version is 0.8.33
i
You need to update DataHub (all components) to v0.8.41 or higher, in order to be able to delete through the UI
0.8.33 is a very old version
n
Okay Can you please tell me the latest stable version of all components
i
v0.8.41
n
What all things are there in 0.8.41 that are not present in 0.8.33
i
I highly recommend you take a look at the release notes: https://datahubproject.io/docs/releases
n
Is there any command to quickly upgrade it to the newest version?
i
That depends on how you deployed DataHub
Usually if DataHub is deployed in K8s using helm the following would be enough:
Copy code
$ helm repo up
$ helm -n upgrade datahub -f values.yaml datahub/datahub
Where
values.yaml
defines the deployment which the docker images updated. Note: DO NOT run this if you are not knowledgeable about helm & K8s or are not in charge of your DataHub deployment. This assumes you have deployed DataHub in a K8s namespace with the same name and that you have a file
values.yaml
with the specific values of your deployment
n
Okay Thanks
Can I use the following command? helm upgrade datahub datahub/datahub --values values.yaml
i
Assuming you know what you are doing, yes
n
I have persistent volume in place. Will there be some kind of data loss if I upgrade?
i
There shouldn't be but cant be certain