Bug 1876799
Summary: | Upgrade k8s to 1.18 to fix missing dependency | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Ricardo Lüders <rluders> |
Component: | Insights Operator | Assignee: | Martin Kunc <mkunc> |
Status: | CLOSED ERRATA | QA Contact: | Pavel Šimovec <psimovec> |
Severity: | high | Docs Contact: | Marc Muehlfeld <mmuehlfe> |
Priority: | medium | ||
Version: | unspecified | CC: | aos-bugs, avicenzi, inecas, tremes |
Target Milestone: | --- | ||
Target Release: | 4.6.0 | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 16:38:28 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ricardo Lüders
2020-09-08 08:14:09 UTC
Because bitbucket.org/ww/goautoneg was removed we need to upgrade to library-go which is using this reference from github. The new library-go requires k8s api 1.18, so we are switching to 1.18 in the whole project. This also requires change of golang to 1.13. git clone https://github.com/openshift/insights-operator && cd insights-operator&& go clean --cache --modcache&& make build&& make test-e2ebuild build output: go build -ldflags "-X github.com/openshift/insights-operator/vendor/k8s.io/client-go/pkg/version.gitCommit=$(git rev-parse HEAD) -X github.com/openshift/insights-operator/vendor/k8s.io/client-go/pkg/version.gitVersion=v1.0.0+$(git rev-parse --short=7 HEAD)" -o bin/insights-operator ./cmd/insights-operator make build 152.10s user 12.23s system 627% cpu 26.198 total no errors go test ./test/integration -run ^\(TestIsIOHealthy\)$ ^\(TestPullSecretExists\)$ -timeout 1m ok github.com/openshift/insights-operator/test/integration 2.542s pre-check from tests-e2e works too - piece of code runs without workarounds VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4196 |