{"action":"created","issue":{"url":"https://api.github.com/repos/sandstorm-io/vagrant-spk/issues/36","labels_url":"https://api.github.com/repos/sandstorm-io/vagrant-spk/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/sandstorm-io/vagrant-spk/issues/36/comments","events_url":"https://api.github.com/repos/sandstorm-io/vagrant-spk/issues/36/events","html_url":"https://github.com/sandstorm-io/vagrant-spk/issues/36","id":95688164,"number":36,"title":"vagrant-spk up failure","user":{"login":"ndarilek","id":1172,"avatar_url":"https://avatars.githubusercontent.com/u/1172?v=3","gravatar_id":"","url":"https://api.github.com/users/ndarilek","html_url":"https://github.com/ndarilek","followers_url":"https://api.github.com/users/ndarilek/followers","following_url":"https://api.github.com/users/ndarilek/following{/other_user}","gists_url":"https://api.github.com/users/ndarilek/gists{/gist_id}","starred_url":"https://api.github.com/users/ndarilek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndarilek/subscriptions","organizations_url":"https://api.github.com/users/ndarilek/orgs","repos_url":"https://api.github.com/users/ndarilek/repos","events_url":"https://api.github.com/users/ndarilek/events{/privacy}","received_events_url":"https://api.github.com/users/ndarilek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-17T16:04:21Z","updated_at":"2015-07-17T23:48:22Z","closed_at":null,"body":"This is with a freshly-created `vagrant-spk setupvm meteor`:\r\n\r\nBringing machine 'default' up with 'virtualbox' provider...\r\n==> default: Importing base box 'debian/jessie64'...\r\n\r\n\u001B[KProgress: 20%\r\n\u001B[KProgress: 30%\r\n\u001B[KProgress: 40%\r\n\u001B[KProgress: 90%\r\n\u001B[K==> default: Matching MAC address for NAT networking...\r\n==> default: Checking if box 'debian/jessie64' is up to date...\r\n==> default: Setting the name of the VM: sandstorm_default_1437148847579_3526\r\n==> default: Clearing any previously set network interfaces...\r\n==> default: Preparing network interfaces based on configuration...\r\n    default: Adapter 1: nat\r\n==> default: Forwarding ports...\r\n    default: 6080 => 6080 (adapter 1)\r\n    default: 22 => 2222 (adapter 1)\r\n==> default: Running 'pre-boot' VM customizations...\r\n==> default: Booting VM...\r\n==> default: Waiting for machine to boot. This may take a few minutes...\r\n    default: SSH address: 127.0.0.1:2222\r\n    default: SSH username: vagrant\r\n    default: SSH auth method: private key\r\n    default: Warning: Connection timeout. Retrying...\r\n    default: \r\n    default: Vagrant insecure key detected. Vagrant will automatically replace\r\n    default: this with a newly generated keypair for better security.\r\n    default: \r\n    default: Inserting generated public key within guest...\r\n    default: Removing insecure key from the guest if it's present...\r\n    default: Key inserted! Disconnecting and reconnecting using new SSH key...\r\n==> default: Machine booted and ready!\r\n==> default: Checking for guest additions in VM...\r\n    default: The guest additions on this VM do not match the installed version of\r\n    default: VirtualBox! In most cases this is fine, but in rare cases it can\r\n    default: prevent things such as shared folders from working properly. If you see\r\n    default: shared folder errors, please make sure the guest additions within the\r\n    default: virtual machine match the version of VirtualBox you have installed on\r\n    default: your host and reload your VM.\r\n    default: \r\n    default: Guest Additions Version: 4.3.18\r\n    default: VirtualBox Version: 5.0\r\n==> default: Mounting shared folders...\r\n    default: /opt/app => C:/Users/nolan/Projects/Scheduler\r\nThe following SSH command responded with a non-zero exit status.\r\nVagrant assumes that this means the command failed!\r\n\r\nchown `id -u vagrant`:`id -g vagrant` /opt/app\r\n\r\nStdout from the command:\r\n\r\n\r\n\r\nStderr from the command:\r\n\r\nstdin: is not a tty\r\nchown: changing ownership of ‘/opt/app’: Not a directory\r\nCalling 'vagrant' 'up' in c:\\users\\nolan\\Projects\\Scheduler\\.sandstorm\r\nTraceback (most recent call last):\r\n  File \"c:/users/nolan/appdata/local/bin/vagrant-spk\", line 779, in <module>\r\n    main()\r\n  File \"c:/users/nolan/appdata/local/bin/vagrant-spk\", line 776, in main\r\n    operation(args)\r\n  File \"c:/users/nolan/appdata/local/bin/vagrant-spk\", line 699, in bring_up_vm\r\n    call_vagrant_command(sandstorm_dir, \"up\")\r\n  File \"c:/users/nolan/appdata/local/bin/vagrant-spk\", line 620, in call_vagrant_command\r\n    return subprocess.check_call(command, cwd=sandstorm_dir)\r\n  File \"C:\\python2\\Lib\\subprocess.py\", line 540, in check_call\r\n    raise CalledProcessError(retcode, cmd)\r\nsubprocess.CalledProcessError: Command '['vagrant', 'up']' returned non-zero exit status 1\r\n\r\nThe second `vagrant-spk up` works, claiming that VirtualBox is already running. Though I don't know what state it's in; perhaps failure to launch the VM should run halt, and up should always attempt a provision? Or an up that fails to create the VM should halt and destroy so Vagrant won't be in an inconsistent state?"},"comment":{"url":"https://api.github.com/repos/sandstorm-io/vagrant-spk/issues/comments/122455221","html_url":"https://github.com/sandstorm-io/vagrant-spk/issues/36#issuecomment-122455221","issue_url":"https://api.github.com/repos/sandstorm-io/vagrant-spk/issues/36","id":122455221,"user":{"login":"ndarilek","id":1172,"avatar_url":"https://avatars.githubusercontent.com/u/1172?v=3","gravatar_id":"","url":"https://api.github.com/users/ndarilek","html_url":"https://github.com/ndarilek","followers_url":"https://api.github.com/users/ndarilek/followers","following_url":"https://api.github.com/users/ndarilek/following{/other_user}","gists_url":"https://api.github.com/users/ndarilek/gists{/gist_id}","starred_url":"https://api.github.com/users/ndarilek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndarilek/subscriptions","organizations_url":"https://api.github.com/users/ndarilek/orgs","repos_url":"https://api.github.com/users/ndarilek/repos","events_url":"https://api.github.com/users/ndarilek/events{/privacy}","received_events_url":"https://api.github.com/users/ndarilek/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T23:48:22Z","updated_at":"2015-07-17T23:48:22Z","body":"Ah, sorry, missed that. Anyhow, still getting:\n\nThe following SSH command responded with a non-zero exit status.\nVagrant assumes that this means the command failed!\n\nchown `id -u vagrant`:`id -g vagrant` /opt/app\n\nStdout from the command:\n\n\n\nStderr from the command:\n\nstdin: is not a tty\nchown: changing ownership of ???/opt/app???: Not a directory\n\n\nThis is with the plugin installed and the Vagrantfile modified. I don't\nsee a warning about missing guest additions. Additionally, when I SSH\ninto the VM, `ls /opt/app` gives \"Operation not permitted,\" even as root.\n"}}