Open luis-fnogueira opened 8 months ago
I tried to connect to an external DB and this situation is impairing the connection:
Internal Server Error: Unable to execute HTTP request: Connect to airbyte-minio-svc:9000 [airbyte-minio-svc/172.20.93.157] failed: Connection refused
I changed the securityContext in the templates of Airbyte's chart to:
securityContext:
allowPrivilegeEscalation: true
runAsNonRoot: false
# uid=1000(airbyte)
runAsUser: 0
# gid=1000(airbyte)
runAsGroup: 0
readOnlyRootFilesystem: false
capabilities:
drop: ["ALL"]
seccompProfile:
type: RuntimeDefault
But I don't know how much unsafe this is.
@luis-fnogueira Did the minio pod start working with these permissions? I'm having the same issue you described with the helm chart version 0.63.33.
This issue is fixed in helm chart version 0.64.52.
We're still seeing the same issue on 0.64.52
, the minio pod crashlooping with ERROR Unable to use the drive /storage: drive access denied: Invalid arguments specified
Traced it back to https://github.com/airbytehq/airbyte-platform/commit/ac2c24ad23a28e0891499edcf0027d8ab7f88e1c changing the default UID and GID of the running pod, so it can't read files it used to have access to
Will this be fixed? I am running into the same issue while being on Helm chart version 0.87.4
. Downgrading Airbyte didn't work anymore because there had already been a schema change that is incompatible with lower versions
Hi, deleting the pvc and the pod should make it work.
Can confirm @p-vrachnis, appreciate the help!
Hi, deleting the pvc and the pod should make it work.
Do you know what is contained within that pvc? I mean, what kind of data does Airbyte store here and is it safe to just delete it and recreate?
I inherited our deployment from previous person. This is what I see in my values.yml
regarding Minio:
values: |
global:
state:
storage:
type: "MINIO"
logs:
storage:
type: "MINIO"
minio:
enabled: true
The way I understand this it should be logs, so nothing critical (like created workflows, for example). But I prefer to ask.
It should be only logs. We did not noticed any other data missing, in our case at least.
Helm Chart Version
0.63.10
What step the error happened?
On deploy
Revelant information
During deploy of Airbyte, the MinIO statefulset doesn't work properly. It gives an access error. The pod's log are below. It keeps restarting: Maybe the
values.yaml
file lacks MinIO configuration?Relevant log output