P:minishift-1.28.0-windows-amd64>minishift start --vm-driver virtualbox --show-libmachine-logs -v5 2>log3.txt
Found binary path at minishift.exe
Launching plugin server for driver virtualbox
Plugin server listening at address 127.0.0.1:52073
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(minishift) Calling .GetState
(minishift) DBG | COMMAND: C:Program FilesOracleVirtualBoxVBoxManage.exe showvminfo minishift --machinereadable
(minishift) DBG | STDOUT:
(minishift) DBG | {
(minishift) DBG | }
(minishift) DBG | STDERR:
(minishift) DBG | {
(minishift) DBG | VBoxManage.exe: error: Could not find a registered machine named 'minishift'
(minishift) DBG | VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee IUnknown
(minishift) DBG | VBoxManage.exe: error: Context: "FindMachine(Bstr(VMNameOrUuid).raw(), machine.asOutParam())" at line 2834 of file VBoxManageInfo.cpp
(minishift) DBG | }
Error getting machine state: machine does not exist
Found binary path at minishift.exe
Launching plugin server for driver virtualbox
Plugin server listening at address 127.0.0.1:52088
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(minishift) Calling .GetState
(minishift) DBG | COMMAND: C:Program FilesOracleVirtualBoxVBoxManage.exe showvminfo minishift --machinereadable
(minishift) DBG | STDOUT:
(minishift) DBG | {
(minishift) DBG | }
(minishift) DBG | STDERR:
(minishift) DBG | {
(minishift) DBG | VBoxManage.exe: error: Could not find a registered machine named 'minishift'
(minishift) DBG | VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee IUnknown
(minishift) DBG | VBoxManage.exe: error: Context: "FindMachine(Bstr(VMNameOrUuid).raw(), machine.asOutParam())" at line 2834 of file VBoxManageInfo.cpp
(minishift) DBG | }
E1214 19:31:18.917329 14868 start.go:493] Error starting the VM: Error getting the state for host: machine does not exist. Retrying.
Error starting the VM: Error getting the state for host: machine does not exist
I’m trying to create mini DCOS cluster in Mac OS.
My minidcos version is —
$ minidcos --version
minidcos, version 2019.02.17.1
When I run the below command to create the cluster I get the error —
$ minidcos vagrant create ./dcos_generate_config.sh --agents 0
Bringing machine 'dcos-e2e-f2c21a1a-a220-4a33-a528-493a11f16440-master-0' up with 'virtualbox' provider...
Bringing machine 'dcos-e2e-f2c21a1a-a220-4a33-a528-493a11f16440-public-agent-0' up with 'virtualbox' provider...
==> dcos-e2e-f2c21a1a-a220-4a33-a528-493a11f16440-master-0: Importing base box 'mesosphere/dcos-centos-virtualbox'...
Progress: 90%There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["import", "/Users/rajkumar.natarajan/.vagrant.d/boxes/mesosphere-VAGRANTSLASH-dcos-centos-virtualbox/0.9.2/virtualbox/box.ovf", "--vsys", "0", "--vmname", "packer-virtualbox-iso-1500059987_1551037690830_88506", "--vsys", "0", "--unit", "8", "--disk", "/Users/rajkumar.natarajan/VirtualBox VMs/packer-virtualbox-iso-1500059987_1551037690830_88506/packer-virtualbox-iso-1500059987-disk001.vmdk"]
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /Users/rajkumar.natarajan/.vagrant.d/boxes/mesosphere-VAGRANTSLASH-dcos-centos-virtualbox/0.9.2/virtualbox/box.ovf...
OK.
0%...
Progress state: VBOX_E_OBJECT_NOT_FOUND
VBoxManage: error: Appliance import failed
VBoxManage: error: Error opening '/Users/rajkumar.natarajan/.vagrant.d/boxes/mesosphere-VAGRANTSLASH-dcos-centos-virtualbox/0.9.2/virtualbox/packer-virtualbox-iso-1500059987-disk001.vmdk' for reading (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component ApplianceWrap, interface IAppliance
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg *)" at line 886 of file VBoxManageAppliance.cpp
Error creating cluster.
Full error:
Command '['/usr/local/bin/vagrant', 'up']' returned non-zero exit status 1.
Try "minidcos vagrant doctor" for troubleshooting help.
I’m not sure what is the root cause of this error?
I’m trying to create mini DCOS cluster in Mac OS.
My minidcos version is —
$ minidcos --version
minidcos, version 2019.02.17.1
When I run the below command to create the cluster I get the error —
$ minidcos vagrant create ./dcos_generate_config.sh --agents 0
Bringing machine 'dcos-e2e-f2c21a1a-a220-4a33-a528-493a11f16440-master-0' up with 'virtualbox' provider...
Bringing machine 'dcos-e2e-f2c21a1a-a220-4a33-a528-493a11f16440-public-agent-0' up with 'virtualbox' provider...
==> dcos-e2e-f2c21a1a-a220-4a33-a528-493a11f16440-master-0: Importing base box 'mesosphere/dcos-centos-virtualbox'...
Progress: 90%There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["import", "/Users/rajkumar.natarajan/.vagrant.d/boxes/mesosphere-VAGRANTSLASH-dcos-centos-virtualbox/0.9.2/virtualbox/box.ovf", "--vsys", "0", "--vmname", "packer-virtualbox-iso-1500059987_1551037690830_88506", "--vsys", "0", "--unit", "8", "--disk", "/Users/rajkumar.natarajan/VirtualBox VMs/packer-virtualbox-iso-1500059987_1551037690830_88506/packer-virtualbox-iso-1500059987-disk001.vmdk"]
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /Users/rajkumar.natarajan/.vagrant.d/boxes/mesosphere-VAGRANTSLASH-dcos-centos-virtualbox/0.9.2/virtualbox/box.ovf...
OK.
0%...
Progress state: VBOX_E_OBJECT_NOT_FOUND
VBoxManage: error: Appliance import failed
VBoxManage: error: Error opening '/Users/rajkumar.natarajan/.vagrant.d/boxes/mesosphere-VAGRANTSLASH-dcos-centos-virtualbox/0.9.2/virtualbox/packer-virtualbox-iso-1500059987-disk001.vmdk' for reading (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component ApplianceWrap, interface IAppliance
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg *)" at line 886 of file VBoxManageAppliance.cpp
Error creating cluster.
Full error:
Command '['/usr/local/bin/vagrant', 'up']' returned non-zero exit status 1.
Try "minidcos vagrant doctor" for troubleshooting help.
I’m not sure what is the root cause of this error?