Bug 1383630

Summary: [ocp-on-osp] Master nodes are marked as schedulable after scaling up/down nodes
Product: OpenShift Container Platform Reporter: Gan Huang <ghuang>
Component: InstallerAssignee: Jan Provaznik <jprovazn>
Status: CLOSED CURRENTRELEASE QA Contact: Gan Huang <ghuang>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.0CC: aos-bugs, jokerman, jprovazn, mmccomas
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-20 08:39:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Gan Huang 2016-10-11 09:51:53 UTC
Description of problem:
Master nodes are marked as schedulable after a node is added
Upstream issue: https://github.com/redhat-openstack/openshift-on-openstack/issues/214

Version-Release number of selected component (if applicable):
openshift-on-openstack v0.9.1

How reproducible:
100%

Steps to Reproduce:
1.Creat a stack
2.Scale up a node
3.Scale down a node

Actual results:
1 > Master nodes are marked SchedulingDisabled
2 > Master nodes are marked Scheduling
3 > Master nodes are marked Scheduling

Expected results:
2 > Master nodes are marked SchedulingDisabled
3.> Master nodes are marked SchedulingDisabled

Additional info:
We'd better set "--schedulable=false" for master nodes in inventory file directly instead of writing a separate task.

Comment 1 Jan Provaznik 2016-10-11 12:50:09 UTC
Fixed in this PR:
https://github.com/redhat-openstack/openshift-on-openstack/pull/272

Comment 2 Jan Provaznik 2016-10-12 12:21:10 UTC
fixed in 0.9.2

Comment 3 Gan Huang 2016-10-18 01:33:42 UTC
Verified with v0.9.2

Masters are marked SchedulingDisabled when scaling up/down.