awx_pod icon indicating copy to clipboard operation
awx_pod copied to clipboard

Error: /home/awx/SECRET_FILE:/etc/tower/SECRET_KEY:z:ro: incorrect volume forma, awx_pod version 15.0.1

Open brianmillett opened this issue 4 years ago • 1 comments

Cloned the latest (20201108) of awx_pod & podman-container-systemd.

Using as run-awx.yml BEGIN

  • name: run AWX on host hosts: all tasks:
    • name: import awx_pod role to install it all vars: awx_admin_user: XXXX awx_admin_password: YYYY awx_podman_dir: /home/awx awx_awx_version: 15.0.1 awx_host_port: 81 container_state: running import_role: name: awx_pod __END

Installation works just fine, however I can not get it to start due the following error:

$ sudo /usr/bin/podman play kube /etc/containers/pods/awx.yaml Error: /home/awx/SECRET_FILE:/etc/tower/SECRET_KEY:z:ro: incorrect volume format, should be [host-dir:]ctr-dir[:option]

It looks like it should work, but at a lose right now

brianmillett avatar Nov 08 '20 22:11 brianmillett

Removing :z flag from all files (not folders) in /etc/containers/pods/awx.yaml file fixed that error for me.

357up avatar Nov 30 '20 14:11 357up