Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The latest version(578686d82d3a944527d9ecabe3b199b3e494656c) can not build image successfully #27

Open
Jingzhao123 opened this issue Feb 20, 2019 · 6 comments

Comments

@Jingzhao123
Copy link
Contributor

Hi,
I build the latest version of sfc-controller. I found that it can not build a dev_sfc_controller_alpine image successfully by using build.sh. The following are the errror log information.

Step 19/23 : RUN ./build-controller.sh
 ---> Running in cab2f3620fc6
/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/root/go/bin
/usr/local/go
/root/go
Setting up environment...
Done.
go version go1.9.7 linux/amd64
# building the sfc controller with plugins
github.com/ligato/sfc-controller/vendor/golang.org/x/sys/unix
github.com/ligato/sfc-controller/vendor/github.com/satori/go.uuid
github.com/ligato/sfc-controller/vendor/github.com/namsral/flag
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/utils/once
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/codes
github.com/ligato/sfc-controller/vendor/gopkg.in/yaml.v2
github.com/ligato/sfc-controller/vendor/github.com/gogo/protobuf/proto
github.com/ligato/sfc-controller/vendor/github.com/golang/protobuf/proto
github.com/ligato/sfc-controller/vendor/golang.org/x/net/context
github.com/ligato/sfc-controller/vendor/golang.org/x/net/internal/timeseries
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/grpclog
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/credentials/internal
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/metadata
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/resolver
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/encoding
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/internal
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/internal/grpcrand
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/internal/envconfig
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/internal/grpcsync
github.com/ligato/sfc-controller/vendor/golang.org/x/text/transform
github.com/ligato/sfc-controller/vendor/golang.org/x/text/unicode/bidi
github.com/ligato/sfc-controller/vendor/golang.org/x/net/http2/hpack
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/keepalive
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/stats
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/tap
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/internal/backoff
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/resolver/passthrough
github.com/ligato/sfc-controller/vendor/github.com/coreos/etcd/pkg/types
github.com/ligato/sfc-controller/vendor/github.com/coreos/etcd/pkg/tlsutil
github.com/ligato/sfc-controller/vendor/github.com/gorilla/mux
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/connectivity
github.com/ligato/sfc-controller/vendor/golang.org/x/net/trace
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/naming
github.com/ligato/sfc-controller/vendor/github.com/dgrijalva/jwt-go
github.com/ligato/sfc-controller/vendor/github.com/pkg/errors
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/resolver/dns
github.com/ligato/sfc-controller/vendor/github.com/unrolled/render
github.com/ligato/sfc-controller/vendor/golang.org/x/crypto/blowfish
github.com/ligato/sfc-controller/vendor/github.com/beorn7/perks/quantile
github.com/ligato/sfc-controller/vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
github.com/ligato/sfc-controller/vendor/golang.org/x/text/unicode/norm
github.com/ligato/sfc-controller/vendor/github.com/prometheus/common/model
github.com/ligato/sfc-controller/vendor/github.com/prometheus/procfs/internal/util
github.com/ligato/sfc-controller/vendor/github.com/philhofer/fwd
github.com/ligato/sfc-controller/plugins/controller/idapi/bitmap
github.com/ligato/sfc-controller/vendor/golang.org/x/text/secure/bidirule
github.com/ligato/sfc-controller/plugins/controller/idapi/ipam
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/utils/addrs
github.com/ligato/sfc-controller/vendor/github.com/prometheus/procfs/nfs
github.com/ligato/sfc-controller/vendor/golang.org/x/crypto/bcrypt
github.com/ligato/sfc-controller/vendor/github.com/prometheus/procfs/xfs
github.com/ligato/sfc-controller/plugins/controller/idapi
github.com/ligato/sfc-controller/vendor/github.com/tinylib/msgp/msgp
github.com/ligato/sfc-controller/vendor/github.com/prometheus/procfs
github.com/ligato/sfc-controller/vendor/golang.org/x/crypto/ssh/terminal
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/internal/syscall
github.com/ligato/sfc-controller/vendor/github.com/sirupsen/logrus
github.com/ligato/sfc-controller/vendor/golang.org/x/net/idna
github.com/ligato/sfc-controller/vendor/github.com/ghodss/yaml
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/logging
github.com/ligato/sfc-controller/vendor/github.com/bshuster-repo/logrus-logstash-hook
github.com/ligato/sfc-controller/vendor/github.com/sirupsen/logrus/hooks/syslog
github.com/ligato/sfc-controller/vendor/golang.org/x/net/http/httpguts
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/logging/logrus
github.com/ligato/sfc-controller/vendor/golang.org/x/net/http2
github.com/ligato/sfc-controller/vendor/github.com/fluent/fluent-logger-golang/fluent
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/config
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/utils/safeclose
github.com/ligato/sfc-controller/vendor/github.com/evalphobia/logrus_fluent
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/infra
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/datasync/resync
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/servicelabel
github.com/ligato/sfc-controller/vendor/github.com/golang/protobuf/ptypes/any
github.com/ligato/sfc-controller/vendor/github.com/golang/protobuf/ptypes/duration
github.com/ligato/sfc-controller/vendor/github.com/golang/protobuf/ptypes/timestamp
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/credentials
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/encoding/proto
github.com/ligato/sfc-controller/vendor/github.com/prometheus/client_model/go
github.com/ligato/sfc-controller/vendor/github.com/matttproud/golang_protobuf_extensions/pbutil
github.com/ligato/sfc-controller/vendor/google.golang.org/genproto/googleapis/rpc/status
github.com/ligato/sfc-controller/vendor/github.com/golang/protobuf/ptypes
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/balancer
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/internal/channelz
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/peer
github.com/ligato/sfc-controller/vendor/github.com/prometheus/common/expfmt
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/status
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/balancer/base
github.com/ligato/sfc-controller/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/internal/binarylog
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/balancer/roundrobin
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/logging/measure/model/apitrace
github.com/ligato/sfc-controller/vendor/github.com/gogo/protobuf/protoc-gen-gogo/descriptor
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/datasync
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/health/statuscheck/model/status
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/rpc/rest/security/model/access-security
github.com/ligato/sfc-controller/plugins/controller/model
github.com/ligato/sfc-controller/vendor/github.com/ligato/vpp-agent/plugins/linux/model/interfaces
github.com/ligato/sfc-controller/vendor/github.com/ligato/vpp-agent/plugins/vpp/model/interfaces
github.com/ligato/sfc-controller/vendor/github.com/ligato/vpp-agent/plugins/vpp/model/l2
github.com/ligato/sfc-controller/vendor/github.com/ligato/vpp-agent/plugins/vpp/model/l3
github.com/ligato/sfc-controller/vendor/github.com/prometheus/client_golang/prometheus
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/logging/measure
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/db/keyval
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/rpc/rest/security
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/agent
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/db/keyval/kvproto
github.com/ligato/sfc-controller/plugins/controller/database
# github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/agent
vendor/github.com/ligato/cn-infra/agent/agent.go:230:9: undefined: strings.Builder
github.com/ligato/sfc-controller/plugins/controller/vppagent
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/rpc/rest
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/internal/transport
github.com/ligato/sfc-controller/vendor/github.com/gogo/protobuf/gogoproto
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/logging/logmanager
github.com/ligato/sfc-controller/vendor/github.com/coreos/etcd/auth/authpb
github.com/ligato/sfc-controller/vendor/github.com/coreos/etcd/mvcc/mvccpb
github.com/ligato/sfc-controller/vendor/github.com/prometheus/client_golang/prometheus/promhttp
github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/rpc/prometheus
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc
github.com/ligato/sfc-controller/vendor/github.com/coreos/etcd/etcdserver/etcdserverpb
github.com/ligato/sfc-controller/vendor/google.golang.org/grpc/health/grpc_health_v1
github.com/ligato/sfc-controller/vendor/github.com/coreos/etcd/clientv3
github.com/ligato/sfc-controller/vendor/github.com/coreos/etcd/clientv3/namespace
make: *** [Makefile:108: build] Error 2
# installing sfc controller with plugins
# github.com/ligato/sfc-controller/vendor/github.com/ligato/cn-infra/agent
vendor/github.com/ligato/cn-infra/agent/agent.go:230:9: undefined: strings.Builder
make: *** [Makefile:112: install] Error 2
The command '/bin/sh -c ./build-controller.sh' returned a non-zero code: 2
@jhnbrns
Copy link
Contributor

jhnbrns commented Feb 21, 2019

I suspect the golang version needs to be upgraded to 1.11 as it is in the dev-sfc-controller.

@Jingzhao123
Copy link
Contributor Author

@jhnbrns Thanks. It has been worked by using 1.11. And i will update the code for it.

@jhnbrns
Copy link
Contributor

jhnbrns commented Feb 28, 2019

Hi Jing Zhou
Thats good to hear. Let me know how you want to sue the sf-controller ... I might be able to help you with some configuration.
Thanks
John

@Jingzhao123
Copy link
Contributor Author

Is there any group for discussing the issues about sfc-controller ? If exist, could you please add me to join it?

@AdelBouridah
Copy link

Hi @Jingzhao123 I would like to work on the SFC-controller also (with contiv vpp) if you want wa have to create a groupe and share our experience, issues,...etc.

@rastislavs
Copy link

Hi @Jingzhao123 , @AdelBouridah
we are slowly moving towards implementing service chaining for CNFs in Contiv-VPP directly, which means that an external SFC Controller will not be needed anymore. If you wanted to contribute, feel free to join Contiv slack channel and ping me there: https://join.slack.com/t/contivvpp/shared_invite/enQtNTc3OTE5ODkwODk3LWQxZDQ1MGQ3MzE4MDI3OGVkMDU4MjliMDcxODYwYjliMDZhMGFlY2MxMDA5MWQwZDRlMzJjZDBlMWYzNWJhNWY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants