Bug 1813506
| Summary: | Dockerfile not compatible with docker and buildah | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Container Storage | Reporter: | Ben Parees <bparees> |
| Component: | must-gather | Assignee: | Pulkit Kundra <pkundra> |
| Status: | CLOSED ERRATA | QA Contact: | Aviad Polak <apolak> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | aos-bugs, ebenahar, eparis, jarrpa, jokerman, madam, muagarwa, nberry, ocs-bugs, pweil, sabose, sostapov, wzheng |
| Target Milestone: | --- | ||
| Target Release: | OCS 4.6.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.6.0-131.ci | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-12-17 06:22:27 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: | |||
|
Comment 2
Michael Adam
2020-03-18 22:31:57 UTC
The line in question is this: https://github.com/openshift/ocs-operator/blob/master/must-gather/Dockerfile#L4 This seems an intentional use of the "bug". Ashish, is that the case? If so, do we still need to change anything? That line actually doesn't run into the bug because none of the files grabbed by the * are directories. So you get the same behavior with imagebuilder and buildah/dockerfile for that. You can either remove the trailing * (I do not believe it's needed here): COPY collection-scripts/ /usr/bin/ Or just leave well enough alone and close this as not a bug. The change is trivial enough, I'm fine with making it for the master branch at least. Moving this to OCS 4.5. @Michael, Could you please provide the steps to reproduce? This is still not worth resolving right now, and we are approaching a deadline. Moving to OCS 4.6. But, since this is something for must-gather, changing the component. checked must-gather-logs in ocs-operator.v4.6.0-113.ci 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: Red Hat OpenShift Container Storage 4.6.0 security, bug fix, 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:5605 |