Description of problem: When running oc edit on a windows machine, the file is opened inside of the default editor on most (99.9%) of machines. A couple of problems: 1* the file is not wordwrapped which makes in extremely hard to edit 2* when done making changes, the file will not save with an error message that the file is already in use by another process. Version-Release number of selected component (if applicable): 3.0.1 oc tool 3.0.1.0 How reproducible: everytime Steps to Reproduce: 1. edit a object on windows 2. make changes 3. click save 4. see error message Actual results: File can not be saved. Expected results: Same behavior on Linux / OSX where the file is saved and applied. Additional info:
Will be fixed by https://github.com/openshift/origin/pull/5300 https://github.com/openshift/origin/pull/5306
I verified this issue against windows. Versions are: oc v3.0.2.903-29-g49953d6 kubernetes v1.2.0-alpha.1-1107-g4c8e6f4 The bug is fixed. oc edit can display and save the file well, like linux. So I move the bug to VERIFIED.
This fix is available in OpenShift Enterprise 3.1.