You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the installation we set schedulability using oc adm manage-node ip-1-2-3-4.ec2.internal --schedulable=false --config=/tmp/openshift-ansible-zx84bD/admin.kubeconfig -n default. On a cluster of 8 nodes this is happening frequently enough that the majority of the installations will have at least one node that fails to set schedulability.
Version
OCP v3.4.0.39 and v3.3.1.9
Steps To Reproduce
Perform an ansible based installation with several nodes, 8+
Current Result
Tasks that set node schedulability frequently have at least one node that fails with an error.
TASK [openshift_manage_node : Set node schedulability] *************************
changed: [1.2.3.4 -> 1.2.3.10]
changed: [1.2.3.5 -> 1.2.3.10]
changed: [1.2.3.6 -> 1.2.3.10]
changed: [1.2.3.7 -> 1.2.3.10]
changed: [1.2.3.8 -> 1.2.3.10]
changed: [1.2.3.9 -> 1.2.3.10]
fatal: [1.2.3.10 -> 1.2.3.10]: FAILED! => {"changed": true, "cmd": ["oc", "adm", "manage-node", "ip-1-2-3-10.ec2.internal", "--schedulable=false", "--config=/tmp/openshift-ansible-zx84bD/admin.kubeconfig", "-n", "default"], "delta": "0:00:05.617827", "end": "2017-01-17 14:29:02.233557", "failed": true, "rc": 1, "start": "2017-01-17 14:28:56.615730", "stderr": "Error from server: Operation cannot be fulfilled on nodes \"ip-1-2-3-10.ec2.internal\": the object has been modified; please apply your changes to the latest version and try again", "stdout": "", "stdout_lines": [], "warnings": []}
changed: [1.2.3.11 -> 1.2.3.10]
@fabianofranz No, I probably won't have time to do that, but the concept makes sense to me and seems to be what @deads2k believes to be the culprit. Can you verify that this isn't a problem for oc label as well and open PRs against enterprise-3.4 and enterprise-3.3?
During the installation we set schedulability using
oc adm manage-node ip-1-2-3-4.ec2.internal --schedulable=false --config=/tmp/openshift-ansible-zx84bD/admin.kubeconfig -n default
. On a cluster of 8 nodes this is happening frequently enough that the majority of the installations will have at least one node that fails to set schedulability.Version
OCP v3.4.0.39 and v3.3.1.9
Steps To Reproduce
Current Result
Tasks that set node schedulability frequently have at least one node that fails with an error.
Expected Result
Schedulability set reliably.
I believe this has also been observed when setting labels on nodes. see openshift/openshift-ansible#1934
The text was updated successfully, but these errors were encountered: