Bug 1365450

Summary: The change of network plugin cannot take effect after updated 'networkPluginName' in master config file
Product: OpenShift Container Platform Reporter: zhaozhanqi <zzhao>
Component: NetworkingAssignee: Ravi Sankar <rpenta>
Status: CLOSED ERRATA QA Contact: Meng Bo <bmeng>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.0CC: aos-bugs, bbennett, rpenta, tdawson, wmeng
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-27 09:43:06 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 zhaozhanqi 2016-08-09 09:53:12 UTC
Description of problem:
field 'networkPluginName' in master-config.yaml did not take effect when updated

Version-Release number of selected component (if applicable):
oc v3.3.0.17
kubernetes v1.3.0+507d3a7
features: Basic-Auth GSSAPI Kerberos SPNEGO

openshift v3.3.0.17
kubernetes v1.3.0+507d3a7


How reproducible:
always

Steps to Reproduce:
1. install a ose env with redhat/openshift-ovs-subnet plugin using ansilbe
2. update the network plugin to 'redhat/openshift-ovs-multitenant' in master-config.yaml
   ***snip***
  networkConfig:
  clusterNetworkCIDR: 10.2.0.0/16
  hostSubnetLength: 8
  networkPluginName: redhat/openshift-ovs-multitenant
  *****snip ****
3. restart master service
  systemctl restart atomic-openshift-master
4. check the currnet the networkplugin
   oc get clusternetwork

Actual results:

step 4. still be 'redhat/openshift-ovs-subnet'

#oc get clusternetwork
NAME      NETWORK       HOST SUBNET LENGTH   SERVICE NETWORK   PLUGIN NAME
default   10.2.0.0/16   8                    172.31.0.0/16     redhat/openshift-ovs-subnet

Expected results:

step 4. should be 'redhat/openshift-ovs-multitenant'

Additional info:

Comment 1 Ravi Sankar 2016-08-16 07:17:22 UTC
Fixed in https://github.com/openshift/origin/pull/10432

Comment 2 openshift-github-bot 2016-08-16 15:11:55 UTC
Commit pushed to master at https://github.com/openshift/origin

https://github.com/openshift/origin/commit/5cc7c6c9c0be28e2b954fafa920624796aa9e121
Bug 1365450 - Fix SDN plugin name change

Comment 3 Troy Dawson 2016-08-18 20:14:45 UTC
This has been merged into ose and is in OSE v3.3.0.22 or newer.

Comment 5 zhaozhanqi 2016-08-19 10:35:15 UTC
verified this bug on 
# openshift version
openshift v3.3.0.22
kubernetes v1.3.0+507d3a7
etcd 2.3.0+git


it will match the master-config.yaml when get the plugin

# oc get clusternetwrok

Comment 7 errata-xmlrpc 2016-09-27 09:43:06 UTC
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