Bug 1565023

Summary: node role is removed after enabling Azure Cloud Provider
Product: OpenShift Container Platform Reporter: Takayoshi Tanaka <tatanaka>
Component: DocumentationAssignee: Vikram Goyal <vigoyal>
Status: CLOSED DEFERRED QA Contact: Vikram Goyal <vigoyal>
Severity: unspecified Docs Contact: Vikram Goyal <vigoyal>
Priority: unspecified    
Version: 3.9.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
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: 2019-11-21 12:49:18 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:
Embargoed:

Description Takayoshi Tanaka 2018-04-09 07:40:51 UTC
Document URL: 
https://docs.openshift.com/container-platform/3.9/install_config/configuring_azure.html


Section Number and Name: 
Applying Configuration Changes

Describe the issue: 
When enabling Azure Cloud provider by following the document [1], node role is removed. To ensure the proper scheduling, a manual step is required.

Suggestions for improvement: 
Add the following command to the document.

$ oc label node <master_node_name> node-role.kubernetes.io/master=true
$ oc label node <node_name> node-role.kubernetes.io/compute=true


Additional information: 

We can see the node role before enabling Azure Cloud provider.
$ oc describe node <node_name>
Name:               <node_name>
Roles:              master
Labels:             beta.kubernetes.io/arch=amd64
...

After restarting the node service to enable Azure cloud provider [2], Roles is none.

$ oc describe node <node_name>
Name:               <node_name>
Roles:              <none>

Since some buildconfigs or deploymentconfigs depends on this label, we have to recover the label manually.

Comment 1 Stephen Cuppett 2019-11-21 12:49:18 UTC
OCP 3.6-3.10 is no longer on full support [1]. Marking un-triaged bugs CLOSED DEFERRED. If you have a customer case with a support exception or have reproduced on 3.11+, please reopen and include those details. When reopening, please set the Version to the appropriate version where reproduced.

[1]: https://access.redhat.com/support/policy/updates/openshift