{"action":"created","issue":{"url":"https://api.github.com/repos/displague/vagrant-linode/issues/72","repository_url":"https://api.github.com/repos/displague/vagrant-linode","labels_url":"https://api.github.com/repos/displague/vagrant-linode/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/displague/vagrant-linode/issues/72/comments","events_url":"https://api.github.com/repos/displague/vagrant-linode/issues/72/events","html_url":"https://github.com/displague/vagrant-linode/issues/72","id":225986388,"number":72,"title":"Error \"Size is required but was not passed in\"","user":{"login":"nodje","id":75604,"avatar_url":"https://avatars1.githubusercontent.com/u/75604?v=4","gravatar_id":"","url":"https://api.github.com/users/nodje","html_url":"https://github.com/nodje","followers_url":"https://api.github.com/users/nodje/followers","following_url":"https://api.github.com/users/nodje/following{/other_user}","gists_url":"https://api.github.com/users/nodje/gists{/gist_id}","starred_url":"https://api.github.com/users/nodje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodje/subscriptions","organizations_url":"https://api.github.com/users/nodje/orgs","repos_url":"https://api.github.com/users/nodje/repos","events_url":"https://api.github.com/users/nodje/events{/privacy}","received_events_url":"https://api.github.com/users/nodje/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-03T13:30:20Z","updated_at":"2017-12-27T17:27:41Z","closed_at":"2017-12-27T17:27:41Z","author_association":"NONE","body":"Hi, I get this error:\r\n```\r\n.vagrant.d/gems/2.2.5/gems/linodeapi-1.0.1/lib/linodeapi/raw.rb:87:in `parse': API Error on linode.disk.create: [{\"ERRORMESSAGE\"=>\"Size is required but was not passed in\", \"ERRORCODE\"=>6}] (RuntimeError)\r\n```\r\nwith this specific config:\r\n```\r\nconfig.vm.provider :linode do |provider, override|\r\n    override.ssh.private_key_path = \"~/.ssh/id_ed25519\"\r\n    #override.ssh.username = \"root\"\r\n    override.vm.box = \"linode/ubuntu1404\"\r\n    provider.ssh_key_name = \"root\"\r\n    provider.setup = false\r\n    provider.api_key = \"AvalidKey\"\r\n    provider.distribution = \"Ubuntu 14.04 LTS\"\r\n    provider.datacenter = \"frankfurt\"\r\n    provider.plan = \"Linode 1024\"\r\n    provider.label = \"Ansible_test\"\r\n  end\r\n```\r\nif i remove the `provide.setup = false` line, it just works.\r\n\r\nBasically all I wanted to do is make sure my pub key gets uploaded to the default `root` user of any Linode box and be able to connect to it. From the doc I gathered I had to set `provider.setup = false` so as not to create anything for an existing user.\r\n\r\nThen the vagrant process fails (even though I can manually ssh to the new Linode box):\r\n```\r\n.vagrant.d/gems/2.2.5/gems/vagrant-linode-0.2.8/lib/vagrant-linode/actions/create.rb:246:in `block in call': not ready (RuntimeError)\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/util/retryable.rb:17:in `retryable'\r\n\tfrom /Users/jean/.vagrant.d/gems/2.2.5/gems/vagrant-linode-0.2.8/lib/vagrant-linode/actions/create.rb:244:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /Users/jean/.vagrant.d/gems/2.2.5/gems/vagrant-linode-0.2.8/lib/vagrant-linode/actions/connect_linode.rb:31:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /Users/jean/.vagrant.d/gems/2.2.5/gems/vagrant-linode-0.2.8/lib/vagrant-linode/actions/message_not_created.rb:11:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/builtin/synced_folders.rb:87:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/builtin/provision.rb:80:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/builder.rb:116:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/runner.rb:66:in `block in run'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/util/busy.rb:19:in `busy'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/runner.rb:66:in `run'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/builtin/call.rb:53:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/builtin/config_validate.rb:25:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/builder.rb:116:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/runner.rb:66:in `block in run'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/util/busy.rb:19:in `busy'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/runner.rb:66:in `run'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/machine.rb:225:in `action_raw'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/machine.rb:200:in `block in action'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/environment.rb:567:in `lock'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/machine.rb:186:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/machine.rb:186:in `action'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'\r\n```"},"comment":{"url":"https://api.github.com/repos/displague/vagrant-linode/issues/comments/354146950","html_url":"https://github.com/displague/vagrant-linode/issues/72#issuecomment-354146950","issue_url":"https://api.github.com/repos/displague/vagrant-linode/issues/72","id":354146950,"user":{"login":"displague","id":317653,"avatar_url":"https://avatars3.githubusercontent.com/u/317653?v=4","gravatar_id":"","url":"https://api.github.com/users/displague","html_url":"https://github.com/displague","followers_url":"https://api.github.com/users/displague/followers","following_url":"https://api.github.com/users/displague/following{/other_user}","gists_url":"https://api.github.com/users/displague/gists{/gist_id}","starred_url":"https://api.github.com/users/displague/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/displague/subscriptions","organizations_url":"https://api.github.com/users/displague/orgs","repos_url":"https://api.github.com/users/displague/repos","events_url":"https://api.github.com/users/displague/events{/privacy}","received_events_url":"https://api.github.com/users/displague/received_events","type":"User","site_admin":false},"created_at":"2017-12-27T17:27:41Z","updated_at":"2017-12-27T17:27:41Z","author_association":"OWNER","body":"I'm also aware of an intermittent API bug that can sometime produce: `Size is required but was not passed in`, which would be completely unrelated to your Vagrantfile config.\r\n\r\nPlease reopen this if the issue persists in newer versions of the plugin."}}
{"actor":{"display_login":"displague"}}