{"action":"created","issue":{"url":"https://api.github.com/repos/spinnaker/spinnaker/issues/820","repository_url":"https://api.github.com/repos/spinnaker/spinnaker","labels_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/820/labels{/name}","comments_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/820/comments","events_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/820/events","html_url":"https://github.com/spinnaker/spinnaker/issues/820","id":142479547,"number":820,"title":"centOS bake packer says ssh authentication fails","user":{"login":"radkin","id":467568,"avatar_url":"https://avatars.githubusercontent.com/u/467568?v=3","gravatar_id":"","url":"https://api.github.com/users/radkin","html_url":"https://github.com/radkin","followers_url":"https://api.github.com/users/radkin/followers","following_url":"https://api.github.com/users/radkin/following{/other_user}","gists_url":"https://api.github.com/users/radkin/gists{/gist_id}","starred_url":"https://api.github.com/users/radkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radkin/subscriptions","organizations_url":"https://api.github.com/users/radkin/orgs","repos_url":"https://api.github.com/users/radkin/repos","events_url":"https://api.github.com/users/radkin/events{/privacy}","received_events_url":"https://api.github.com/users/radkin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spinnaker/spinnaker/labels/google","name":"google","color":"0052cc"},{"url":"https://api.github.com/repos/spinnaker/spinnaker/labels/rosco","name":"rosco","color":"f7c6c7"}],"state":"open","locked":false,"assignee":{"login":"duftler","id":8437718,"avatar_url":"https://avatars.githubusercontent.com/u/8437718?v=3","gravatar_id":"","url":"https://api.github.com/users/duftler","html_url":"https://github.com/duftler","followers_url":"https://api.github.com/users/duftler/followers","following_url":"https://api.github.com/users/duftler/following{/other_user}","gists_url":"https://api.github.com/users/duftler/gists{/gist_id}","starred_url":"https://api.github.com/users/duftler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duftler/subscriptions","organizations_url":"https://api.github.com/users/duftler/orgs","repos_url":"https://api.github.com/users/duftler/repos","events_url":"https://api.github.com/users/duftler/events{/privacy}","received_events_url":"https://api.github.com/users/duftler/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-03-21T21:40:49Z","updated_at":"2016-03-22T01:14:09Z","closed_at":null,"body":"The message that shows in bake details is as follows:\r\n\r\n```bash\r\n   googlecompute: IP: [ip address here]\r\n==> googlecompute: Waiting for SSH to become available...\r\n==> googlecompute: Error waiting for SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain\r\n```\r\n\r\nHow to duplicate:\r\n\r\n* edit rosco.yml and add a google compute default image for centOS like this\r\n\r\n```bash\r\n     baseImages:\r\n      - baseImage:\r\n          id: precise\r\n          shortDescription: v12.04\r\n          detailedDescription: Ubuntu Precise Pangolin v12.04\r\n          packageType: deb\r\n        virtualizationSettings:\r\n          sourceImage: ubuntu-1204-precise-v20150910\r\n      - baseImage:\r\n          id: trusty\r\n          shortDescription: v14.04\r\n          detailedDescription: Ubuntu Trusty Tahr v14.04\r\n          packageType: deb\r\n        virtualizationSettings:\r\n          sourceImage: ubuntu-1404-trusty-v20150909a\r\n      - baseImage:\r\n          id: centos6\r\n          shortDescription: centos-6\r\n          detailedDescription: Centos 6\r\n          packageType: rpm\r\n        virtualizationSettings:\r\n          sourceImage: centos-6-v20160301\r\n```\r\n\r\nthen, create a \"bake\" and \"deploy\" pipeline. It appears as if there needs to be a gce.json template change so that the correct username is in there, or similar as there is for aws.json (E.G.)\r\n\r\n*note* `ssh_username`\r\nhttps://github.com/spinnaker/spinnaker/blob/master/experimental/packer/aws.json\r\n\r\nThis is not a problem for ubuntu. Tried both of the GCE centos public images\r\n\r\n`gcloud compute images list`\r\n\r\n```bash\r\ncentos-6-v20160301                     centos-cloud        centos-6                      READY\r\ncentos-7-v20160301                     centos-cloud        centos-7                      READY\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/spinnaker/spinnaker/issues/comments/199569157","html_url":"https://github.com/spinnaker/spinnaker/issues/820#issuecomment-199569157","issue_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/820","id":199569157,"user":{"login":"radkin","id":467568,"avatar_url":"https://avatars.githubusercontent.com/u/467568?v=3","gravatar_id":"","url":"https://api.github.com/users/radkin","html_url":"https://github.com/radkin","followers_url":"https://api.github.com/users/radkin/followers","following_url":"https://api.github.com/users/radkin/following{/other_user}","gists_url":"https://api.github.com/users/radkin/gists{/gist_id}","starred_url":"https://api.github.com/users/radkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radkin/subscriptions","organizations_url":"https://api.github.com/users/radkin/orgs","repos_url":"https://api.github.com/users/radkin/repos","events_url":"https://api.github.com/users/radkin/events{/privacy}","received_events_url":"https://api.github.com/users/radkin/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T01:14:09Z","updated_at":"2016-03-22T01:14:09Z","body":"Thanks, I'll try setting the ssh_user and see if that sorts it out."}}