+++ This bug was initially created as a clone of Bug #1812245 +++
Description of problem:
Whereabouts IPAM CNI should use CR in whereabouts.cni.cncf.io
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. curl -s https://raw.githubusercontent.com/weliang1/Openshift_Networking/master/Features/multus/whereabouts-macvlan.yaml | oc create -f-
2. curl -s https://raw.githubusercontent.com/weliang1/Openshift_Networking/master/Features/multus/pod.yaml | sed s/pod-name/pod-macvlan-bridge-whereabouts/g | sed s/net-attach-def/macvlan-bridge-whereabouts/g | oc create -f-
Warning FailedCreatePodSandBox 11s kubelet, ip-10-0-145-60.us-east-2.compute.internal Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_pod-macvlan-bridge-whereabouts_test_651a9a80-5349-4c9a-91cf-31eeb73f5b53_0(e4a9b1c372188fbb47187a3636043942098c962924f0d6f1fce9f614978e9533): Multus: [test/pod-macvlan-bridge-whereabouts]: error adding container to network "whereabouts": delegateAdd: error invoking DelegateAdd - "macvlan": error in getting result from AddNetwork: Error assigning IP: no matches for kind "IPPool" in version "whereabouts.cni.k8s.io/v1alpha1"
Pod should get correct IP address for second interface
--- Additional comment from Weibin Liang on 2020-03-11 15:08:37 UTC ---
Same issue happened in 4.4.0-0.nightly-2020-03-11-095741
--- Additional comment from Douglas Smith on 2020-03-11 20:20:30 UTC ---
I found an additional bug while fixing this one, BZ @ https://bugzilla.redhat.com/show_bug.cgi?id=1812676
PR @ https://github.com/openshift/whereabouts-cni/pull/8
Tested and verified in 4.4.0-0.nightly-2020-05-18-115348
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.