-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postgres authentication error when using different combination of passwords for artifactory HA #156
Comments
The |
@daniyalj - can you make sure you run a clean setup without leftover old storage? |
Create postgres database with the following params:
Note: The username and password above are base64 encoded (username123 and password123) Deploy artifactory HA 2 nodes with the following configuration:
Check the logs on the artifactory pod:
If you navigate to the artifactory pod and look at the db.properties the values of the db username and password do not change:
Repeat the above with "artifactory" and "password" as the vars and the deployment will come up fine @eldada hope this helps |
@daniyalj I had the exact same problem and found a workaround. Assume I mounted my local directory
|
@cytim Yeah that might be a little tricky to do in a k8s environment. I ended up using the helm chart for artifactory on OpenShift and it is much much more stable. Im not even sure why this repo exists. |
Platform
OpenShift
Version
Artifactory HA 6.9.0
Problem
Whenever I am setting a different postgres password other than "artifactory/password" I am getting an authentication error. I have tried many different combinations of password for postgres and none get set in db.properties file.
Error I am getting:
When I set the postgres password as username "artifactory" and password as "password" all works well.
I want to be able to set a unique password for postgres and not have such an insecure password.
The text was updated successfully, but these errors were encountered: