{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant-google/issues/29","labels_url":"https://api.github.com/repos/mitchellh/vagrant-google/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant-google/issues/29/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant-google/issues/29/events","html_url":"https://github.com/mitchellh/vagrant-google/issues/29","id":56517954,"number":29,"title":"Fails to initialize the google API ruby client","user":{"login":"kulkarni-bhaskar","id":2087760,"avatar_url":"https://avatars.githubusercontent.com/u/2087760?v=3","gravatar_id":"","url":"https://api.github.com/users/kulkarni-bhaskar","html_url":"https://github.com/kulkarni-bhaskar","followers_url":"https://api.github.com/users/kulkarni-bhaskar/followers","following_url":"https://api.github.com/users/kulkarni-bhaskar/following{/other_user}","gists_url":"https://api.github.com/users/kulkarni-bhaskar/gists{/gist_id}","starred_url":"https://api.github.com/users/kulkarni-bhaskar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kulkarni-bhaskar/subscriptions","organizations_url":"https://api.github.com/users/kulkarni-bhaskar/orgs","repos_url":"https://api.github.com/users/kulkarni-bhaskar/repos","events_url":"https://api.github.com/users/kulkarni-bhaskar/events{/privacy}","received_events_url":"https://api.github.com/users/kulkarni-bhaskar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitchellh/vagrant-google/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"erjohnso","id":2154049,"avatar_url":"https://avatars.githubusercontent.com/u/2154049?v=3","gravatar_id":"","url":"https://api.github.com/users/erjohnso","html_url":"https://github.com/erjohnso","followers_url":"https://api.github.com/users/erjohnso/followers","following_url":"https://api.github.com/users/erjohnso/following{/other_user}","gists_url":"https://api.github.com/users/erjohnso/gists{/gist_id}","starred_url":"https://api.github.com/users/erjohnso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erjohnso/subscriptions","organizations_url":"https://api.github.com/users/erjohnso/orgs","repos_url":"https://api.github.com/users/erjohnso/repos","events_url":"https://api.github.com/users/erjohnso/events{/privacy}","received_events_url":"https://api.github.com/users/erjohnso/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-02-04T12:00:05Z","updated_at":"2015-02-04T14:10:39Z","closed_at":null,"body":"Says either path to file is incorrect or incorrect passphrase while reading private key"},"comment":{"url":"https://api.github.com/repos/mitchellh/vagrant-google/issues/comments/72859806","html_url":"https://github.com/mitchellh/vagrant-google/issues/29#issuecomment-72859806","issue_url":"https://api.github.com/repos/mitchellh/vagrant-google/issues/29","id":72859806,"user":{"login":"erjohnso","id":2154049,"avatar_url":"https://avatars.githubusercontent.com/u/2154049?v=3","gravatar_id":"","url":"https://api.github.com/users/erjohnso","html_url":"https://github.com/erjohnso","followers_url":"https://api.github.com/users/erjohnso/followers","following_url":"https://api.github.com/users/erjohnso/following{/other_user}","gists_url":"https://api.github.com/users/erjohnso/gists{/gist_id}","starred_url":"https://api.github.com/users/erjohnso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erjohnso/subscriptions","organizations_url":"https://api.github.com/users/erjohnso/orgs","repos_url":"https://api.github.com/users/erjohnso/repos","events_url":"https://api.github.com/users/erjohnso/events{/privacy}","received_events_url":"https://api.github.com/users/erjohnso/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T14:10:39Z","updated_at":"2015-02-04T14:10:39Z","body":"Nothing obvious jumps out to me on this one. Could you try enabling debugging and see if that helps track down the problem?\r\n\r\n```\r\nVAGRANT_LOG=debug vagrant up --provider=google\r\n```\r\n\r\nThat produces a lot of output and it probably contains personal info (project name, etc). If you're comfortable with this, you could paste it in a private gist and I can look it over.\r\n\r\nFWIW, it's blowing up in fog [https://github.com/fog/fog/blob/v1.27.0/lib/fog/google/models/compute/images.rb#L47] and that leads me to believe it's not picking up your project id correctly.\r\n\r\nI'm wondering if you have your overrides set correctly. My Vagrantfile looks like this. Perhaps you can try this and see if it works?\r\n\r\n```\r\nVagrant.configure(\"2\") do |config|\r\n  config.vm.box = \"gce\"\r\n  config.vm.synced_folder \"/Users/erjohnso/tmp/\", \"/host-data\"\r\n  config.vm.synced_folder \"/Users/erjohnso/\", \"/vagrant\", disabled: true\r\n\r\n  config.vm.provider :google do |google, override|\r\n    google.google_project_id = \"my-project-name\"\r\n    google.google_client_email = \"foo@developer.gserviceaccount.com\"\r\n    google.google_key_location = \"~/PRIVATE_KEY.p12\"\r\n\r\n    override.ssh.username = \"erjohnso\"\r\n    override.ssh.private_key_path = \"~/.ssh/google_compute_engine\"\r\n  end\r\n\r\nend\r\n```\r\n\r\nNote that I'm on a Mac, but otherwise using the same version of vagrant and vagrant-google plugin.  With this Vagrantfile, I'm able to bring up the instance and use `vagrant ssh` to get into it."}}