Hello there,
I am new to Vagrant and having following error which I couldn’t resolve.
I am using a VM which has Ubuntu 22.04 with the following specs:
Disk Size: 72.64GB
Memory: 8 GB
Number of Processors: 4
I got Virtualbox on VM which has following version.
6.1.38_Ubuntur153438
I took the Vagrant code from git repo (GitHub - kodekloudhub/certified-kubernetes-administrator-course: Certified Kubernetes Administrator - CKA Course)
I tried to run the command ‘vagrant up’ which gives the following error after 90% progress
There was an error while executing VBoxManage
, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: [“import”, “/home/umar/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-bionic64/20230329.0.0/virtualbox/box.ovf”, “–vsys”, “0”, “–vmname”, “ubuntu-bionic-18.04-cloudimg-20230329_1680700249939_28521”, “–vsys”, “0”, “–unit”, “13”, “–disk”, “/home/umar/VirtualBox VMs/ubuntu-bionic-18.04-cloudimg-20230329_1680700249939_28521/ubuntu-bionic-18.04-cloudimg.vmdk”, “–vsys”, “0”, “–unit”, “14”, “–disk”, “/home/umar/VirtualBox VMs/ubuntu-bionic-18.04-cloudimg-20230329_1680700249939_28521/ubuntu-bionic-18.04-cloudimg-configdrive.vmdk”]
Stderr: 0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100%
Interpreting /home/umar/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-bionic64/20230329.0.0/virtualbox/box.ovf…
OK.
0%…
Progress state: VBOX_E_INVALID_OBJECT_STATE
VBoxManage: error: Appliance import failed
VBoxManage: error: Storage for the medium ‘/home/umar/VirtualBox VMs/ubuntu-bionic-18.04-cloudimg-20230329_1680700249939_28521/ubuntu-bionic-18.04-cloudimg.vmdk’ is not created
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component ApplianceWrap, interface IAppliance
VBoxManage: error: Context: “RTEXITCODE handleImportAppliance(HandlerArg*)” at line 1379 of file VBoxManageAppliance.cpp