Bug 1679946
Summary: | [Multus][network-operator] Should be able to configure the namespace of the default net-attach-def | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Meng Bo <bmeng> |
Component: | Networking | Assignee: | Casey Callendrello <cdc> |
Networking sub component: | openshift-sdn | QA Contact: | zhaozhanqi <zzhao> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | low | ||
Priority: | medium | CC: | aos-bugs, bbennett, cdc, dcbw, dosmith, sponnaga, tohayash, zshi |
Version: | 4.1.0 | Keywords: | NeedsTestCase |
Target Milestone: | --- | ||
Target Release: | 4.1.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: | 2019-06-04 10:44:26 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
Meng Bo
2019-02-22 10:15:58 UTC
Dan, Can you take a look at this? Dan, I've submit fix PR for that into upstream: https://github.com/intel/multus-cni/pull/271 Casay, Can I take it? If you don't mind, I assign it to me. Casey and Dan, Let me clarify the above PR. From multus side, we have issue around clusterNetwork, https://github.com/intel/multus-cni/issues/261 Multus will choose different namesppace for clusterNetwork (it should be multusNamespace, but actually it reads from default). Above PR is to fix this issue. (In reply to Tomofumi Hayashi from comment #4) > Casey and Dan, > > Let me clarify the above PR. > From multus side, we have issue around clusterNetwork, > https://github.com/intel/multus-cni/issues/261 > Multus will choose different namesppace for clusterNetwork (it should be > multusNamespace, but actually it reads from default). > Above PR is to fix this issue. I think there are two folders of this problem: 1) Even multus supports 'systemNamespaces' and 'multusNamespace', it's not configurable via operator. 2) In operator, the namespace in net-attach-def custom resource template is hardcoded to 'default' namespace. @Tomofumi I see the multus-cni plugin has merged. Do we need to do anything to bring that code in to OpenShift 4.1? https://github.com/openshift/api/pull/294 https://github.com/openshift/cluster-network-operator/pull/152 Tested on 4.1.0-0.nightly-2019-05-08-065958 The additional network can be created in the specified namespace. spec: additionalNetworks: - name: sriov-conf namespace: openshift-sriov rawCNIConfig: '{ "type": "sriov", "name": "sriov-network", "ipam": { "type": "host-local", "subnet": "10.11.11.0/24", "routes": [{ "dst": "0.0.0.0/0" }], "gateway": "10.11.11.1" } }' type: Raw clusterNetwork: - cidr: 10.128.0.0/14 hostPrefix: 23 defaultNetwork: openshiftSDNConfig: mode: NetworkPolicy type: OpenShiftSDN serviceNetwork: - 172.30.0.0/16 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:0758 |