Bug 1779748
| Summary: | hostpath-provisioner-operator failing with SIGSEGV after CR creation | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Lukas Bednar <lbednar> |
| Component: | Installation | Assignee: | Adam Litke <alitke> |
| Status: | CLOSED ERRATA | QA Contact: | Lukas Bednar <lbednar> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 2.2.0 | CC: | alitke, awels, cnv-qe-bugs, fdeutsch, ncredi, stirabos, talayan, ycui |
| Target Milestone: | --- | Keywords: | TestBlocker |
| Target Release: | 2.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | hostpath-provisioner-operator-container-v2.2.0-7 hco-bundle-registry-container-v2.2.0-70 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-01-30 16:27:33 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
Lukas Bednar
2019-12-04 16:02:33 UTC
The problem is the version.txt file is missing in the operator container, it reads that file to determine which version it is (needed for upgrades for instance). I suspect the file is not being created during the build of the container. Both Alexander and I were able to deploy successfully using the following images which are currently attached to the errata and specified in the HCO bundle: hco-bundle-registry-container-v2.2.0-70 https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1030906 registry-proxy.engineering.redhat.com/rh-osbs/container-native-virtualization-hostpath-provisioner-rhel8-operator:v2.2.0-7 registry-proxy.engineering.redhat.com/rh-osbs/container-native-virtualization-hostpath-provisioner-rhel8:v2.2.0-5 Therefore, I think your issue must be due to the use of stale images. Additionally, the segfault from your logs (/go/src/kubevirt.io/hostpath-provisioner-operator/pkg/controller/hostpathprovisioner/controller.go:202) references the following code in broken versions: cr.Status.OperatorVersion = *versionString and in fixed versions that line is: MarkCrDeploying(cr, "DeployStarted", "Started Deployment") which cannot segfault. verified. We are able to activate the hpp. 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, 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/RHEA-2020:0307 |