...seems my mail-response got lost - so I answer via web-interface:
----
Hi,
..thanks a lot for your input – web-container looks like this:
…and the project’s .git is root-owned – which is probably the problem:
root@net04-mgmt-vm:~# kubectl exec awx-7dd9bf96c7-ml7zf -c awx-web -- /bin/ls -la /var/lib/awx/projects/_10__awx_hello_world/.git/refs/heads
total 12
drwxr-xr-x 2 root root 4096 Jul 29 12:20 .
drwxr-xr-x 5 root root 4096 Jul 29 12:01 ..
-rw-r--r-- 1 root root 41 Jul 29 12:01 main
However, I’m not allowed to change the ownership within the container:
root@net04-mgmt-vm:~# kubectl exec awx-7dd9bf96c7-ml7zf -c awx-web -- /bin/chown -R awx.root /var/lib/awx/projects/_10__awx_hello_world
chown: changing ownership of '/var/lib/awx/projects/_10__awx_hello_world/.git/config': Operation not permitted
chown: changing ownership of '/var/lib/awx/projects/_10__awx_hello_world/.git/logs/refs/remotes/origin/HEAD': Operation not permitted
chown: changing ownership of '/var/lib/awx/projects/_10__awx_hello_world/.git/logs/refs/remotes/origin': Operation not permitted
chown: changing ownership of '/var/lib/awx/projects/_10__awx_hello_world/.git/logs/refs/remotes': Operation not permitted
chown: changing ownership of '/var/lib/awx/projects/_10__awx_hello_world/.git/logs/refs/heads/main': Operation not permitted
I would suspect, that the git checkout is performed using the wrong (root) user – is there a place, where this can be configured?
Thanks,
Andreas
--
You received this message because you are subscribed to a topic in the Google Groups "AWX Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/awx-project/eiPsf9dkfB4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/2b483842-9a40-46e7-92ae-f1750f7b3f81n%40googlegroups.com.