Comments (2)
Yep, but as discussed, either we'd need to fail on "golang version too low" or we'd fix this with the aforementioned workaround ;-)
from sriov-network-operator.
Your golang version is too old.
Tested on your host with go1.15.3
and it worked.
root@openshift-jumpserver-0 ~]# yum remove golang -y
(...)
Removed:
golang-1.13.15-1.module+el8.2.0+7662+fa98b974.x86_64 golang-bin-1.13.15-1.module+el8.2.0+7662+fa98b974.x86_64 golang-src-1.13.15-1.module+el8.2.0+7662+fa98b974.noarch keyutils-libs-devel-1.5.10-6.el8.x86_64 krb5-devel-1.17-18.el8.x86_64 libcom_err-devel-1.45.4-3.el8.x86_64 libkadm5-1.17-18.el8.x86_64
libselinux-devel-2.9-3.el8.x86_64 libsepol-devel-2.9-1.el8.x86_64 libverto-devel-0.3.0-5.el8.x86_64 openssl-devel-1:1.1.1c-15.el8.x86_64 pcre2-devel-10.32-1.el8.x86_64 pcre2-utf16-10.32-1.el8.x86_64 pcre2-utf32-10.32-1.el8.x86_64
zlib-devel-1.2.11-13.el8.x86_64
Complete!
[root@openshift-jumpserver-0 ~]#
Then installed the new one:
[root@openshift-jumpserver-0 ~]# rm -Rf golang
[root@openshift-jumpserver-0 ~]# mkdir golang
[root@openshift-jumpserver-0 ~]# curl -k -L https://golang.org/dl/go1.15.3.linux-amd64.tar.gz -o go1.15.3.linux-amd64.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 75 100 75 0 0 806 0 --:--:-- --:--:-- --:--:-- 815
100 115M 100 115M 0 0 92.6M 0 0:00:01 0:00:01 --:--:-- 111M
[root@openshift-jumpserver-0 ~]# tar -C /root/go/ -xzf go1.15.3.linux-amd64.tar.gz
[root@openshift-jumpserver-0 ~]# export GOPATH=/root/golang/
[root@openshift-jumpserver-0 ~]# export PATH=$PATH:/root/go/bin/
[root@openshift-jumpserver-0 ~]# go get github.com/openshift/sriov-network-operator
[root@openshift-jumpserver-0 ~]# cd $GOPATH/src/github.com/openshift/sriov-network-operator/
[root@openshift-jumpserver-0 sriov-network-operator]# make deploy-setup
which: no controller-gen in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/go/bin:/root/golang/bin:/root/go/bin/)
which: no kustomize in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/go/bin:/root/golang/bin:/root/go/bin/)
go: creating new go.mod: module tmp
go: downloading sigs.k8s.io/controller-tools v0.3.0
go: found sigs.k8s.io/controller-tools/cmd/controller-gen in sigs.k8s.io/controller-tools v0.3.0
go: downloading k8s.io/apimachinery v0.18.2
go: downloading golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72
go: downloading k8s.io/api v0.18.2
go: downloading github.com/fatih/color v1.7.0
go: downloading sigs.k8s.io/yaml v1.2.0
go: downloading github.com/spf13/cobra v0.0.5
go: downloading k8s.io/apiextensions-apiserver v0.18.2
go: downloading github.com/mattn/go-colorable v0.1.2
go: downloading github.com/gobuffalo/flect v0.2.0
go: downloading github.com/mattn/go-isatty v0.0.8
go: downloading github.com/spf13/pflag v1.0.5
go: downloading gopkg.in/yaml.v2 v2.2.8
go: downloading golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading k8s.io/klog v1.0.0
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading github.com/google/gofuzz v1.1.0
go: downloading k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
go: downloading gopkg.in/yaml.v3 v3.0.0-20190905181640-827449938966
go: downloading sigs.k8s.io/structured-merge-diff/v3 v3.0.0
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading golang.org/x/net v0.0.0-20191004110552-13f9640d40b9
go: downloading github.com/json-iterator/go v1.1.8
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading golang.org/x/text v0.3.2
/root/golang//bin/controller-gen "crd:trivialVersions=true" webhook paths="./..." output:crd:artifacts:config=config/crd/bases
go: creating new go.mod: module tmp
(...)
from sriov-network-operator.
Related Issues (20)
- webhook references an incorrect annotation HOT 5
- VF is down state HOT 6
- Configuring an InfiniBand device, lastSyncError: operation not supported HOT 1
- Use `/run/ostree-booted` to differentiate between classic RHEL and RHCOS
- DeviceID selector in sriov-network-operator does not works properly HOT 2
- Inability to read current configuration values from ConnectX-3 EN NICs causes panic HOT 5
- Support for Mellanox connectX6 Lx cards - missing documentation? HOT 2
- network-resources-injector and operator-webhook daemonset should have configurable tolerations HOT 4
- Cannot config Mellanox ConnectX-4 Lx on CoreOS HOT 9
- FEC operator needs the SNO leadership election optimizations that were done for all other components, sriov operator HOT 3
- [Bugs] DeviceID in sriov-device-plugin is different from the one in SRIOV Net Policy HOT 7
- Can not work well with Intel x710 HOT 7
- sriovnetworknodestates is not detecting sriov VF's HOT 7
- Does sriov-network-operator support arm? HOT 4
- In ovs-offload mode, vf and vf rep interfaces cannot be created HOT 3
- No firmware-level SRIOV enablement for e810-based NICs
- Pod schedule failure when restarting device plugin HOT 10
- Worker="" vs Worker="foo" HOT 6
- How to configure the same policy for different nics configurations of different nodes HOT 2
- master and release-4.16 still point to 4.15 versions HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sriov-network-operator.