Bug 1303820
Summary: | It hangs up when login openshift from git bash on windows | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Online | Reporter: | Yanping Zhang <yanpzhan> | ||||||||
Component: | oc | Assignee: | Sally <somalley> | ||||||||
Status: | CLOSED WONTFIX | QA Contact: | Wei Sun <wsun> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 2.x | CC: | aos-bugs, jokerman, mmccomas, somalley, tiwillia, yanpzhan | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Windows | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2017-05-31 18:22:11 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
Yanping Zhang
2016-02-02 06:09:23 UTC
Created attachment 1120329 [details]
hang-login
I can't reproduce this bug. Can you provide more info? mine: Ruby version 1.9.3 Windows 10 git 2.7.0 I'm running in Git Bash: gem install <name of gem> rhc setup --server=openshift.redhat.com rhc setup successfully completes. Thanks Here is my system info, hope it helps: Ruby version 2.1.7p400 Windows 10 git 2.7.0 I run in Git Bash: gem install <rhc gem> rhc setup --server=<my openshift server> (the server env works) It hangs after input password @Yanping, I did some more testing with Ruby 2.1.7p400 'rhc setup' succeeds for me if run from Ruby Start Command Prompt rather than Git Bash. Or, I had to run 'export PATH=$PATH:/c/Ruby21/bin' in Git Bash and then 'rhc setup' succeeded for me in Git Bash. Thanks for going back and forth on this, hopefully we'll get to the bottom of it soon. Can you try the above 2 and let me know how it goes, thanks. @Sally. "rhc setup" succeeds if run it from Ruby Start Command Prompt and from Command Prompt of win10, and failed in Git Bash. Even after I ran 'export PATH=$PATH:/c/Ruby21/bin' in Git Bash and then 'rhc setup' still failed in Git Bash. Created attachment 1121025 [details]
hang-again
Created attachment 1121138 [details]
screenshot for git for windows install
screenshot with git for Windows install option
@Yanping, see Comment 7, please re-install git for Windows with the Windows default console window option rather than MinTTy. Works for me! Can you confirm that 'rhc setup' succeeds when installed with this option? Thanks! I'll get documentation added for this. When docs were created this option did not exist, see video here: https://developers.openshift.com/en/getting-started-windows.html#_video_walkthrough_for_installing_client_tools_rhc_on_windows Reinstall git for Windows with the Windows default console window option rather than MinTTy. Then rhc setup in git bash succeeds. We apologize, however, we do not plan to address this report at this time. The majority of our active development is for the v3 version of OpenShift. If you would like for Red Hat to reconsider this decision, please reach out to your support representative. We are very sorry for any inconvenience this may cause. |