Playbook #2

/root/kubeinit/ci/builds/bsU8uCNn/0/kubeinit/kubeinit/kubeinit-aux/kubeinit/playbook.yml

Report Status CLI Date Duration Controller User Versions Hosts Plays Tasks Results Files Records
05 May 2024 06:23:40 +0000 00:03:18.49 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 3 6 348 406 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_6354ce6c980431903b7976e7834aaf24a3472e22e00c35284863c0f0f543c1cf.slice",
                "Containers": [
                    {
                        "Id": "27d916dce28891b091626efc7cf809b6074586695c1ab59a639c492d25bfe254",
                        "Name": "okdcluster-apache",
                        "State": "running"
                    },
                    {
                        "Id": "2bef31311bfb868d05db0ac330ec34da775de61a320f8103f784706f1078e892",
                        "Name": "okdcluster-bind",
                        "State": "running"
                    },
                    {
                        "Id": "c558a31f4b095ac05f3766f80834adf8d3e122ceba97d2ab52b5c423b046e248",
                        "Name": "okdcluster-haproxy",
                        "State": "running"
                    },
                    {
                        "Id": "d4d4684f56363f65578a5844daad7ab72f1ea31dca07dc31a5a02c3b81eb7586",
                        "Name": "okdcluster-dnsmasq",
                        "State": "running"
                    },
                    {
                        "Id": "d6f8ad303d20a6006a440dd2dca1eb9808fba01954f631cf0b8d5164d3eb58ca",
                        "Name": "okdcluster-registry",
                        "State": "running"
                    },
                    {
                        "Id": "e650545951d6b89329f4fd2f2e557fe87ef58028f9271249e5dc663250eb8f9c",
                        "Name": "6354ce6c9804-infra",
                        "State": "running"
                    },
                    {
                        "Id": "edbae0236a14ea6267bc920c80af6b92b53c8802c33fddf2576452bad7b6e86b",
                        "Name": "okdcluster-provision",
                        "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": "2024-05-05T09:06:17.676138188+03:00",
                "ExitPolicy": "continue",
                "Hostname": "service.okdcluster.kubeinit.local",
                "Id": "6354ce6c980431903b7976e7834aaf24a3472e22e00c35284863c0f0f543c1cf",
                "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": "e650545951d6b89329f4fd2f2e557fe87ef58028f9271249e5dc663250eb8f9c",
                "Name": "okdcluster-service-pod",
                "NumContainers": 7,
                "SharedNamespaces": [
                    "uts",
                    "ipc",
                    "net"
                ],
                "State": "Running"
            }
        ]
    ]
}
ansible_loop_var
orphaned_pod
changed
False
failed
False
orphaned_pod
[
    "service",
    {
        "CgroupParent": "machine.slice",
        "CgroupPath": "machine.slice/machine-libpod_pod_6354ce6c980431903b7976e7834aaf24a3472e22e00c35284863c0f0f543c1cf.slice",
        "Containers": [
            {
                "Id": "27d916dce28891b091626efc7cf809b6074586695c1ab59a639c492d25bfe254",
                "Name": "okdcluster-apache",
                "State": "running"
            },
            {
                "Id": "2bef31311bfb868d05db0ac330ec34da775de61a320f8103f784706f1078e892",
                "Name": "okdcluster-bind",
                "State": "running"
            },
            {
                "Id": "c558a31f4b095ac05f3766f80834adf8d3e122ceba97d2ab52b5c423b046e248",
                "Name": "okdcluster-haproxy",
                "State": "running"
            },
            {
                "Id": "d4d4684f56363f65578a5844daad7ab72f1ea31dca07dc31a5a02c3b81eb7586",
                "Name": "okdcluster-dnsmasq",
                "State": "running"
            },
            {
                "Id": "d6f8ad303d20a6006a440dd2dca1eb9808fba01954f631cf0b8d5164d3eb58ca",
                "Name": "okdcluster-registry",
                "State": "running"
            },
            {
                "Id": "e650545951d6b89329f4fd2f2e557fe87ef58028f9271249e5dc663250eb8f9c",
                "Name": "6354ce6c9804-infra",
                "State": "running"
            },
            {
                "Id": "edbae0236a14ea6267bc920c80af6b92b53c8802c33fddf2576452bad7b6e86b",
                "Name": "okdcluster-provision",
                "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": "2024-05-05T09:06:17.676138188+03:00",
        "ExitPolicy": "continue",
        "Hostname": "service.okdcluster.kubeinit.local",
        "Id": "6354ce6c980431903b7976e7834aaf24a3472e22e00c35284863c0f0f543c1cf",
        "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": "e650545951d6b89329f4fd2f2e557fe87ef58028f9271249e5dc663250eb8f9c",
        "Name": "okdcluster-service-pod",
        "NumContainers": 7,
        "SharedNamespaces": [
            "uts",
            "ipc",
            "net"
        ],
        "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_4232460c0f25dc6e80cea8c5673114d53b95f5d75af69a5b182b3abc1862adf0.slice",
        "Containers": [
            {
                "Id": "39c6caa5c803f8898b1a7f48d45e50392dede74d2240c99ce530cb2b5f8a8bd2",
                "Name": "api-server",
                "State": "running"
            },
            {
                "Id": "a987bec7c93f5adc78e12f8a5e895d6e94e2c0237bc4ac41d7257f50055833c9",
                "Name": "4232460c0f25-infra",
                "State": "running"
            }
        ],
        "CreateCgroup": true,
        "CreateCommand": [
            "podman",
            "pod",
            "create",
            "--name",
            "ara-pod",
            "--publish",
            "26973:8000"
        ],
        "CreateInfra": true,
        "Created": "2024-05-05T09:02:14.198481697+03:00",
        "ExitPolicy": "continue",
        "Hostname": "",
        "Id": "4232460c0f25dc6e80cea8c5673114d53b95f5d75af69a5b182b3abc1862adf0",
        "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": "a987bec7c93f5adc78e12f8a5e895d6e94e2c0237bc4ac41d7257f50055833c9",
        "Name": "ara-pod",
        "NumContainers": 2,
        "SharedNamespaces": [
            "ipc",
            "net",
            "uts"
        ],
        "State": "Running"
    }
]
skip_reason
Conditional result was False
skipped
True