-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
The SDN won't compile on kube 1.7. You can pull #15100 and see
# github.com/openshift/origin/pkg/sdn/plugin/sdn-cni-plugin
pkg/sdn/plugin/sdn-cni-plugin/openshift-sdn.go:91: invalid pointer type *types.Result for composite literal
pkg/sdn/plugin/sdn-cni-plugin/openshift-sdn.go:106: result.Print undefined (type *types.Result is pointer to interface, not interface)
# github.com/openshift/origin/pkg/sdn/plugin
pkg/sdn/plugin/pod_linux.go:174: result.IP4 undefined (type "github.com/openshift/origin/vendor/github.com/containernetworking/cni/pkg/types".Result has no field or method IP4)
pkg/sdn/plugin/pod_linux.go:178: cannot use result (type "github.com/openshift/origin/vendor/github.com/containernetworking/cni/pkg/types".Result) as type *"github.com/openshift/origin/vendor/github.com/containernetworking/cni/pkg/types".Result in return argument:
*"github.com/openshift/origin/vendor/github.com/containernetworking/cni/pkg/types".Result is pointer to interface, not interface
pkg/sdn/plugin/pod_linux.go:242: ipamResult.IP4 undefined (type *"github.com/openshift/origin/vendor/github.com/containernetworking/cni/pkg/types".Result is pointer to interface, not interface)
pkg/sdn/plugin/pod_linux.go:276: contVeth.Attrs undefined (type "net".Interface has no field or method Attrs)
pkg/sdn/plugin/pod_linux.go:276: cannot assign netlink.Link to contVeth (type "net".Interface) in multiple assignment
pkg/sdn/plugin/pod_linux.go:282: ipamResult.IP4 undefined (type *"github.com/openshift/origin/vendor/github.com/containernetworking/cni/pkg/types".Result is pointer to interface, not interface)
pkg/sdn/plugin/pod_linux.go:283: cannot use ipamResult (type *"github.com/openshift/origin/vendor/github.com/containernetworking/cni/pkg/types".Result) as type *current.Result in argument to ipam.ConfigureIface
pkg/sdn/plugin/pod_linux.go:295: hostVeth.Attrs undefined (type "net".Interface has no field or method Attrs)
pkg/sdn/plugin/pod_linux.go:296: contVeth.Attrs undefined (type "net".Interface has no field or method Attrs)
It looks like the level of containernetworking was bumped overall for kube and we're incompatible. I don't know what to do to fix it, but this blocks progress on the rebase.
Reactions are currently unavailable