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
23 Oct 2023 16:02:14 +0000 00:22:08.95 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 6 6 874 874 53 1

Task result details

Field Value
changed
True
cmd
set -o pipefail
for node in $(kubectl get nodes -o json | jq -r '.items[] | select(.spec.taints[]?.key=="node-role.kubernetes.io/controlplane") | .metadata.labels."kubernetes.io/hostname"');
do
  kubectl taint node ${node} node-role.kubernetes.io/controlplane:NoSchedule-
  kubectl taint node ${node} node-role.kubernetes.io/etcd:NoExecute-
done
delta
0:00:00.379215
end
2023-10-23 16:24:00.044368
invocation
{
    "module_args": {
        "_raw_params": "set -o pipefail\nfor node in $(kubectl get nodes -o json | jq -r '.items[] | select(.spec.taints[]?.key==\"node-role.kubernetes.io/controlplane\") | .metadata.labels.\"kubernetes.io/hostname\"');\ndo\n  kubectl taint node ${node} node-role.kubernetes.io/controlplane:NoSchedule-\n  kubectl taint node ${node} node-role.kubernetes.io/etcd:NoExecute-\ndone\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-23 16:23:59.665153
stderr
E1023 16:23:59.761616    3282 memcache.go:287] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1023 16:23:59.766146    3282 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1023 16:23:59.773956    3282 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1023 16:23:59.777943    3282 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1023 16:23:59.873837    3320 memcache.go:287] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1023 16:23:59.875372    3320 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1023 16:23:59.879284    3320 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1023 16:23:59.886100    3320 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1023 16:23:59.889135    3320 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1023 16:24:00.004917    3358 memcache.go:287] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1023 16:24:00.010340    3358 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1023 16:24:00.012822    3358 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1023 16:24:00.018093    3358 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1023 16:24:00.021811    3358 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
stderr_lines
[
    "E1023 16:23:59.761616    3282 memcache.go:287] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request",
    "E1023 16:23:59.766146    3282 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request",
    "E1023 16:23:59.773956    3282 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request",
    "E1023 16:23:59.777943    3282 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request",
    "E1023 16:23:59.873837    3320 memcache.go:287] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request",
    "E1023 16:23:59.875372    3320 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request",
    "E1023 16:23:59.879284    3320 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request",
    "E1023 16:23:59.886100    3320 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request",
    "E1023 16:23:59.889135    3320 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request",
    "E1023 16:24:00.004917    3358 memcache.go:287] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request",
    "E1023 16:24:00.010340    3358 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request",
    "E1023 16:24:00.012822    3358 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request",
    "E1023 16:24:00.018093    3358 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request",
    "E1023 16:24:00.021811    3358 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request"
]
stdout
node/controller-01 untainted
node/controller-01 untainted
stdout_lines
[
    "node/controller-01 untainted",
    "node/controller-01 untainted"
]