{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/vagrant/issues/9524","repository_url":"https://api.github.com/repos/hashicorp/vagrant","labels_url":"https://api.github.com/repos/hashicorp/vagrant/issues/9524/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/vagrant/issues/9524/comments","events_url":"https://api.github.com/repos/hashicorp/vagrant/issues/9524/events","html_url":"https://github.com/hashicorp/vagrant/issues/9524","id":300988103,"number":9524,"title":"Guest machine default name too long with VirtualBox 5.2.8 (VERR_CFGM_NOT_ENOUGH_SPACE)","user":{"login":"gael-ian","id":216617,"avatar_url":"https://avatars1.githubusercontent.com/u/216617?v=4","gravatar_id":"","url":"https://api.github.com/users/gael-ian","html_url":"https://github.com/gael-ian","followers_url":"https://api.github.com/users/gael-ian/followers","following_url":"https://api.github.com/users/gael-ian/following{/other_user}","gists_url":"https://api.github.com/users/gael-ian/gists{/gist_id}","starred_url":"https://api.github.com/users/gael-ian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gael-ian/subscriptions","organizations_url":"https://api.github.com/users/gael-ian/orgs","repos_url":"https://api.github.com/users/gael-ian/repos","events_url":"https://api.github.com/users/gael-ian/events{/privacy}","received_events_url":"https://api.github.com/users/gael-ian/received_events","type":"User","site_admin":false},"labels":[{"id":54082731,"url":"https://api.github.com/repos/hashicorp/vagrant/labels/enhancement","name":"enhancement","color":"207de5","default":true},{"id":443900816,"url":"https://api.github.com/repos/hashicorp/vagrant/labels/needs-repro","name":"needs-repro","color":"fef2c0","default":false},{"id":139180666,"url":"https://api.github.com/repos/hashicorp/vagrant/labels/provider/virtualbox","name":"provider/virtualbox","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":{"login":"briancain","id":810277,"avatar_url":"https://avatars1.githubusercontent.com/u/810277?v=4","gravatar_id":"","url":"https://api.github.com/users/briancain","html_url":"https://github.com/briancain","followers_url":"https://api.github.com/users/briancain/followers","following_url":"https://api.github.com/users/briancain/following{/other_user}","gists_url":"https://api.github.com/users/briancain/gists{/gist_id}","starred_url":"https://api.github.com/users/briancain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briancain/subscriptions","organizations_url":"https://api.github.com/users/briancain/orgs","repos_url":"https://api.github.com/users/briancain/repos","events_url":"https://api.github.com/users/briancain/events{/privacy}","received_events_url":"https://api.github.com/users/briancain/received_events","type":"User","site_admin":false},"assignees":[{"login":"briancain","id":810277,"avatar_url":"https://avatars1.githubusercontent.com/u/810277?v=4","gravatar_id":"","url":"https://api.github.com/users/briancain","html_url":"https://github.com/briancain","followers_url":"https://api.github.com/users/briancain/followers","following_url":"https://api.github.com/users/briancain/following{/other_user}","gists_url":"https://api.github.com/users/briancain/gists{/gist_id}","starred_url":"https://api.github.com/users/briancain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briancain/subscriptions","organizations_url":"https://api.github.com/users/briancain/orgs","repos_url":"https://api.github.com/users/briancain/repos","events_url":"https://api.github.com/users/briancain/events{/privacy}","received_events_url":"https://api.github.com/users/briancain/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/hashicorp/vagrant/milestones/25","html_url":"https://github.com/hashicorp/vagrant/milestone/25","labels_url":"https://api.github.com/repos/hashicorp/vagrant/milestones/25/labels","id":2177589,"number":25,"title":"2.1","description":"Targeted for release within 2.1.x","creator":{"login":"chrisroberts","id":266674,"avatar_url":"https://avatars1.githubusercontent.com/u/266674?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisroberts","html_url":"https://github.com/chrisroberts","followers_url":"https://api.github.com/users/chrisroberts/followers","following_url":"https://api.github.com/users/chrisroberts/following{/other_user}","gists_url":"https://api.github.com/users/chrisroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisroberts/subscriptions","organizations_url":"https://api.github.com/users/chrisroberts/orgs","repos_url":"https://api.github.com/users/chrisroberts/repos","events_url":"https://api.github.com/users/chrisroberts/events{/privacy}","received_events_url":"https://api.github.com/users/chrisroberts/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":5,"state":"open","created_at":"2016-12-06T00:00:31Z","updated_at":"2018-05-11T21:12:08Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2018-02-28T11:25:58Z","updated_at":"2018-05-15T15:00:49Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nAfter upgrading to VirtualBox 5.2.8 today, some of my Vagrant-managed virtual machines simply refused to boot, with the `VBoxManage start-vm` command returning this error:\r\n\r\n```\r\nThere was an error while executing `VBoxManage`, a CLI used by Vagrant\r\nfor controlling VirtualBox. The command and stderr is shown below.\r\n\r\nCommand: [\"startvm\", \"af3e1b26-bc41-407e-847f-2f520ca237e6\", \"--type\", \"headless\"]\r\n\r\nStderr: VBoxManage: error: The specified string / bytes buffer was to small. Specify a larger one and retry. (VERR_CFGM_NOT_ENOUGH_SPACE)\r\nVBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole\r\n```\r\n\r\nAfter some research, I found the problem was the default name build by Vagrant for the impacted virtual machines was too long. Internal buffer size for this name may have been shortened in VirtualBox 5.2.8, as everything worked fine before upgrade.\r\n\r\nIt's an easy problem to fix, as you only need to [manually set the name of your VM](https://www.vagrantup.com/docs/virtualbox/configuration.html#virtual-machine-name), but maybe Vagrant can handle this in a better way, either with a more understandable error message or by building default names that will not exceed the limit.\r\n\r\nFor information, my impacted default machines names were 78 and 79 chars long.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/hashicorp/vagrant/issues/comments/389199371","html_url":"https://github.com/hashicorp/vagrant/issues/9524#issuecomment-389199371","issue_url":"https://api.github.com/repos/hashicorp/vagrant/issues/9524","id":389199371,"user":{"login":"chrisroberts","id":266674,"avatar_url":"https://avatars1.githubusercontent.com/u/266674?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisroberts","html_url":"https://github.com/chrisroberts","followers_url":"https://api.github.com/users/chrisroberts/followers","following_url":"https://api.github.com/users/chrisroberts/following{/other_user}","gists_url":"https://api.github.com/users/chrisroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisroberts/subscriptions","organizations_url":"https://api.github.com/users/chrisroberts/orgs","repos_url":"https://api.github.com/users/chrisroberts/repos","events_url":"https://api.github.com/users/chrisroberts/events{/privacy}","received_events_url":"https://api.github.com/users/chrisroberts/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T15:00:49Z","updated_at":"2018-05-15T15:00:49Z","author_association":"COLLABORATOR","body":"@kosch Awesome, thanks for the confirmation! I had tracked it down to mostly likely being the cause in the vbox source, but wasn't able to reproduce it locally. "}}
{"actor":{"display_login":"chrisroberts"}}