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 Reproduce:
- Install VirtualBox
- Install Vagrant
git clone https://github.com/rdbreak/rhcsa8envcd rhcsa8envvagrant up
Should get through setting up "server2" but then "repo" fails with following error.
The Error:
===========================================================================================> repo: Importing base box 'rdbreak/rhel8repo'...Progress: 90%There was an error while executing `VBoxManage`, a CLI used by Vagrantfor 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_ARGVBoxManage: error: Appliance import failedVBoxManage: 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.
What else can I do to fix this?
I have also read this could be due to not enough room on the disk or in memory but I have over 2 TB of free storage and 37 GB of unused RAM when I am hitting this error so I feel that can't be reason.