GitHub user wilderrodrigues opened a pull request:
https://github.com/apache/cloudstack/pull/210
Using the SSHCmdHelper instead of a SSH Session.
The triled ssh2 session was throwing an IOException when there was no
directory present.
We found problems, for example, when SCP the id_rsa into /root/.ssh, since
the .ssh did not exist and was not being created. Due to that, we could not
connect the Host to the Hypervisor.
I replaced the Session by the SSHCmdHelper.sshExecuteCmd and everything
worked fine.
Tested with deployDatacenter.py and XenServer 6.2
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/schubergphilis/cloudstack
fix/citrix_create_directories
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/210.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #210
----
commit 3b0c031b9f5cd7d0d26973ee3f59f0b5407cbe33
Author: wilderrodrigues <[email protected]>
Date: 2015-04-29T11:05:21Z
Using the SSHCmdHelper instead of a SSH Session.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---