Description of problem: Clean install the rhc client via gem, it will install the latest net-ssh version 2.9.3.beta1 as dependency. Run rhc setup or rhc app-deploy with the above combine will meet error "Could not parse PKey: no start line". Revert the net-ssh to 2.9.2 will resolve the issue. Version-Release number of selected component (if applicable): rhc-1.35.1 STG (devenv-stage_1138) How reproducible: always Steps to Reproduce: 1. Setup clean fedora 21 env with ruby 2.1 installed 2. Install the latest rhc gem client with default dependencies 3. Use rhc client Actual results: Meet "Could not parse PKey: no start line" error in some commands, like rhc setup, rhc deploy-app [root@bmeng-fedora21 zend61]# rhc deploy-app -a zend61 --ref master Deployment of git ref 'master' in progress for application zend61 ... Error deploying git ref. You can try to deploy manually with: ssh -t 54f158296af18ebf320002d3.rhcloud.com 'gear deploy master' Could not parse PKey: no start line Usage: rhc app-deploy <ref> --app NAME [--namespace NAME] Pass '--help' to see the full list of options Expected results: Should not have such issue. Additional info: The issue should be caused by the net-ssh 2.9.3.beta1
Locking the net-ssh gem verison to < 2.9.3 Fix in https://github.com/openshift/rhc/pull/675
Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/3166f5a8f3f1be913081befc860b1d40ab414711 Bug 1197301 - need to lock net-ssh and commander versions
Hi Jessica, I have tried to build the rhc from the latest git repo via "gem build rhc.gemspec". And when I clean install the generated rhc gem, it will still use the beta version net-ssh. Anything wrong in my steps? Thanks.
missed updating the gemspec fixed in https://github.com/openshift/rhc/pull/676
Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/3a0f9f12767cab60bbaf06be1c39620f933202ad Bug 1197301 - need to update gemspec to lock net-ssh and commander versions
Checked with the latest rhc which built from the rhc repo, the issue still there. rhc gem can be installed with the net-ssh-2.9.3.beta1 installed. And the net-ssh was installed as dependency for net-ssh-multi. Thought the 2.9.3.beta1 is also less than 2.9.3, to make it excludes the beta version, maybe need a '<= 2.9.2' to work here.
Should be fixed in https://github.com/openshift/rhc/pull/703
Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/0f99298f939ef303485e95aaf41a331b30f51831 Bug 1197301 - fixes net-ssh version higher bounds
Issue has been fixed with rhc version 1.38.2 net-ssh-2.9.2 will be installed with rhc. Fetching: net-ssh-2.9.2.gem (100%) Successfully installed net-ssh-2.9.2 Fetching: net-scp-1.2.1.gem (100%) Successfully installed net-scp-1.2.1 Fetching: net-ssh-gateway-1.2.0.gem (100%) Successfully installed net-ssh-gateway-1.2.0 Fetching: net-ssh-multi-1.2.1.gem (100%) Successfully installed net-ssh-multi-1.2.1 Fetching: archive-tar-minitar-0.5.2.gem (100%) Successfully installed archive-tar-minitar-0.5.2 Fetching: highline-1.6.21.gem (100%) Successfully installed highline-1.6.21 Fetching: commander-4.2.1.gem (100%) Successfully installed commander-4.2.1 Fetching: httpclient-2.6.0.1.gem (100%) Successfully installed httpclient-2.6.0.1 Fetching: open4-1.3.4.gem (100%) Successfully installed open4-1.3.4 =========================================================================== If this is your first time installing the RHC tools, please run 'rhc setup' =========================================================================== Successfully installed rhc-1.38.2 Parsing documentation for net-ssh-2.9.2 Installing ri documentation for net-ssh-2.9.2 Parsing documentation for net-scp-1.2.1 Installing ri documentation for net-scp-1.2.1 Parsing documentation for net-ssh-gateway-1.2.0 Installing ri documentation for net-ssh-gateway-1.2.0 Parsing documentation for net-ssh-multi-1.2.1 Installing ri documentation for net-ssh-multi-1.2.1 Parsing documentation for archive-tar-minitar-0.5.2 Installing ri documentation for archive-tar-minitar-0.5.2 Parsing documentation for highline-1.6.21 Installing ri documentation for highline-1.6.21 Parsing documentation for commander-4.2.1 Installing ri documentation for commander-4.2.1 Parsing documentation for httpclient-2.6.0.1 Installing ri documentation for httpclient-2.6.0.1 Parsing documentation for open4-1.3.4 Installing ri documentation for open4-1.3.4 Parsing documentation for rhc-1.38.2 Installing ri documentation for rhc-1.38.2 Done installing documentation for net-ssh, net-scp, net-ssh-gateway, net-ssh-multi, archive-tar-minitar, highline, commander, httpclient, open4, rhc after 6 seconds 10 gems installed