Hide Forgot
Description of problem: When login openshift from git bash on windows, after input password, it hangs there all the time. Version-Release number of selected component (if applicable): rhc 1.38.4.gem, rhc 1.38.5.gem, rhc 1.38.6.gem git 2.7.0 How reproducible: Always Steps to Reproduce: 1.Login openshift from git bash on win10 $rhc setup --server=<serverIp> 2. 3. Actual results: 1.After input password, it hangs there all the time. User can not login from git bash directly. Expected results: 1.Should login successfully. Additional info: Could login from other bash, ex: Win cmd, ruby bash.
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.