Description of problem: The SchedulingDisabled nodes are schedulable after upgrade. By default, all nodes with masters are SchedulingDisabled after installation. Version-Release number of selected component (if applicable): atomic-openshift-utils-3.3.20-1.git.0.d15a8dc.el7.noarch How reproducible: always Steps to Reproduce: 1. install two nodes OSE 3.2 and check node status. [root@anli-working host6]# oc get nodes NAME STATUS AGE host6master.example.com Ready,SchedulingDisabled 41d host6node.example.com Ready 41d 2. upgrade to OCP 3.3. and check node status. [root@anli-working host6]# oc get nodes NAME STATUS AGE host6master.example.com Ready 41d host6node.example.com Ready 41d Actual results: Expected results: The node schedule status is same as before. Additional info:
Hi Anping, We weren't able to reproduce the scenario you've described, where the master was set to schedulable when it wasn't prior to the upgrade. Can you share your inventory? The only way I can think that you'd get the results you got is if the master had openshift_schedulable=true in the inventory but then was manually set unschedulable befor the upgrade. Regardless, I think the previous behavior could have left an environment in "correct" but unexpected state where everything is reset to the values in the inventory rather than how things were prior to upgrading. Because of this we've implemented a change that records the node's schedulability prior to the upgrade process and will restore the node to that state after the upgrade ignoring what was in the inventory. I think this is ultimately the right thing to do even if it's not strictly doing what's defined in the inventory. https://github.com/openshift/openshift-ansible/pull/2406 What do you think?
Scott, The fix works well. yes, for upgrade, it is better to follow the rule Only modify which must be modified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1933