Bug 2243672
| Summary: | [DPDK checkup] Teardown should happen immediately after setup failure | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Yossi Segev <ysegev> | ||||
| Component: | Networking | Assignee: | Orel Misan <omisan> | ||||
| Status: | CLOSED MIGRATED | QA Contact: | Yossi Segev <ysegev> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.14.0 | CC: | omisan | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 4.15.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | v4.15.0.rhel9-1377 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2023-12-14 16:16:14 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
Yossi Segev
2023-10-12 13:53:23 UTC
If there is a problem with the creation of either of the VMIs - they are deleted immediately. After the creation of the two VMIs, there is a wait for both of the VMIs to be ready (the wait is serial). This wait is bounded by the overall timeout, specified in the user-supplied ConfigMap. The solution needs to limit the setup timeout to a certain time - after which the setup will fail and the VMIs will be deleted. The implemented solution is to grant a 10 minutes grace for the setup to succeed, and if the setup fails - teardown after this timeout ends. So the teardown shouldn't occur immediately, but rather after this 10 minutes timeout (unless `spec.timeout` in the job's ConfigMap is less than 10 minutes). To verify this bug - set `spec.timeout` to 15m, and verify the teardown occur after 10 minutes. |