{"action":"reopened","issue":{"url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-backup-and-restore/issues/21","repository_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-backup-and-restore","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-backup-and-restore/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-backup-and-restore/issues/21/comments","events_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-backup-and-restore/issues/21/events","html_url":"https://github.com/cloudfoundry-incubator/bosh-backup-and-restore/issues/21","id":355530964,"node_id":"MDU6SXNzdWUzNTU1MzA5NjQ=","number":21,"title":"bbr deployment backup fails with SSH errors when using ssh+socks5 scheme","user":{"login":"markround","id":646543,"node_id":"MDQ6VXNlcjY0NjU0Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/646543?v=4","gravatar_id":"","url":"https://api.github.com/users/markround","html_url":"https://github.com/markround","followers_url":"https://api.github.com/users/markround/followers","following_url":"https://api.github.com/users/markround/following{/other_user}","gists_url":"https://api.github.com/users/markround/gists{/gist_id}","starred_url":"https://api.github.com/users/markround/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markround/subscriptions","organizations_url":"https://api.github.com/users/markround/orgs","repos_url":"https://api.github.com/users/markround/repos","events_url":"https://api.github.com/users/markround/events{/privacy}","received_events_url":"https://api.github.com/users/markround/received_events","type":"User","site_admin":false},"labels":[{"id":630661796,"node_id":"MDU6TGFiZWw2MzA2NjE3OTY=","url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-backup-and-restore/labels/accepted","name":"accepted","color":"75B000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-08-30T10:51:59Z","updated_at":"2018-09-27T12:54:25Z","closed_at":null,"author_association":"NONE","body":"When using when using `BOSH_ALL_PROXY` and a `ssh+socks5://` scheme, BBR 1.2.7 fails when backing up a deployment with many errors similar to the following:\r\n\r\nError attempting to run pre-backup-lock for job cloud_controller_clock on clock_global/eb7a269f-bd24-4219-ae6d-5c6b28d3a6b9: ssh.Run failed: ssh.Stream failed: ssh.Dial failed: Creating SOCKS5 dialer: get host key: ssh: handshake failed: read tcp 10.1.0.4:50418->51.141.113.246:22: read: connection reset by peer\r\n\r\nThis happens when BOSH_ALL_PROXY is set to a `ssh+socks5://` scheme, e.g. `export BOSH_ALL_PROXY=\"ssh+socks5://ubuntu@$OM_HOST:22?private-key=$ROOT/$OM_KEY_FILE\"`\r\n\r\n(I am using an opsman as a socks proxy as it can reach the BOSH director)\r\n\r\nHowever, director backups complete OK when using this scheme and if I set the SSH tunnel up beforehand (using the example at https://bosh.io/docs/cli-tunnel/) it works with backing up deployments.\r\n\r\nIt appears therefore that there is an issue within the new `BOSH_ALL_PROXY` support where `bbr` opens large numbers of SSH connections itself. \r\n\r\nUsing an already-provisioned SSH tunnel is a work-around, but this is problematic when running from Concourse containers that do not have SSH installed."}}
{"actor":{"display_login":"glestaris"}}