You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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:
The text was updated successfully, but these errors were encountered:
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 [email protected]:libopenstorage/stork.git
export DOCKER_HUB_REPO=myrepo
export DOCKER_HUB_STORK_IMAGE=stork
export DOCKER_HUB_STORK_TAG=latest
make
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:
kubectl version
): 1.20.1uname -a
): redhatThe text was updated successfully, but these errors were encountered: