Bug 1953999
| Summary: | NNCP fails to Configure - Internal Error | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Ofir Nash <onash> | ||||||
| Component: | Networking | Assignee: | Petr Horáček <phoracek> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Ofir Nash <onash> | ||||||
| Severity: | urgent | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 4.8.0 | CC: | cnv-qe-bugs, ellorent, ibesso, ysegev | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | 4.8.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | kubernetes-nmstate-handler-container-v4.8.0-15 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2021-07-27 14:30:44 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ofir Nash
2021-04-27 12:02:14 UTC
Created attachment 1775921 [details]
nmstate-handler pod logs
Looks like the nmstate-webhook is at crashloop nmstate-webhook-5cbd5f7445-fd79b 0/1 CrashLoopBackOff 71 20h nmstate-webhook-5cbd5f7445-mwxcl 0/1 CrashLoopBackOff 38 20h After removing the secrets and those pods the system goes back to normal Now NNCP should be fine I think something is fishy with cert rotations I have force fast rotation editing HCO elements with
spec:
certConfig:
ca:
duration: 48h0m0s
renewBefore: 24h0m0s
server:
duration: 5m0s
renewBefore: 2m30s
I observe a pair of issue one is that editing those parameters create some incosistencies with secrets with secrets created with different values and also
after rotation we go back to the tls: private key does not match public key
I will try to reproduce this u/s
This should fix it u/s https://github.com/qinqon/kube-admission-webhook/pull/48 Verified on version: "kubernetes-nmstate-handler-container: v4.8.0-15" Scenario checked: 1. Created and applied NNCP from the attachments - SuccessfullyConfigured. [cnv-qe-jenkins@net-48-xlarge-5f997-executor ofir]$ oc get nncp -A NAME STATUS br3-nncp SuccessfullyConfigured 2. nmstate-webhook pods are Running successfully: openshift-cnv nmstate-webhook-6fcdcd9cd4-bxrzh 1/1 Running 3 42h openshift-cnv nmstate-webhook-6fcdcd9cd4-jfr9q 1/1 Running 5 42h 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 Virtualization 4.8.0 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/RHSA-2021:2920 |