Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brianmillett opened this issue Nov 8, 2020 · 1 comment

Comments

@brianmillett
Copy link

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

@357up
Copy link

357up commented Nov 30, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants