You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created my molecule image and ran it in a podman container, but when I try to create the test instance with podman I get this error I ran the container with the volume /var/run/podman/podman.sock
could you please help me?
molecule create
`DEBUG Validating schema /podman/molecule/default/molecule.yml.
INFO default scenario test matrix: dependency, create, prepare
INFO Running default > dependency
WARNING Skipping, missing the requirements file.
WARNING Skipping, missing the requirements file.
INFO Running default > create
DEBUG Using selector: EpollSelector
INFO Sanity checks: 'podman'
DEBUG Using selector: EpollSelector
PLAY [Create] *************************************************************************************************************************************************************************************************
TASK [Log into a container registry] **************************************************************************************************************************************************************************
skipping: [localhost] => (item={'image': 'docker.io/pycontribs/centos:8', 'name': 'instance', 'pre_build_image': True})
I created my molecule image and ran it in a podman container, but when I try to create the test instance with podman I get this error I ran the container with the volume /var/run/podman/podman.sock could you please help me?
molecule create
`DEBUG Validating schema /podman/molecule/default/molecule.yml. INFO default scenario test matrix: dependency, create, prepare INFO Running default > dependency WARNING Skipping, missing the requirements file. WARNING Skipping, missing the requirements file. INFO Running default > create DEBUG Using selector: EpollSelector INFO Sanity checks: 'podman' DEBUG Using selector: EpollSelector
PLAY [Create] *************************************************************************************************************************************************************************************************
TASK [Log into a container registry] ************************************************************************************************************************************************************************** skipping: [localhost] => (item={'image': 'docker.io/pycontribs/centos:8', 'name': 'instance', 'pre_build_image': True})
molecule 3.2.0 using python 3.8
ansible:2.9.10
delegated:3.2.0 from molecule
docker:0.2.4 from molecule_docker
openstack:0.3 from molecule_openstack
podman:0.3.0 from molecule_podman
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I created my molecule image and ran it in a podman container, but when I try to create the test instance with podman I get this error I ran the container with the volume /var/run/podman/podman.sock
could you please help me?
`DEBUG Validating schema /podman/molecule/default/molecule.yml.
INFO default scenario test matrix: dependency, create, prepare
INFO Running default > dependency
WARNING Skipping, missing the requirements file.
WARNING Skipping, missing the requirements file.
INFO Running default > create
DEBUG Using selector: EpollSelector
INFO Sanity checks: 'podman'
DEBUG Using selector: EpollSelector
PLAY [Create] *************************************************************************************************************************************************************************************************
TASK [Log into a container registry] **************************************************************************************************************************************************************************
skipping: [localhost] => (item={'image': 'docker.io/pycontribs/centos:8', 'name': 'instance', 'pre_build_image': True})
TASK [Check presence of custom Dockerfiles] *******************************************************************************************************************************************************************
ok: [localhost] => (item={'image': 'docker.io/pycontribs/centos:8', 'name': 'instance', 'pre_build_image': True})
TASK [Create Dockerfiles from image names] ********************************************************************************************************************************************************************
skipping: [localhost] => (item={'image': 'docker.io/pycontribs/centos:8', 'name': 'instance', 'pre_build_image': True})
TASK [Discover local Podman images] ***************************************************************************************************************************************************************************
failed: [localhost] (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': {'image': 'docker.io/pycontribs/centos:8', 'name': 'instance', 'pre_build_image': True}, 'ansible_loop_var': 'item', 'i': 0, 'ansible_index_var': 'i'}) => {"ansible_loop_var": "item", "changed": false, "item": {"ansible_index_var": "i", "ansible_loop_var": "item", "changed": false, "i": 0, "item": {"image": "docker.io/pycontribs/centos:8", "name": "instance", "pre_build_image": true}, "skip_reason": "Conditional result was False", "skipped": true}, "msg": "Unable to gather info for 'molecule_local/instance': Error: could not find a working conmon binary (configured options: [/usr/libexec/podman/conmon /usr/local/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon /run/current-system/sw/bin/conmon]): invalid argument\n"}
PLAY RECAP ****************************************************************************************************************************************************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0
CRITICAL Ansible return code was 2, command was: ['ansible-playbook', '--inventory', '/root/.cache/molecule/podman/default/inventory', '--skip-tags', 'molecule-notest,notest', '/usr/local/lib/python3.8/site-packages/molecule_podman/playbooks/create.yml']
`
Beta Was this translation helpful? Give feedback.
All reactions