Giter VIP home page Giter VIP logo

Comments (9)

jainishshah17 avatar jainishshah17 commented on June 13, 2024 2

@marianteodorescu I had to do following to deploy Artifactory:

helm repo add ibm https://registry.bluemix.net/helm/ibm
helm repo add ibm-charts https://registry.bluemix.net/helm/ibm-charts

helm install ibm/ibmcloud-block-storage-plugin

kubectl get pod -n kube-system | grep block

kubectl get storageclasses | grep block

kubectl patch storageclass ibmc-block-bronze -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'

kubectl patch storageclass ibmc-file-bronze -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"false"}}}'

kubectl get storageclass

from charts.

eldada avatar eldada commented on June 13, 2024 1

Did you try upgrading over the failing deployment? This might be due to an already deployed postgresql that has a randomly generated password. You must extract it and pass it with --set postgresql.postgresPassword=${DB_PASSWORD}.
Extract the current password with

export DB_PASSWORD=$(kubectl get $(kubectl get secret -o name artifactory-postgresql) -o jsonpath="{.data.postgres-password}" | base64 --decode)

I guess we should improve documentation on this...

from charts.

eldada avatar eldada commented on June 13, 2024

Hi @marianteodorescu . What K8s are you deploying to?
Seems the PVC created uses a volume that does not have write permissions for others.
You can try passing --set artifactory.persistence.enabled=false to see it works without persistency.

from charts.

marianteodorescu avatar marianteodorescu commented on June 13, 2024

Hi @eldada . I am deploying to the IBM Cloud K8s. I will try reinstalling again with --set artifactory.persistence.enabled=false. Is there a way to modify the the volume and grant permission manually?

from charts.

eldada avatar eldada commented on June 13, 2024

I'm not familiar with IBM Cloud K8s, but I suspect that the default StorageClass is the root cause.
You can also create your own PV + PVC with the needed permissions and pass it to Artifactory with --set artifactory.persistence.existingClaim=PVC_NAME.
@jainishshah17 - do you have ideas about the IBM default StorageClass and permissions?

from charts.

marianteodorescu avatar marianteodorescu commented on June 13, 2024

I have tried starting it --set artifactory.persistence.enabled=false and it would not start, I got FATAL: password authentication failed for user "artifactory", I have attached the full log below.
logs-from-artifactory-in-artifactory-artifactory-0.txt

from charts.

marianteodorescu avatar marianteodorescu commented on June 13, 2024

It was a clean install, I used the helm delete --purge then I made sure that all pods and volumes were clean.

from charts.

jainishshah17 avatar jainishshah17 commented on June 13, 2024

@marianteodorescu did you clear PVC after helm delete --purge?

from charts.

marianteodorescu avatar marianteodorescu commented on June 13, 2024

Thank you, it works!

from charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.