Bug 2073439
| Summary: | GitOps ZTP container extract command hangs intermittently | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Ian Miller <imiller> | |
| Component: | Telco Edge | Assignee: | Jim Ramsay <jramsay> | |
| Telco Edge sub component: | ZTP | QA Contact: | yliu1 | |
| Status: | CLOSED ERRATA | Docs Contact: | ||
| Severity: | medium | |||
| Priority: | unspecified | CC: | aireilly | |
| Version: | 4.10 | |||
| Target Milestone: | --- | |||
| Target Release: | 4.11.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | No Doc Update | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2073498 (view as bug list) | Environment: | ||
| Last Closed: | 2022-08-26 16:43:57 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2073498 | |||
|
Description
Ian Miller
2022-04-08 13:45:03 UTC
So there are potentially 2 issues here. The first is that podman seems to sometimes hang when sending lots of data to stdout. Reason unknown. We added '-t' to the recommended commandline to try to fix that. However, with '-t' tar is unhappy. Turns out that removing '-t' and also piping tar|cat inside the container leads to a more reliable experience; doing some stress tests now to see if it's a good fix or not. https://github.com/containers/podman/issues/13779 contains the root cause and the probable fix. Podman logs all stdout to journald in order to make `podman logs` work, and this can get overrun when dumping large amounts of data to stdout. Adding `--log-driver=none` to the podman commandline disables this logging in podman, and the data flows to stdout unencumbered. Makes me think of this old TV spot; perhaps other Canadians will get it: https://www.youtube.com/watch?v=upsZZ2s3xv8 Running some stress tests now to make sure it works reliably, then we should update the docs with the new commandline. Yes, adding '--log-driver=none' to the podman commandline reliably extracts via tar|stdout There's a PR out to master to fix the upstream docs and in-tool help output with the recommendation, and this will be backported to 4.10 as well. aireilly: The 4.10 docs will also need to change to match. Marking as 'verified' since the actual verification will be done in the 4.10 clone of this bug: https://bugzilla.redhat.com/show_bug.cgi?id=2073498 |