I was following along in a RHCSA labs course and ran into the following error I can not seem to get past. I know someone else who successfully ran through the installation so I am curious what is going wrong for me. Below I have my Environment information and the steps I followed to recreate the error on my second machine.
My Environment Info:
OS: Ubuntu 22.04 Windows 10
Vagrant: 2.3.0 2.3.2
vboxmanage: 6.1.38 7.1
Steps to Repro:
Install virtualbox
Install vagrant
git clone https://github.com/rdbreak/rhcsa8env
cd rhcsa8env
vagrant up
Should get through setting up “server2” but then “repo” fails with following error.
Error:
=========================================================================================
==> repo: Importing base box ‘rdbreak/rhel8repo’…
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”, “/root/.vagrant.d/boxes/rdbreak-VAGRANTSLASH-rhel8repo/1.1/virtualbox/box.ovf”, “–vsys”, “0”, “–vmname”, “Red-Hat-Environments_default_1616276906523_91907_1667201066023_33079”, “–vsys”, “0”, “–unit”, “11”, “–disk”, “/root/VirtualBox VMs/Red-Hat-Environments_default_1616276906523_91907_1667201066023_33079/box-disk001.vmdk”]
Stderr: 0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100%
Interpreting /root/.vagrant.d/boxes/rdbreak-VAGRANTSLASH-rhel8repo/1.1/virtualbox/box.ovf…
OK.
0%…
Progress state: NS_ERROR_INVALID_ARG
VBoxManage: error: Appliance import failed
VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) – Invalid argument value (extended info not available)
VBoxManage: error: Context: “RTEXITCODE handleImportAppliance(HandlerArg*)” at line 1379 of file VBoxManageAppliance.cpp
=========================================================================================
This error comes when I attempt to import the virtual appliance to virtualbox so I am leaning towards virtualbox being the part having the issue but I have no idea what the issue is.
Things I’ve tried:
- I tried this on two different machines (Windows & Linux)
- Tried running
vagrant destroy -f
- Removed all boxes with
vagrant box remove <box-name>
- Removed vagrant project files (removed .vagrant from project directory)
- Cleared contents for virtual box (For Linux it was
~/.config/Virtualbox/
For windows it was~/Library/Virtualbox
) - Tried importing the .ova file manually with the virtualbox GUI.
Please Help. I have also read this could be due to not enough room on the disk or in memory but I have over 2 free Terabytes of storage and 37 GB of unused ram when I am hitting this error so I feel that can’t be reason.