Bug 1549491 - Should store the CNI ipam files into /var/lib/cni/networks/openshift-sdn dir
Summary: Should store the CNI ipam files into /var/lib/cni/networks/openshift-sdn dir
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.9.0
Assignee: Dan Williams
QA Contact: Meng Bo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-27 09:19 UTC by Meng Bo
Modified: 2018-03-28 14:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-28 14:30:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 0 None None None 2018-03-28 14:30:51 UTC

Description Meng Bo 2018-02-27 09:19:01 UTC
Description of problem:
After the changes in https://github.com/openshift/origin/pull/18404, the CNI ipam files are stored in /var/lib/cni/openshift-sdn. The "networks" is missing in the path. We were using /var/lib/cni/networks/openshift-sdn for a long time and no reason to change it.
And as the host-local plugin code in cni repo, it should be stored in /var/lib/cin/networks/ by default as well. https://github.com/containernetworking/plugins/blob/master/plugins/ipam/host-local/backend/disk/backend.go#L30


Version-Release number of selected component (if applicable):
v3.9.0-0.53.0

How reproducible:
always

Steps to Reproduce:
1. Setup multinode env
2. Try to create a pod 
3. Check the IPAM file location

Actual results:
The ipam files are stored under /var/lib/cni/openshift-sdn

Expected results:
Should be stored in /var/lib/cni/networks/openshift-sdn

Additional info:

Comment 1 Dan Williams 2018-02-28 20:09:21 UTC
Fixed by https://github.com/openshift/origin/pull/18779

Comment 3 Meng Bo 2018-03-07 02:57:50 UTC
Checked on ocp v3.9.3, the fix was not included in the build.

3.9 PR https://github.com/openshift/origin/pull/18863

Comment 4 Meng Bo 2018-03-09 03:19:13 UTC
Tested on v3.9.4, the ip files are stored in correct path.

Comment 7 errata-xmlrpc 2018-03-28 14:30:19 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-2018:0489


Note You need to log in before you can comment on or make changes to this bug.