Skip to content

Instantly share code, notes, and snippets.

@ssbarnea
Last active July 28, 2021 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssbarnea/80941778d05dbd9060f6a446a8ca951c to your computer and use it in GitHub Desktop.
Save ssbarnea/80941778d05dbd9060f6a446a8ca951c to your computer and use it in GitHub Desktop.
TASK [Create podman network dedicated to this scenario] ***********************************************************************************
task path: /home/ssbarnea/c/molecule-podman/lib/molecule_podman/playbooks/create.yml:117
skipping: [localhost] => changed=false
skip_reason: Conditional result was False
TASK [Create molecule instance(s)] ********************************************************************************************************
task path: /home/ssbarnea/c/molecule-podman/lib/molecule_podman/playbooks/create.yml:127
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: ssbarnea
<127.0.0.1> EXEC /bin/sh -c 'echo ~ssbarnea && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/ssbarnea/.ansible/tmp `"&& mkdir /home/ssbarnea/.ansible/tmp/ansible-tmp-1627476688.7969828-16617-4321669770397 && echo ansible-tmp-1627476688.7969828-16617-4321669770397="` echo /home/ssbarnea/.ansible/tmp/ansible-tmp-1627476688.7969828-16617-4321669770397 `" ) && sleep 0'
Using module file /usr/lib/python3/dist-packages/ansible/modules/commands/command.py
<127.0.0.1> PUT /home/ssbarnea/.ansible/tmp/ansible-local-165463e64r2pn/tmpnqst949a TO /home/ssbarnea/.ansible/tmp/ansible-tmp-1627476688.7969828-16617-4321669770397/AnsiballZ_command.py
<127.0.0.1> PUT /home/ssbarnea/.ansible/tmp/ansible-local-165463e64r2pn/tmpc_ictohe TO /home/ssbarnea/.ansible/tmp/ansible-tmp-1627476688.7969828-16617-4321669770397/async_wrapper.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/ssbarnea/.ansible/tmp/ansible-tmp-1627476688.7969828-16617-4321669770397/ /home/ssbarnea/.ansible/tmp/ansible-tmp-1627476688.7969828-16617-4321669770397/AnsiballZ_command.py /home/ssbarnea/.ansible/tmp/ansible-tmp-1627476688.7969828-16617-4321669770397/async_wrapper.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'ANSIBLE_ASYNC_DIR='"'"'~/.ansible_async'"'"' /usr/bin/python3 /home/ssbarnea/.ansible/tmp/ansible-tmp-1627476688.7969828-16617-4321669770397/async_wrapper.py 229964349960 7200 /home/ssbarnea/.ansible/tmp/ansible-tmp-1627476688.7969828-16617-4321669770397/AnsiballZ_command.py _ && sleep 0'
changed: [localhost] => (item=centos8) => changed=true
ansible_job_id: '229964349960.16635'
ansible_loop_var: item
finished: 0
item:
image: quay.io/pycontribs/centos:stream8
name: centos8
pre_build_image: true
results_file: /home/ssbarnea/.ansible_async/229964349960.16635
started: 1
TASK [Wait for instance(s) creation to complete] ******************************************************************************************
task path: /home/ssbarnea/c/molecule-podman/lib/molecule_podman/playbooks/create.yml:164
Using module file /usr/lib/python3/dist-packages/ansible/modules/utilities/logic/async_status.py
Pipelining is enabled.
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: ssbarnea
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 && sleep 0'
FAILED - RETRYING: Wait for instance(s) creation to complete (300 retries left).Result was: changed=false
ansible_job_id: '229964349960.16635'
attempts: 1
finished: 0
invocation:
module_args:
_async_dir: /home/ssbarnea/.ansible_async
jid: '229964349960.16635'
mode: status
retries: 301
started: 1
Using module file /usr/lib/python3/dist-packages/ansible/modules/utilities/logic/async_status.py
Pipelining is enabled.
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 && sleep 0'
FAILED - RETRYING: Wait for instance(s) creation to complete (299 retries left).Result was: changed=false
ansible_job_id: '229964349960.16635'
attempts: 2
finished: 0
invocation:
module_args:
_async_dir: /home/ssbarnea/.ansible_async
jid: '229964349960.16635'
mode: status
retries: 301
started: 1
Using module file /usr/lib/python3/dist-packages/ansible/modules/utilities/logic/async_status.py
Pipelining is enabled.
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 && sleep 0'
changed: [localhost] => (item=centos8) => changed=true
ansible_job_id: '229964349960.16635'
ansible_loop_var: item
attempts: 3
cmd:
- podman
- run
- -d
- --name
- centos8
- --hostname=centos8
- quay.io/pycontribs/centos:stream8
- bash
- -c
- while true; do sleep 10000; done
delta: '0:00:07.377303'
end: '2021-07-28 12:51:37.055055'
finished: 1
invocation:
module_args:
_raw_params: |-
podman run -d --name "centos8" --hostname=centos8 quay.io/pycontribs/centos:stream8 bash -c "while true; do sleep 10000; done"
_uses_shell: false
argv: null
chdir: null
creates: null
executable: null
removes: null
stdin: null
stdin_add_newline: true
strip_empty_ends: true
warn: true
item:
ansible_job_id: '229964349960.16635'
ansible_loop_var: item
changed: true
failed: false
finished: 0
item:
image: quay.io/pycontribs/centos:stream8
name: centos8
pre_build_image: true
results_file: /home/ssbarnea/.ansible_async/229964349960.16635
started: 1
rc: 0
start: '2021-07-28 12:51:29.677752'
stderr: ''
stderr_lines: <omitted>
stdout: c434aba743dc8b3f03c852638df4a234cccc1e7d5322579dfa13cfbae97990c5
stdout_lines: <omitted>
META: ran handlers
META: ran handlers
ssbarnea@buntu: ~ master ⚡ $ podman inspect c434aba743dc8b3f03c852638df4a234cccc1e7d5322579dfa13cfbae97990c5 [12:52:36]
[
{
"Id": "c434aba743dc8b3f03c852638df4a234cccc1e7d5322579dfa13cfbae97990c5",
"Created": "2021-07-28T12:51:30.031785106Z",
"Path": "bash",
"Args": [
"-c",
"while true; do sleep 10000; done"
],
"State": {
"OciVersion": "1.0.2-dev",
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 16683,
"ConmonPid": 16680,
"ExitCode": 0,
"Error": "",
"StartedAt": "2021-07-28T12:51:37.040964036Z",
"FinishedAt": "0001-01-01T00:00:00Z",
"Healthcheck": {
"Status": "",
"FailingStreak": 0,
"Log": null
}
},
"Image": "bdfef131337f3138989c552e99b1f78554d792ea3d4d167d88702a3a5029c61d",
"ImageName": "quay.io/pycontribs/centos:stream8",
"Rootfs": "",
"Pod": "",
"ResolvConfPath": "/run/user/1008/containers/vfs-containers/c434aba743dc8b3f03c852638df4a234cccc1e7d5322579dfa13cfbae97990c5/userdata/resolv.conf",
"HostnamePath": "/run/user/1008/containers/vfs-containers/c434aba743dc8b3f03c852638df4a234cccc1e7d5322579dfa13cfbae97990c5/userdata/hostname",
"HostsPath": "/run/user/1008/containers/vfs-containers/c434aba743dc8b3f03c852638df4a234cccc1e7d5322579dfa13cfbae97990c5/userdata/hosts",
"StaticDir": "/home/ssbarnea/.local/share/containers/storage/vfs-containers/c434aba743dc8b3f03c852638df4a234cccc1e7d5322579dfa13cfbae97990c5/userdata",
"OCIConfigPath": "/home/ssbarnea/.local/share/containers/storage/vfs-containers/c434aba743dc8b3f03c852638df4a234cccc1e7d5322579dfa13cfbae97990c5/userdata/config.json",
"OCIRuntime": "crun",
"ConmonPidFile": "/run/user/1008/containers/vfs-containers/c434aba743dc8b3f03c852638df4a234cccc1e7d5322579dfa13cfbae97990c5/userdata/conmon.pid",
"Name": "centos8",
"RestartCount": 0,
"Driver": "vfs",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"EffectiveCaps": [
"CAP_CHOWN",
"CAP_DAC_OVERRIDE",
"CAP_FOWNER",
"CAP_FSETID",
"CAP_KILL",
"CAP_NET_BIND_SERVICE",
"CAP_SETFCAP",
"CAP_SETGID",
"CAP_SETPCAP",
"CAP_SETUID",
"CAP_SYS_CHROOT"
],
"BoundingCaps": [
"CAP_CHOWN",
"CAP_DAC_OVERRIDE",
"CAP_FOWNER",
"CAP_FSETID",
"CAP_KILL",
"CAP_NET_BIND_SERVICE",
"CAP_SETFCAP",
"CAP_SETGID",
"CAP_SETPCAP",
"CAP_SETUID",
"CAP_SYS_CHROOT"
],
"ExecIDs": [],
"GraphDriver": {
"Name": "vfs",
"Data": null
},
"Mounts": [],
"Dependencies": [],
"NetworkSettings": {
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "",
"Bridge": "",
"SandboxID": "",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "/run/user/1008/netns/cni-15c804a9-6fe9-e839-1258-a44f1bd99496"
},
"ExitCommand": [
"/usr/bin/podman",
"--root",
"/home/ssbarnea/.local/share/containers/storage",
"--runroot",
"/run/user/1008/containers",
"--log-level",
"warning",
"--cgroup-manager",
"cgroupfs",
"--tmpdir",
"/run/user/1008/libpod/tmp",
"--runtime",
"crun",
"--storage-driver",
"vfs",
"--events-backend",
"journald",
"container",
"cleanup",
"c434aba743dc8b3f03c852638df4a234cccc1e7d5322579dfa13cfbae97990c5"
],
"Namespace": "",
"IsInfra": false,
"Config": {
"Hostname": "centos8",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"TERM=xterm",
"container=oci",
"SHELL=/bin/bash",
"HOSTNAME=centos8",
"HOME=/root"
],
"Cmd": [
"bash",
"-c",
"while true; do sleep 10000; done"
],
"Image": "quay.io/pycontribs/centos:stream8",
"Volumes": null,
"WorkingDir": "/",
"Entrypoint": "",
"OnBuild": null,
"Labels": {
"architecture": "x86_64",
"build-date": "2020-12-10T01:59:40.343735",
"com.redhat.build-host": "cpt-1002.osbs.prod.upshift.rdu2.redhat.com",
"com.redhat.component": "centos-stream-container",
"com.redhat.license_terms": "https://centos.org/legal/licensing-policy/",
"description": "CentOS Stream is a continuously delivered distro that tracks just ahead of Red Hat Enterprise Linux development. This image takes the Red Hat UBI and layers on content from CentOS Stream",
"distribution-scope": "public",
"io.buildah.version": "1.19.2",
"io.k8s.description": "The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.",
"io.k8s.display-name": "CentOS Stream 8",
"io.openshift.expose-services": "",
"io.openshift.tags": "base centos centos-stream",
"maintainer": "PyContribs \u003cpycontribs@googlegroups.com\u003e",
"name": "centos-stream",
"release": "227",
"summary": "Provides a CentOS Stream container based on the Red Hat Universal Base Image",
"url": "https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8/images/8.3-227",
"vcs-ref": "3652f52021079930cba3bf90d27d9f191b18115b",
"vcs-type": "git",
"vendor": "Red Hat, Inc.",
"version": "8"
},
"Annotations": {
"io.container.manager": "libpod",
"io.kubernetes.cri-o.Created": "2021-07-28T12:51:30.031785106Z",
"io.kubernetes.cri-o.TTY": "false",
"io.podman.annotations.autoremove": "FALSE",
"io.podman.annotations.init": "FALSE",
"io.podman.annotations.privileged": "FALSE",
"io.podman.annotations.publish-all": "FALSE",
"org.opencontainers.image.stopSignal": "15"
},
"StopSignal": 15,
"CreateCommand": [
"podman",
"run",
"-d",
"--name",
"centos8",
"--hostname=centos8",
"quay.io/pycontribs/centos:stream8",
"bash",
"-c",
"while true; do sleep 10000; done"
],
"Umask": "0022"
},
"HostConfig": {
"Binds": [],
"CgroupManager": "cgroupfs",
"CgroupMode": "host",
"ContainerIDFile": "",
"LogConfig": {
"Type": "k8s-file",
"Config": null,
"Path": "/home/ssbarnea/.local/share/containers/storage/vfs-containers/c434aba743dc8b3f03c852638df4a234cccc1e7d5322579dfa13cfbae97990c5/userdata/ctr.log",
"Tag": "",
"Size": "0B"
},
"NetworkMode": "slirp4netns",
"PortBindings": {},
"RestartPolicy": {
"Name": "",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": [],
"CapDrop": [
"CAP_MKNOD",
"CAP_NET_RAW",
"CAP_AUDIT_WRITE"
],
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": [],
"GroupAdd": [],
"IpcMode": "private",
"Cgroup": "",
"Cgroups": "default",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "private",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": [],
"Tmpfs": {},
"UTSMode": "private",
"UsernsMode": "",
"ShmSize": 65536000,
"Runtime": "oci",
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": 0,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": [],
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"CgroupConf": null
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment