-
Notifications
You must be signed in to change notification settings - Fork 90
Description
Is this a BUG REPORT or FEATURE REQUEST?:
What happened:
After following the steps given in readme.md to build the recent STORK image, facing package independency issues
the steps which were followed to build STORK image:
-
git clone git@github.com:libopenstorage/stork.git
export DOCKER_HUB_REPO=myrepo
export DOCKER_HUB_STORK_IMAGE=stork
export DOCKER_HUB_STORK_TAG=latest
make
- It asked to run go mod init and go mod vendor before makefile
Following above steps lead to error
Building the stork binary
github.com/libopenstorage/stork/pkg/metrics
../../pkg/metrics/metrics.go:62:33: "github.com/portworx/sched-ops/k8s/stork".Instance().WatchApplicationBackupSchedule undefined (type "github.com/portworx/sched-ops/k8s/stork".Ops has no field or method WatchApplicationBackupSchedule)
../../pkg/metrics/metrics.go:92:33: "github.com/portworx/sched-ops/k8s/stork".Instance().WatchMigrationSchedule undefined (type "github.com/portworx/sched-ops/k8s/stork".Ops has no field or method WatchMigrationSchedule)
make: *** [stork] Error 2
Tried changing versions manually , but fixing version for one package leads to dependency issues on other packages as described in #778
What you expected to happen:
Following steps mentioned container image for STORK should be built . Are there any other steps to be followed (other than mentioned in readme.md)
How to reproduce it (as minimally and precisely as possible):
By following steps given in readme.md for building STORK image
Anything else we need to know?:
Environment:
- Kubernetes version (use
kubectl version): 1.20.1 - Cloud provider or hardware configuration:
- OS (e.g. from /etc/os-release): CentOS
- Kernel (e.g.
uname -a): redhat - Install tools: go get
- Others: