Bug 1584090
| Summary: | openshift_ansible_vars openshift_node_kubelet_args does not set the feature gates to node config | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Liang Xia <lxia> |
| Component: | Installer | Assignee: | Scott Dodson <sdodson> |
| Status: | CLOSED DUPLICATE | QA Contact: | Johnny Liu <jialiu> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.10.0 | CC: | aos-bugs, jokerman, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | 3.10.0 | ||
| 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: | 2018-05-30 13:45:44 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: | |||
Seem like the same root cause of Bug 1569476 yes, this needs to be specified via openshift_node_groups *** This bug has been marked as a duplicate of bug 1569476 *** |
Description of problem: Set openshift_ansible_vars openshift_node_kubelet_args with some feature gates. After installation completed, node config does not have the feature gates we set (It works in this way in OCP 3.9). Version-Release number of the following components: rpm -q openshift-ansible openshift-ansible-3.10.0-0.54.0.git.0.537c485.el7.noarch.rpm ansible --version 2.4.4.0-1.el7ae How reproducible: Always Steps to Reproduce: 1.Set openshift_ansible_vars osm_api_server_args: '{"feature-gates": ["MountPropagation=true", "ExpandPersistentVolumes=true", "PersistentLocalVolumes=true", "BlockVolume=true"]}' osm_controller_args: '{"feature-gates": ["MountPropagation=true", "ExpandPersistentVolumes=true", "VolumeScheduling=true", "PersistentLocalVolumes=true", "BlockVolume=true"]}' openshift_master_scheduler_args: '{"feature-gates": ["VolumeScheduling=true"]}' openshift_master_admission_plugin_config: '{"PersistentVolumeClaimResize":{"configuration":{"apiVersion":"v1", "kind":"DefaultAdmissionConfig", "disable":false}}}' openshift_node_kubelet_args: '{"feature-gates": ["MountPropagation=true", "ExpandPersistentVolumes=true", "PersistentLocalVolumes=true", "BlockVolume=true"]}' 2.Wait for the installtion to completed. 3.Check master and node config. Actual results: # grep -i -r feature /etc/origin/master/ -A5 /etc/origin/master/master-config.yaml: feature-gates: /etc/origin/master/master-config.yaml- - MountPropagation=true /etc/origin/master/master-config.yaml- - ExpandPersistentVolumes=true /etc/origin/master/master-config.yaml- - PersistentLocalVolumes=true /etc/origin/master/master-config.yaml- - BlockVolume=true /etc/origin/master/master-config.yaml- storage-backend: # grep -i -r feature /etc/origin/node/ -A2 /etc/origin/node/bootstrap-node-config.yaml: feature-gates: /etc/origin/node/bootstrap-node-config.yaml- - RotateKubeletClientCertificate=true,RotateKubeletServerCertificate=true /etc/origin/node/bootstrap-node-config.yaml- rotate-certificates: Expected results: Node config should contain proper feature gates as we set. Additional info: