Bug 1871145
Summary: | [OCP 4.4] multus configuration in the documentation leads to error | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Mario Abajo <mabajodu> |
Component: | Documentation | Assignee: | Jason Boxman <jboxman> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | zhaozhanqi <zzhao> |
Severity: | medium | Docs Contact: | Vikram Goyal <vigoyal> |
Priority: | medium | ||
Version: | 4.4 | CC: | aos-bugs, dahernan, jboxman, jokerman |
Target Milestone: | --- | ||
Target Release: | 4.4.z | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-23 20:47:42 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
Mario Abajo
2020-08-21 12:24:42 UTC
Hi, Where does the log message originate from? What command produces that output? Thanks! It's a message from the kubelet (Failed to create pod sandbox..) because on Cluster network operator the static address is missing a netmask prefix Hi, Customer followed this link [1] to add an additional network and failed with this message: Error message: Warning FailedCreatePodSandBox <invalid> kubelet, cluster-X-worker-Y Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_example-pod_default_352084f8-5774-41c6-ae2c-e73e65fb1e9a_0(91ae091936157fe280fdf022bf257ce9c851e05388d402cbc5885e64ab26e45f): Multus: [default/example-pod]: error adding container to network "test-network-1": delegateAdd: error invoking DelegateAdd - "bridge": error in getting result from AddNetwork: invalid CIDR 191.168.1.7: invalid CIDR address: 191.168.1.7 Then, i suggested the customer to modify "oc edit networks.operator.openshift.io cluster" the way described in this BZ and it has reported to be working that way. [1] https://access.redhat.com/documentation/en-us/openshift_container_platform/4.4/html-single/networking/index#nw-multus-create-network_configuring-bridge Great, thanks! So I'm digging around on this, and in this context the CIDR is the IP address for the additional network and the subnet mask for the network. So you should be able to specify a network prefix other than /24, but as you've discovered, you must specify some (correct) prefix. How the prefix is put to use depends on the CNI plug-in, so the complete update for this is probably much more expansive. I'll fix the immediate issue, and then work on resolving the larger gap here. I've created the following PR to address this: https://github.com/openshift/openshift-docs/pull/27134 |