Using Latest Release, cannot run nodes 1 and 2 in the Example
dlwhitehurst opened this issue · 1 comments
dlwhitehurst commented
I would love to help with this project if I could actually get this to work on my macbook pro using VirtualBox 6.1. My VMs always fail to start. I've tried more recent Ubuntu images, various network adapter configs, but I cannot get an example to even start. Am I missing something here?
Here's my log output using export TF_LOG=DEBUG
virtualbox_vm.node[1]: Still creating... [1m20s elapsed]
2022-01-28T15:48:31.470-0500 [WARN] unexpected data: registry.terraform.io/terra-farm/virtualbox:stderr="VBoxManage: error: The virtual machine 'node-02' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine"
2022-01-28T15:48:31.481-0500 [WARN] unexpected data: registry.terraform.io/terra-farm/virtualbox:stdout="Waiting for VM "node-02" to power on..."
2022-01-28T15:48:31.482-0500 [DEBUG] provider.terraform-provider-virtualbox_v0.2.2-alpha.1: pid-4175-utils.go:12: [ERROR] Starting VM: exit status 1
2022-01-28T15:48:31.495-0500 [ERROR] vertex "virtualbox_vm.node[1]" error: [ERROR] Starting VM: exit status 1
╷
│ Error: [ERROR] Starting VM: exit status 1
│
│ with virtualbox_vm.node[0],
│ on main.tf line 14, in resource "virtualbox_vm" "node":
│ 14: resource "virtualbox_vm" "node" {
│
╵
╷
│ Error: [ERROR] Starting VM: exit status 1
│
│ with virtualbox_vm.node[1],
│ on main.tf line 14, in resource "virtualbox_vm" "node":
│ 14: resource "virtualbox_vm" "node" {
│
╵
2022-01-28T15:48:31.507-0500 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-01-28T15:48:31.509-0500 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/terra-farm/virtualbox/0.2.2-alpha.1/darwin_amd64/terraform-provider-virtualbox_v0.2.2-alpha.1 pid=4175
2022-01-28T15:48:31.509-0500 [DEBUG] provider: plugin exited
dlwhitehurst commented
For kicks I went to VirtualBox UI and where I had node-01 and node-02, I thought I would try to start the VM that way. I immediately was given an error dialog that said: Kernel driver not install (rc=1908). I've seen a solution to this and I'm going to close this issue.