Open fopson opened 6 months ago
your steps look correct to me
can you shell into your awx-task pod (awx-task container) and navigate to /var/lib/awx/projects? does the ls -la
output look correct to you? if you touch foo
in that directory do you see it on /opt/awx/projects?
Thanks for your comments @fosterseth.
Unfortunately, it looks like the linking of the volume isn't working as expected. A file listing of the /var/lib/awx/projects directory looks different than the file listing of the /opt/awx/projects directory.
I am not able to see the file created from within the pod.
The hostPath
based PV on minikube is quite different from other distributions.
Your PV refers /opt/awx/projects
of your minikube VM (or docker container) instead of your minikube host. Please investigate inside VM (or docker container) that is used as minikube instance.
Also, /opt
on minikube instance is not persisted. Refer to: https://minikube.sigs.k8s.io/docs/handbook/persistent_volumes/
Please confirm the following
Bug Summary
Unable to create manual project on AWX deployed through Operator. I have attempted to make
/var/lib/awx/projects
persistent and link it to/op/awx/projects
locally on the node. I have followed instructions given in the community forum https://forum.ansible.com/t/awx-change-project-base-path-kubernetes/2473/8 but I still get the same error message.I have been googling solutions for the past 2 days but no luck.
AWX Operator version
2.13.1
AWX version
24
Kubernetes platform
minikube
Kubernetes/Platform version
v1.32.0
Modifications
no
Steps to reproduce
Install AWX Operator 2.13.1
Setup Projects Dir
Create Persistent Volume
Create Persistent Volume Claim
Checks
Create TLS Secret
Deploy AWX
Checks
Create a few projects under
/opt/awx/projects/
Check
Expected results
Being able to create manual/persistent projects.
Actual results
AWX
/var/lib/awx/projects/
doesn't seem to be linked to/opt/awx/projects/
on the local host.Additional information
No response
Operator Logs
No response