Bug 1872907
| Summary: | Fail to create CR from generated Helm Base Operator | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Bruno Andrade <bandrade> |
| Component: | Operator SDK | Assignee: | Camila Macedo <cmacedo> |
| Status: | CLOSED ERRATA | QA Contact: | Cuiping HUO <chuo> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.6 | CC: | aos-bugs, chuo, jesusr, jfan, jiazha, jlanford, kuiwang, scolange, tbuskey |
| Target Milestone: | --- | ||
| Target Release: | 4.7.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-02-24 15:16:22 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
Bruno Andrade
2020-08-26 21:41:17 UTC
Confirmed. This is a regression in 1.0.0, so it does not affect the downstream OpenShift 4.6 delivery which will be aligned with Operator SDK 0.19. The PR containing the fix is: https://github.com/operator-framework/operator-sdk/pull/3779 Fixed by operator-sdk v1.2.0 the PR attached is the downstreaming of v1.2.0 Fixed by operator-sdk v1.2.0 the PR attached is the downstreaming of v1.2.0 Verified. $ operator-sdk version operator-sdk version: "v1.2.0-39-g71ec07fd", commit: "71ec07fd5b3e112ab4110e90d77f9956813127c4", kubernetes version: "v1.19.4", go version: "go1.14.2", GOOS: "linux", GOARCH: "amd64" clusterversion:4.7.0-0.nightly-2020-12-17-201522 Follow https://sdk.operatorframework.io/docs/building-operators/helm/quickstart/ documentation create CR:pod,service,deployment,replicaset from generated Helm Base Operator $ oc get all -l "app.kubernetes.io/instance=nginx-sample" NAME READY STATUS RESTARTS AGE pod/nginx-sample-646f977b4f-dkbhr 0/1 CrashLoopBackOff 1 19s NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/nginx-sample ClusterIP 172.30.222.205 <none> 80/TCP 19s NAME READY UP-TO-DATE AVAILABLE AGE deployment.apps/nginx-sample 0/1 1 0 20s NAME DESIRED CURRENT READY AGE replicaset.apps/nginx-sample-646f977b4f 1 1 0 20s 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633 |