AWX Install on Minishift fails creating the ansible-tower-management container

Hi Guys,

I’m back to AWX after an absence of 1 year and I want to install it using openshift.

I tried the minishift approach which works great, but I’m having an issue when the installer creates the ansible-tower-management container.

It seems the volume mount for /etc/tower/SECRET_KEY fails with this error:

state:
waiting:
message: failed to create subPath directory for volumeMount “awx-secret-key”
of container “ansible-tower-management”
reason: CreateContainerConfigError

I’m new to OpenShift and I’m not sure this is openshift related issue.

Have you seen this issue before?

Thanks,

-Cesar

Hi Cesar

I wrote this over a year ago now, but it might be useful for you? https://www.linkedin.com/pulse/running-awx-minishift-phil-griffiths/
Sounds like you haven’t got a PV bound/available to me at first glance.

Phil

Also bear in mind that minshift is now only applicable to an equivalent OCP v3.x install. We’ve moved to Codespace Ready Containers (CRC) which is aligned to OCP 4.x
I also have a write up for the latter but it’s WIP and will have errors: https://www.linkedin.com/pulse/awx-901-scalable-execution-phil-griffiths

Hi, I tried to follow your procedure as described and getting the same error on my Windows 10 Pro system.:

The postgress pod is starting normally. However the other pods do not start Create Container Config Error and give the following error:
Error: failed to create subPath directory for volumeMount "awx-secret-key" of container "ansible-tower-management"

Any idea