Repository: brooklyn-docs Updated Branches: refs/heads/master a77ce616b -> 8086ff155
added more to deployment troubleshooting section Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/93e2a6ad Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/93e2a6ad Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/93e2a6ad Branch: refs/heads/master Commit: 93e2a6ad45bb6ae3e938f32ac3f1809a96d83796 Parents: a77ce61 Author: Murdo Aird <murdo.a...@gmail.com> Authored: Mon Aug 29 21:47:51 2016 +0100 Committer: Murdo Aird <murdo.a...@gmail.com> Committed: Mon Aug 29 21:47:51 2016 +0100 ---------------------------------------------------------------------- guide/ops/troubleshooting/deployment.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/93e2a6ad/guide/ops/troubleshooting/deployment.md ---------------------------------------------------------------------- diff --git a/guide/ops/troubleshooting/deployment.md b/guide/ops/troubleshooting/deployment.md index 9e85dec..3f773aa 100644 --- a/guide/ops/troubleshooting/deployment.md +++ b/guide/ops/troubleshooting/deployment.md @@ -143,3 +143,25 @@ start tasks are completed). See the [overview](overview.html) for where to find additional information, especially the section on "Entity's Error Status". + +## Invalid packet error + +If you receive an error message similar to the one below when provisioning a Centos VM, you can workaround the issue by explicitly setting the user that AMP should use to login to the VM. + +`error acquiring SFTPClient() (out of retries - max 50) +Invalid packet: indicated length too large +java.lang.IllegalStateException +Invalid packet: indicated length too large` + +An example of how to explicitly set the user is shown below (when defining a Location) by using 'loginUser': + +{% highlight yaml %} +brooklyn.locations: +- type: jclouds:aws-ec2 + brooklyn.config: + displayName: aws-us-east-1 + region: us-east-1 + identity: <add> + credential: <add> + loginUser: centos +{% endhighlight %} \ No newline at end of file