Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1549491 - Should store the CNI ipam files into /var/lib/cni/networks/openshift-sdn dir
Should store the CNI ipam files into /var/lib/cni/networks/openshift-sdn dir
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking (Show other bugs)
3.9.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.9.0
Assigned To: Dan Williams
Meng Bo
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-27 04:19 EST by Meng Bo
Modified: 2018-03-28 10:30 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-28 10:30:19 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 None None None 2018-03-28 10:30 EDT

  None (edit)
Description Meng Bo 2018-02-27 04:19:01 EST
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 15:09:21 EST
Fixed by https://github.com/openshift/origin/pull/18779
Comment 3 Meng Bo 2018-03-06 21:57:50 EST
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-08 22:19:13 EST
Tested on v3.9.4, the ip files are stored in correct path.
Comment 7 errata-xmlrpc 2018-03-28 10:30:19 EDT
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.