Bug 1689839
Summary: | Re-enable Service API federation failed. | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Qin Ping <piqin> |
Component: | Federation | Assignee: | Ivan Font <ifont> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Qin Ping <piqin> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 4.1.0 | CC: | bbennett, mnewby, nagrawal, pmorie |
Target Milestone: | --- | ||
Target Release: | 4.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-17 15:30:36 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
Qin Ping
2019-03-18 09:25:27 UTC
This was fixed in upstream master by https://github.com/kubernetes-sigs/federation-v2/pull/628 This will be fixed once the operator repo is bumped to 0.0.7 Should be fixed in 0.0.7 CSV Verification failed with: $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.0.0-0.ci-2019-03-31-223338 True False 91m Cluster version is 4.0.0-0.ci-2019-03-31-223338 Federation v2 controller-manager version: version.Info{Version:"v0.0.7", GitCommit:"3e251608ca5357080b95a0bedc45759652f17d29", GitTreeState:"clean", BuildDate:"2019-03-22T22:30:26Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"} kubefed2 version: version.Info{Version:"v0.0.7", GitCommit:"83b778b6d92a7929efb7687d3d3d64bf0b3ad3bc", GitTreeState:"clean", BuildDate:"2019-03-19T18:40:46Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"} Re-enable Service Federation: kubefed2 enable Service customresourcedefinition.apiextensions.k8s.io/federatedservices.types.federation.k8s.io updated F0401 13:42:01.913213 5180 enable.go:112] error: Error creating FederatedTypeConfig "services": federatedtypeconfigs.core.federation.k8s.io "services" already exists The bug in enabling federation failing due to the crd existing has been fixed. The new error being reported is relatively benign - the federated type config existing is an indication that the type has been enabled - but I've filed an upstream issue to ensure a better UX: https://github.com/kubernetes-sigs/federation-v2/issues/720 I've also filed a related bug to ensure that enable/disable are easier to understand: https://github.com/kubernetes-sigs/federation-v2/issues/721 Upstream PR for fix: https://github.com/kubernetes-sigs/federation-v2/pull/744 Fixed in version 0.0.10. Verified with: Federation v2 controller-manager version: version.Info{Version:"v0.0.10", GitCommit:"71d233ede685707df554ef653e06bf7f0229415c", GitTreeState:"clean", BuildDate:"2019-05-06T22:54:46Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"} kubefedctl version: version.Info{Version:"v0.0.10-dirty", GitCommit:"71d233ede685707df554ef653e06bf7f0229415c", GitTreeState:"dirty", BuildDate:"2019-05-06T22:30:31Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"} |