Bug 1585038
Summary: | Invalid proxy environment assignment in cri-o systemd configurations | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Gan Huang <ghuang> |
Component: | Containers | Assignee: | Giuseppe Scrivano <gscrivan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | DeShuai Ma <dma> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.10.0 | CC: | amurdaca, aos-bugs, gscrivan, jokerman, mmccomas, sdodson, vlaad |
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-09-11 19:20:15 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: | |||
Bug Depends On: | 1589013 | ||
Bug Blocks: |
Description
Gan Huang
2018-06-01 08:12:54 UTC
Seems as if the method to read /etc/sysconfig/crio-network has changed in 1.10? Here's where that config template is https://github.com/openshift/openshift-ansible/blob/master/roles/container_runtime/templates/crio-network.j2 Please determine if this is to be considered a regression in crio or update the template. (In reply to Scott Dodson from comment #1) > Seems as if the method to read /etc/sysconfig/crio-network has changed in > 1.10? > > Here's where that config template is > https://github.com/openshift/openshift-ansible/blob/master/roles/ > container_runtime/templates/crio-network.j2 > > Please determine if this is to be considered a regression in crio or update > the template. Giuseppe added "export(s)" here https://github.com/openshift/openshift-ansible/commit/7ce6b62cfbdd4cde157ecc2154a43cf9e7afd56e#diff-5969c8474466370b083fc457c47a6844 so not sure if the regression is in the template or cri-o network. CC'ing Giuseppe here the original template file was for the system container run.sh script. It breaks the EnvironmentFile= directive for systemd that accepts only lines like NAME=VALUE: I've opened a PR here: https://github.com/openshift/openshift-ansible/pull/8615 and the change for the system container so that it still works after the previous change: https://github.com/kubernetes-incubator/cri-o/pull/1587 Fixed in openshift-ansible-3.10.0-0.66.0.git.79.68197f9.el7.noarch.rpm |