{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/packer/issues/4864","repository_url":"https://api.github.com/repos/hashicorp/packer","labels_url":"https://api.github.com/repos/hashicorp/packer/issues/4864/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/packer/issues/4864/comments","events_url":"https://api.github.com/repos/hashicorp/packer/issues/4864/events","html_url":"https://github.com/hashicorp/packer/issues/4864","id":227176160,"number":4864,"title":"Packer is trying to SSH to localhost instead of remote IP (Triton builder)","user":{"login":"pannon","id":7752363,"avatar_url":"https://avatars0.githubusercontent.com/u/7752363?v=3","gravatar_id":"","url":"https://api.github.com/users/pannon","html_url":"https://github.com/pannon","followers_url":"https://api.github.com/users/pannon/followers","following_url":"https://api.github.com/users/pannon/following{/other_user}","gists_url":"https://api.github.com/users/pannon/gists{/gist_id}","starred_url":"https://api.github.com/users/pannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pannon/subscriptions","organizations_url":"https://api.github.com/users/pannon/orgs","repos_url":"https://api.github.com/users/pannon/repos","events_url":"https://api.github.com/users/pannon/events{/privacy}","received_events_url":"https://api.github.com/users/pannon/received_events","type":"User","site_admin":false},"labels":[{"id":433381853,"url":"https://api.github.com/repos/hashicorp/packer/labels/builder/triton","name":"builder/triton","color":"d4c5f9","default":false},{"id":33051542,"url":"https://api.github.com/repos/hashicorp/packer/labels/question","name":"question","color":"cc317c","default":true},{"id":54192815,"url":"https://api.github.com/repos/hashicorp/packer/labels/waiting-reply","name":"waiting-reply","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":{"login":"rickard-von-essen","id":557699,"avatar_url":"https://avatars1.githubusercontent.com/u/557699?v=3","gravatar_id":"","url":"https://api.github.com/users/rickard-von-essen","html_url":"https://github.com/rickard-von-essen","followers_url":"https://api.github.com/users/rickard-von-essen/followers","following_url":"https://api.github.com/users/rickard-von-essen/following{/other_user}","gists_url":"https://api.github.com/users/rickard-von-essen/gists{/gist_id}","starred_url":"https://api.github.com/users/rickard-von-essen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickard-von-essen/subscriptions","organizations_url":"https://api.github.com/users/rickard-von-essen/orgs","repos_url":"https://api.github.com/users/rickard-von-essen/repos","events_url":"https://api.github.com/users/rickard-von-essen/events{/privacy}","received_events_url":"https://api.github.com/users/rickard-von-essen/received_events","type":"User","site_admin":false},"assignees":[{"login":"rickard-von-essen","id":557699,"avatar_url":"https://avatars1.githubusercontent.com/u/557699?v=3","gravatar_id":"","url":"https://api.github.com/users/rickard-von-essen","html_url":"https://github.com/rickard-von-essen","followers_url":"https://api.github.com/users/rickard-von-essen/followers","following_url":"https://api.github.com/users/rickard-von-essen/following{/other_user}","gists_url":"https://api.github.com/users/rickard-von-essen/gists{/gist_id}","starred_url":"https://api.github.com/users/rickard-von-essen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickard-von-essen/subscriptions","organizations_url":"https://api.github.com/users/rickard-von-essen/orgs","repos_url":"https://api.github.com/users/rickard-von-essen/repos","events_url":"https://api.github.com/users/rickard-von-essen/events{/privacy}","received_events_url":"https://api.github.com/users/rickard-von-essen/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2017-05-08T21:12:28Z","updated_at":"2017-05-09T13:09:02Z","closed_at":"2017-05-09T13:09:02Z","body":"Configured Packer to use the Triton builder on an OpenBSD 6.0 client.\r\n\r\nThe Triton image instance is successfully created, but once it gets to the Shell Provisioner part, Packer is simply trying to SSH to the client's localhost address instead of the remote Triton instance's IP address.\r\n\r\nThe OpenBSD client's /var/log/authlog is full of SSH connection attempts from localhost to localhost.\r\nThis is also visible with `netstat -an`.\r\n\r\nNot sure whether this is a bug in Triton builder or the OpenBSD Packer version (1.0.0).\r\nCould do some more testing on a Linux client. "},"comment":{"url":"https://api.github.com/repos/hashicorp/packer/issues/comments/300157170","html_url":"https://github.com/hashicorp/packer/issues/4864#issuecomment-300157170","issue_url":"https://api.github.com/repos/hashicorp/packer/issues/4864","id":300157170,"user":{"login":"pannon","id":7752363,"avatar_url":"https://avatars0.githubusercontent.com/u/7752363?v=3","gravatar_id":"","url":"https://api.github.com/users/pannon","html_url":"https://github.com/pannon","followers_url":"https://api.github.com/users/pannon/followers","following_url":"https://api.github.com/users/pannon/following{/other_user}","gists_url":"https://api.github.com/users/pannon/gists{/gist_id}","starred_url":"https://api.github.com/users/pannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pannon/subscriptions","organizations_url":"https://api.github.com/users/pannon/orgs","repos_url":"https://api.github.com/users/pannon/repos","events_url":"https://api.github.com/users/pannon/events{/privacy}","received_events_url":"https://api.github.com/users/pannon/received_events","type":"User","site_admin":false},"created_at":"2017-05-09T13:09:02Z","updated_at":"2017-05-09T13:09:02Z","body":"OK, so turns out I guessed it right. Patching our CloudAPI with the fixed file [machines.js](https://raw.githubusercontent.com/joyent/sdc-cloudapi/master/lib/machines.js) fixes Packer SSH connectivity! Thanks for looking at this. "}}
{"actor":{"display_login":"pannon"}}