Bug 1669555
| Summary: | Sync Pod script does not copy volume-config.yaml to node | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Ryan Howe <rhowe> |
| Component: | Installer | Assignee: | Patrick Dillon <padillon> |
| Status: | CLOSED ERRATA | QA Contact: | Gaoyun Pei <gpei> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.11.0 | CC: | aos-bugs, chris.liles, fshaikh, gpei, jokerman, mmccomas, padillon, vrutkovs |
| Target Milestone: | --- | ||
| Target Release: | 3.11.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: volume-config.yaml is not copied to /etc/origin/node/
Consequence: volume quotas were not being observed so local storage size (emptyDir) was not limited
Fix: copy volume-config.yaml to /etc/origin/node/ and check for updates in sync pod
Result: volume quotas are observed and local storage size is limited by setting openshift_node_local_quota_per_fsgroup in inventory
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-02-20 14:11:02 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
Ryan Howe
2019-01-25 16:05:48 UTC
https://github.com/openshift/openshift-ansible/commit/ef259f710bf95c479acc37add40a9bc98b3bf1a4 is the commit that broke this by changing the path that it's extracted from /etc/origin/node to /etc/origin/node/tmp then further mutating things According to the pod team we need to trigger a restart when this file changes too. PR sponsored by RedHat -> https://github.com/openshift/openshift-ansible/pull/11131 supersedes 11125. Verify this bug with openshift-ansible-3.11.82-1.git.0.f29227a.el7.noarch.rpm With openshift_node_local_quota_per_fsgroup=1Gi set in ansible inventory file, after installation, we could see volume-config.yaml created under /etc/origin/node/ as following: [root@qe-gpei-311mrre-1 ~]# cat /etc/origin/node/volume-config.yaml apiVersion: kubelet.config.openshift.io/v1 kind: VolumeConfig localQuota: perFSGroup: 1Gi 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-2019:0326 |