Playbook #2

/root/kubeinit/ci/builds/6mbKNrxD/0/kubeinit/kubeinit/kubeinit-aux/kubeinit/playbook.yml

Report Status CLI Date Duration Controller User Versions Hosts Plays Tasks Results Files Records
31 Oct 2023 00:16:40 +0000 00:02:09.96 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 2 6 348 347 23 1

Task result details

Field Value
changed
False
msg
All items completed
results

Result #1

Field Value
ansible_facts
{
    "orphaned_cluster_pods": [
        [
            "service",
            {
                "CgroupParent": "machine.slice",
                "CgroupPath": "machine.slice/machine-libpod_pod_f165a15d5c39d0164a0a2ea0dcf543a45069c32dd58f6683f450221f6373fafd.slice",
                "Containers": [
                    {
                        "Id": "1134a04ddd4783fdbc922710b508caa7e40497259b27f61cbf2c9552dfb408b9",
                        "Name": "okdcluster-apache",
                        "State": "running"
                    },
                    {
                        "Id": "1c4e8bb2de2fc58f1e29f2c3be4b95b74c9cd15c94065f68c7f8dae32d4fccea",
                        "Name": "okdcluster-dnsmasq",
                        "State": "running"
                    },
                    {
                        "Id": "1cf903cd20bf2a4258e65ad6b4df757c47d42c628f5058125b8d835cb2c95bee",
                        "Name": "okdcluster-provision",
                        "State": "running"
                    },
                    {
                        "Id": "3fba7db2d288e292142aab6dbae68aa4cb70658cf8b5932568396f7003160371",
                        "Name": "okdcluster-haproxy",
                        "State": "running"
                    },
                    {
                        "Id": "640305d1555325010f17dd01e489251d5cf084bc8e809e2d586b478560004ab3",
                        "Name": "okdcluster-registry",
                        "State": "running"
                    },
                    {
                        "Id": "8352a66d3c4d8a12800df9cf85bf572d6df4c12fc51417083825b522b0cdb95e",
                        "Name": "okdcluster-bind",
                        "State": "running"
                    },
                    {
                        "Id": "bd41d73b919e857723657615688c1c7a5823e83776a00c954804b90df73cdb37",
                        "Name": "f165a15d5c39-infra",
                        "State": "running"
                    }
                ],
                "CreateCgroup": true,
                "CreateCommand": [
                    "podman",
                    "pod",
                    "create",
                    "--name",
                    "okdcluster-service-pod",
                    "--network",
                    "okdcluster-service-bridge",
                    "--hostname",
                    "service.okdcluster.kubeinit.local",
                    "--dns",
                    "10.0.0.253",
                    "--dns",
                    "10.11.5.160",
                    "--dns-search",
                    "okdcluster.kubeinit.local"
                ],
                "CreateInfra": true,
                "Created": "2023-10-31T02:05:27.316225371+02:00",
                "ExitPolicy": "continue",
                "Hostname": "service.okdcluster.kubeinit.local",
                "Id": "f165a15d5c39d0164a0a2ea0dcf543a45069c32dd58f6683f450221f6373fafd",
                "InfraConfig": {
                    "DNSOption": null,
                    "DNSSearch": [
                        "okdcluster.kubeinit.local"
                    ],
                    "DNSServer": [
                        "10.0.0.253",
                        "10.11.5.160"
                    ],
                    "HostAdd": null,
                    "HostNetwork": false,
                    "NetworkOptions": null,
                    "Networks": [
                        "okdcluster-service-bridge"
                    ],
                    "NoManageHosts": false,
                    "NoManageResolvConf": false,
                    "PortBindings": {},
                    "StaticIP": "",
                    "StaticMAC": "",
                    "pid_ns": "private",
                    "userns": "host",
                    "uts_ns": "private"
                },
                "InfraContainerID": "bd41d73b919e857723657615688c1c7a5823e83776a00c954804b90df73cdb37",
                "Name": "okdcluster-service-pod",
                "NumContainers": 7,
                "SharedNamespaces": [
                    "ipc",
                    "net",
                    "uts"
                ],
                "State": "Running"
            }
        ]
    ]
}
ansible_loop_var
orphaned_pod
changed
False
failed
False
orphaned_pod
[
    "service",
    {
        "CgroupParent": "machine.slice",
        "CgroupPath": "machine.slice/machine-libpod_pod_f165a15d5c39d0164a0a2ea0dcf543a45069c32dd58f6683f450221f6373fafd.slice",
        "Containers": [
            {
                "Id": "1134a04ddd4783fdbc922710b508caa7e40497259b27f61cbf2c9552dfb408b9",
                "Name": "okdcluster-apache",
                "State": "running"
            },
            {
                "Id": "1c4e8bb2de2fc58f1e29f2c3be4b95b74c9cd15c94065f68c7f8dae32d4fccea",
                "Name": "okdcluster-dnsmasq",
                "State": "running"
            },
            {
                "Id": "1cf903cd20bf2a4258e65ad6b4df757c47d42c628f5058125b8d835cb2c95bee",
                "Name": "okdcluster-provision",
                "State": "running"
            },
            {
                "Id": "3fba7db2d288e292142aab6dbae68aa4cb70658cf8b5932568396f7003160371",
                "Name": "okdcluster-haproxy",
                "State": "running"
            },
            {
                "Id": "640305d1555325010f17dd01e489251d5cf084bc8e809e2d586b478560004ab3",
                "Name": "okdcluster-registry",
                "State": "running"
            },
            {
                "Id": "8352a66d3c4d8a12800df9cf85bf572d6df4c12fc51417083825b522b0cdb95e",
                "Name": "okdcluster-bind",
                "State": "running"
            },
            {
                "Id": "bd41d73b919e857723657615688c1c7a5823e83776a00c954804b90df73cdb37",
                "Name": "f165a15d5c39-infra",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "okdcluster-service-pod",
            "--network",
            "okdcluster-service-bridge",
            "--hostname",
            "service.okdcluster.kubeinit.local",
            "--dns",
            "10.0.0.253",
            "--dns",
            "10.11.5.160",
            "--dns-search",
            "okdcluster.kubeinit.local"
        ],
        "CreateInfra": true,
        "Created": "2023-10-31T02:05:27.316225371+02:00",
        "ExitPolicy": "continue",
        "Hostname": "service.okdcluster.kubeinit.local",
        "Id": "f165a15d5c39d0164a0a2ea0dcf543a45069c32dd58f6683f450221f6373fafd",
        "InfraConfig": {
            "DNSOption": null,
            "DNSSearch": [
                "okdcluster.kubeinit.local"
            ],
            "DNSServer": [
                "10.0.0.253",
                "10.11.5.160"
            ],
            "HostAdd": null,
            "HostNetwork": false,
            "NetworkOptions": null,
            "Networks": [
                "okdcluster-service-bridge"
            ],
            "NoManageHosts": false,
            "NoManageResolvConf": false,
            "PortBindings": {},
            "StaticIP": "",
            "StaticMAC": "",
            "pid_ns": "private",
            "userns": "host",
            "uts_ns": "private"
        },
        "InfraContainerID": "bd41d73b919e857723657615688c1c7a5823e83776a00c954804b90df73cdb37",
        "Name": "okdcluster-service-pod",
        "NumContainers": 7,
        "SharedNamespaces": [
            "ipc",
            "net",
            "uts"
        ],
        "State": "Running"
    }
]



Result #2

Field Value
ansible_loop_var
orphaned_pod
changed
False
false_condition
pod_name == pod.Name
orphaned_pod
[
    "service",
    {
        "CgroupParent": "machine.slice",
        "CgroupPath": "machine.slice/machine-libpod_pod_fdfd8cc6b075295c535d85dccdd7098466080fd6b05720d100da69aeb262e5d7.slice",
        "Containers": [
            {
                "Id": "4f148041f695eeb20602da737eccff1a6ab2e238844b99ffc8a4a89c67b3715d",
                "Name": "fdfd8cc6b075-infra",
                "State": "running"
            },
            {
                "Id": "964b81bbc809a5d41ddb98189a2afaa1e8a1a2186fc01898c6dea43ab8e23955",
                "Name": "api-server",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "ara-pod",
            "--publish",
            "26973:8000"
        ],
        "CreateInfra": true,
        "Created": "2023-10-31T02:02:25.471171733+02:00",
        "ExitPolicy": "continue",
        "Hostname": "",
        "Id": "fdfd8cc6b075295c535d85dccdd7098466080fd6b05720d100da69aeb262e5d7",
        "InfraConfig": {
            "DNSOption": null,
            "DNSSearch": null,
            "DNSServer": null,
            "HostAdd": null,
            "HostNetwork": false,
            "NetworkOptions": null,
            "Networks": [
                "podman"
            ],
            "NoManageHosts": false,
            "NoManageResolvConf": false,
            "PortBindings": {
                "8000/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "26973"
                    }
                ]
            },
            "StaticIP": "",
            "StaticMAC": "",
            "pid_ns": "private",
            "userns": "host",
            "uts_ns": "private"
        },
        "InfraContainerID": "4f148041f695eeb20602da737eccff1a6ab2e238844b99ffc8a4a89c67b3715d",
        "Name": "ara-pod",
        "NumContainers": 2,
        "SharedNamespaces": [
            "uts",
            "ipc",
            "net"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True



Result #3

Field Value
ansible_loop_var
orphaned_pod
changed
False
false_condition
pod_name == pod.Name
orphaned_pod
[
    "service",
    {
        "CgroupParent": "machine.slice",
        "CgroupPath": "machine.slice/machine-libpod_pod_d7a320c6ff26a986f84551d0f67128d288a8eceb1836bd71c3a31456d301c7b9.slice",
        "Containers": [
            {
                "Id": "3b86563a1c59c93dd0b25c90e292048fc1f6066bdf9ab0607016bff2c7e37c9e",
                "Name": "k8scluster-registry",
                "State": "running"
            },
            {
                "Id": "6b1d5e73b23c1972f76f1abf7cc6584fa9bee48d3c732bf5c228744941f486b1",
                "Name": "d7a320c6ff26-infra",
                "State": "running"
            },
            {
                "Id": "96365cbf0d9c1ffc32e6c7d5d7e7cd0f3432fd0199150101a9a8c9f5658f7699",
                "Name": "k8scluster-apache",
                "State": "running"
            },
            {
                "Id": "b3ba4bb4941f2c206fdf04cbd39c716e3b1da36a1f06883ad2d15013f7f6e2bc",
                "Name": "k8scluster-provision",
                "State": "running"
            },
            {
                "Id": "b53f50fad6a08a85599b3eb9ca5936c306e143f56b3e7fd548bbc8b715347846",
                "Name": "k8scluster-bind",
                "State": "running"
            },
            {
                "Id": "e9bc3295e5f7bb163f7f4e63e8e09a9244cfdf30953241d40ce056a137537a29",
                "Name": "k8scluster-haproxy",
                "State": "running"
            },
            {
                "Id": "f3334d0dbd7276942786d3287df77ff221aaf578fe4015c5d9b1d9a58df24016",
                "Name": "k8scluster-dnsmasq",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "k8scluster-service-pod",
            "--network",
            "k8scluster-service-bridge",
            "--hostname",
            "service.k8scluster.kubeinit.local",
            "--dns",
            "10.0.0.253",
            "--dns",
            "10.11.5.160",
            "--dns-search",
            "k8scluster.kubeinit.local"
        ],
        "CreateInfra": true,
        "Created": "2023-10-30T10:04:27.788591934+02:00",
        "ExitPolicy": "continue",
        "Hostname": "service.k8scluster.kubeinit.local",
        "Id": "d7a320c6ff26a986f84551d0f67128d288a8eceb1836bd71c3a31456d301c7b9",
        "InfraConfig": {
            "DNSOption": null,
            "DNSSearch": [
                "k8scluster.kubeinit.local"
            ],
            "DNSServer": [
                "10.0.0.253",
                "10.11.5.160"
            ],
            "HostAdd": null,
            "HostNetwork": false,
            "NetworkOptions": null,
            "Networks": [
                "k8scluster-service-bridge"
            ],
            "NoManageHosts": false,
            "NoManageResolvConf": false,
            "PortBindings": {},
            "StaticIP": "",
            "StaticMAC": "",
            "pid_ns": "private",
            "userns": "host",
            "uts_ns": "private"
        },
        "InfraContainerID": "6b1d5e73b23c1972f76f1abf7cc6584fa9bee48d3c732bf5c228744941f486b1",
        "Name": "k8scluster-service-pod",
        "NumContainers": 7,
        "SharedNamespaces": [
            "ipc",
            "net",
            "uts"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True