Hello!
I am having trouble configuring AWX on a kubernetes cluster on GCP (Google Cloud). I have deployed Operator and it has deployed has deployed AWX ok. I can login from the web and can log in ok.
I have in a gitlab project the playbooks and inventories. I have set up a project in AWX Projects to use it. When I sync the project it finishes ok.
The problem occurs when I try to sync an inventory. I have an inventory configured with a Source that takes a file that is in gitlab. When I do it the job that runs ends with the error:
Error creating pod: Internal error occurred: add operation does not apply: doc is missing path: “/spec/containers/0/volumeMounts/-”: missing value
The inventory is using the project I mentioned in the previous paragraph that can synchronize.
The inventory is an .ini file
I have tried with version 1.1.4 and 1.1.0, in both I get the same error. I have also tried to change the database. I have tried with an external one (in Google Cloud) and in the one that deploys the Operator in a pod. It fails with both.
I have managed to make the error different by doing the following:
Settings → jobs → allow Expose host paths for Container Groups.
The error that appears is:
Error creating pod: container failed with exit code 128: error while creating mount source path ‘/usr/share/pki’: mkdir /usr/share/pki: read-only file system
The version of kubernetes I am using is v1.22.12-gke.2300.
Any idea what could be happening and how to fix it?
Thank you very much!