Closed jacobcsmith closed 1 year ago
@jacobcsmith thanks for raising this , could you confirm which chart you are using artifactory
or artifactory-ha
?
Also, Can you try using the latest chart by disabling jfconnect_service via values.yaml , which would mean we disable in systemyaml no need of using ENV variables
jfconnect:
enabled: false
Hey @ssarivis I am using the artifactory chart. I am already setting jfconnect.enabled to false and see that reflected in our system.yaml.
router:
serviceRegistry:
insecure: false
shared:
metrics:
enabled: true
logging:
consoleLog:
enabled: false
extraJavaOpts: >
-Dartifactory.graceful.shutdown.max.request.duration.millis=30000
-Dartifactory.access.client.max.connections=50
-Xms6g
-Xmx8g
artifactory:
database:
maxOpenConnections: 100
tomcat:
maintenanceConnector:
port: 8091
connector:
maxThreads: 200
sendReasonPhrase: false
extraConfig: acceptCount="100"
frontend:
session:
timeMinutes: "30"
access:
database:
maxOpenConnections: 100
tomcat:
connector:
maxThreads: 50
sendReasonPhrase: false
extraConfig: acceptCount="100"
metadata:
database:
maxOpenConnections: 100
jfconnect:
enabled: false
jfconnect_service:
enabled: false
The reason I brought up environment variables is due to this line: https://github.com/jfrog/charts/blob/master/stable/artifactory/templates/artifactory-statefulset.yaml#L927. Please note we have enabled splitServicesToContainers to true.
Was there a change between 107.63.7 and 107.63.12 which addressed this issue? Looking at the changelog and commits I didn't see a change in the chart which would address this issue.
@jacobcsmith , Thanks for reporting this. We have fixed this now internally and should be available in the upcoming releases.ETA 2weeks.
@jacobcsmith Fixed in 107.68.7
chart and please try and share feedback
We upgraded to 107.68.14 without an issue. Thank you for resolving 👍
Is this a request for help?: No
Is this a BUG REPORT or FEATURE REQUEST? (choose one): Bug Report
Version of Helm and Kubernetes: Helm 3 and Kubernetes 1.26.2
Which chart: artifactory 107.63.7
Which product license (Enterprise/Pro/oss): Enterprise
What happened: Artifactory attempts to connect to an entitlements service for JF Connect and fails to start after a few minutes even though jfconnect is disabled in values.yaml. Exception as follows:
What you expected to happen: Not attempt to connect to any JF Connect related service.
How to reproduce it (as minimally and precisely as possible): In values.yaml set:
Anything else we need to know:
Was able to workaround by manually changing the JF_JFCONNECT_ENABLED env var to
false
in the statefulset manifest. Perhaps the value of this env var should come fromValues.jfconnect.enabled
rather than hardcoding.