Bug 1423363
Summary: | Installation fails with text file busy when replacing an oc binary that is in use | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Marko Myllynen <myllynen> |
Component: | Installer | Assignee: | Steve Milner <smilner> |
Status: | CLOSED WONTFIX | QA Contact: | Johnny Liu <jialiu> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 3.4.0 | CC: | aos-bugs, jokerman, jswensso, mmccomas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-01-31 15:56:20 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
Marko Myllynen
2017-02-17 06:03:50 UTC
It's a race condition that would occur on any containerized install where someone may also be using the oc binary when we attempt to update it. We'd need to lock the file and retry but they could also run a long running oc command so there's still potential for failure. The workaround is to just leave the hosts be while the installer is running so setting priority to low until we start seeing cases attached to this BZ. Thinking through this a little bit I can think of a few workarounds but none that would be very elegant. Here is an example: We could provide a temporary oc for use if there is a need to be running oc commands on the target hosts (assuming oc exists on the host). The problem with this is that the operator would need to use the temporary oc and not use the official one. If they did use the official one the error would occur just as noted. I agree with Scott's workaround noting not to use oc on the target hosts. If others end up hitting this we can figure some kind of workable path. Just ran in to this on containerized install on RHEL as well so it's not only limited to Atomic hosts. There appear to be no active cases related to this bug. As such we're closing this bug in order to focus on bugs that are still tied to active customer cases. Please re-open this bug if you feel it was closed in error or a new active case is attached. |