Playbook #1

/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
26 Oct 2023 19:36:23 +0000 00:45:02.10 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 8 9 1048 1048 53 1

Task result details

Field Value
changed
True
cmd
set -eo pipefail
kubeadm reset -f || true
kubeadm config images list
kubeadm config images list --image-repository service.ekscluster.kubeinit.local:5000
kubeadm config images list --kubernetes-version latest
delta
0:00:04.293643
end
2023-10-26 20:17:07.496232
invocation
{
    "module_args": {
        "_raw_params": "set -eo pipefail\nkubeadm reset -f || true\nkubeadm config images list\nkubeadm config images list --image-repository service.ekscluster.kubeinit.local:5000\nkubeadm config images list --kubernetes-version latest\n",
        "_uses_shell": true,
        "argv": null,
        "chdir": null,
        "creates": null,
        "executable": "/bin/bash",
        "removes": null,
        "stdin": null,
        "stdin_add_newline": true,
        "strip_empty_ends": true
    }
}
msg

rc
0
start
2023-10-26 20:17:03.202589
stderr
W1026 20:17:03.289052   62427 removeetcdmember.go:106] [reset] No kubeadm config, using etcd pod spec to get data directory
W1026 20:17:03.314389   62427 cleanupnode.go:134] [reset] Failed to evaluate the "/var/lib/kubelet" directory. Skipping its unmount and cleanup: lstat /var/lib/kubelet: no such file or directory
I1026 20:17:06.848102   62426 version.go:256] remote version is much newer: v1.29.0-alpha.2; falling back to: stable-1.28
stderr_lines
[
    "W1026 20:17:03.289052   62427 removeetcdmember.go:106] [reset] No kubeadm config, using etcd pod spec to get data directory",
    "W1026 20:17:03.314389   62427 cleanupnode.go:134] [reset] Failed to evaluate the \"/var/lib/kubelet\" directory. Skipping its unmount and cleanup: lstat /var/lib/kubelet: no such file or directory",
    "I1026 20:17:06.848102   62426 version.go:256] remote version is much newer: v1.29.0-alpha.2; falling back to: stable-1.28"
]
stdout
[preflight] Running pre-flight checks
[reset] Deleted contents of the etcd data directory: /var/lib/etcd
[reset] Stopping the kubelet service
[reset] Unmounting mounted directories in "/var/lib/kubelet"
[reset] Deleting contents of directories: [/etc/kubernetes/manifests /etc/kubernetes/pki]
[reset] Deleting files: [/etc/kubernetes/admin.conf /etc/kubernetes/kubelet.conf /etc/kubernetes/bootstrap-kubelet.conf /etc/kubernetes/controller-manager.conf /etc/kubernetes/scheduler.conf]

The reset process does not clean CNI configuration. To do so, you must remove /etc/cni/net.d

The reset process does not reset or clean up iptables rules or IPVS tables.
If you wish to reset iptables, you must do so manually by using the "iptables" command.

If your cluster was setup to utilize IPVS, run ipvsadm --clear (or similar)
to reset your system's IPVS tables.

The reset process does not clean your kubeconfig files and you must remove them manually.
Please, check the contents of the $HOME/.kube/config file.
registry.k8s.io/kube-apiserver:v1.28.3
registry.k8s.io/kube-controller-manager:v1.28.3
registry.k8s.io/kube-scheduler:v1.28.3
registry.k8s.io/kube-proxy:v1.28.3
registry.k8s.io/pause:3.9
registry.k8s.io/etcd:3.5.9-0
registry.k8s.io/coredns/coredns:v1.10.1
service.ekscluster.kubeinit.local:5000/kube-apiserver:v1.28.3
service.ekscluster.kubeinit.local:5000/kube-controller-manager:v1.28.3
service.ekscluster.kubeinit.local:5000/kube-scheduler:v1.28.3
service.ekscluster.kubeinit.local:5000/kube-proxy:v1.28.3
service.ekscluster.kubeinit.local:5000/pause:3.9
service.ekscluster.kubeinit.local:5000/etcd:3.5.9-0
service.ekscluster.kubeinit.local:5000/coredns:v1.10.1
registry.k8s.io/kube-apiserver:v1.28.3
registry.k8s.io/kube-controller-manager:v1.28.3
registry.k8s.io/kube-scheduler:v1.28.3
registry.k8s.io/kube-proxy:v1.28.3
registry.k8s.io/pause:3.9
registry.k8s.io/etcd:3.5.9-0
registry.k8s.io/coredns/coredns:v1.10.1
stdout_lines
[
    "[preflight] Running pre-flight checks",
    "[reset] Deleted contents of the etcd data directory: /var/lib/etcd",
    "[reset] Stopping the kubelet service",
    "[reset] Unmounting mounted directories in \"/var/lib/kubelet\"",
    "[reset] Deleting contents of directories: [/etc/kubernetes/manifests /etc/kubernetes/pki]",
    "[reset] Deleting files: [/etc/kubernetes/admin.conf /etc/kubernetes/kubelet.conf /etc/kubernetes/bootstrap-kubelet.conf /etc/kubernetes/controller-manager.conf /etc/kubernetes/scheduler.conf]",
    "",
    "The reset process does not clean CNI configuration. To do so, you must remove /etc/cni/net.d",
    "",
    "The reset process does not reset or clean up iptables rules or IPVS tables.",
    "If you wish to reset iptables, you must do so manually by using the \"iptables\" command.",
    "",
    "If your cluster was setup to utilize IPVS, run ipvsadm --clear (or similar)",
    "to reset your system's IPVS tables.",
    "",
    "The reset process does not clean your kubeconfig files and you must remove them manually.",
    "Please, check the contents of the $HOME/.kube/config file.",
    "registry.k8s.io/kube-apiserver:v1.28.3",
    "registry.k8s.io/kube-controller-manager:v1.28.3",
    "registry.k8s.io/kube-scheduler:v1.28.3",
    "registry.k8s.io/kube-proxy:v1.28.3",
    "registry.k8s.io/pause:3.9",
    "registry.k8s.io/etcd:3.5.9-0",
    "registry.k8s.io/coredns/coredns:v1.10.1",
    "service.ekscluster.kubeinit.local:5000/kube-apiserver:v1.28.3",
    "service.ekscluster.kubeinit.local:5000/kube-controller-manager:v1.28.3",
    "service.ekscluster.kubeinit.local:5000/kube-scheduler:v1.28.3",
    "service.ekscluster.kubeinit.local:5000/kube-proxy:v1.28.3",
    "service.ekscluster.kubeinit.local:5000/pause:3.9",
    "service.ekscluster.kubeinit.local:5000/etcd:3.5.9-0",
    "service.ekscluster.kubeinit.local:5000/coredns:v1.10.1",
    "registry.k8s.io/kube-apiserver:v1.28.3",
    "registry.k8s.io/kube-controller-manager:v1.28.3",
    "registry.k8s.io/kube-scheduler:v1.28.3",
    "registry.k8s.io/kube-proxy:v1.28.3",
    "registry.k8s.io/pause:3.9",
    "registry.k8s.io/etcd:3.5.9-0",
    "registry.k8s.io/coredns/coredns:v1.10.1"
]