Vagrant 2.2.5
Fedora 30
not relevant
not relevant
vagrant version should have worked.
~~~
Vagrant failed to initialize at a very early stage:
VirtualBox is complaining that the kernel module is not loaded. Please
run VBoxManage --version or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.
~~~
2.2.3 to 2.2.5 using Fedora packagesvagrant versionHere is my plugin list:
~~~
$ vagrant plugin list
vagrant-libvirt (0.0.45, system)
vagrant-reload (0.0.1, global)
I did run vagrant plugin update after the package upgrade, it just worked.
But then vagrant version/up/etc fails.
I'm using vagrant-libvirt with QEMU/KVM, I don't really care about VirtualBox.
It was working fine before, why does it complain now ?
This brakes my workflow :(
Thanks Vagrant Team !
I had to downgrade vagrant to 2.2.3 to get it working:
~~~
â wenzel@strix î° ~ î° vagrant version
Vagrant failed to initialize at a very early stage:
VirtualBox is complaining that the kernel module is not loaded. Please
run VBoxManage --version or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.
â â wenzel@strix î° ~ î° sudo dnf downgrade vagrant
[sudo] Mot de passe de wenzel :Â
DerniĂšre vĂ©rification de lâexpiration des mĂ©tadonnĂ©es effectuĂ©e il y a 0:30:53 le dim. 08 sept. 2019 12:15:46 CEST.
Rétrogradation:
vagrant noarch 2.2.3-1.fc30 fedora 584 k
Retrograder 1 Paquet
Taille totale des téléchargements : 584 k
Voulez-vous continuer ? [o/N] : o
Téléchargement des paquets :
Total 807 kB/s | 584 kB 00:00
Test de la transaction
La vérification de la transaction a réussi.
Lancement de la transaction de test
Transaction de test réussie.
Exécution de la transaction
Préparation : 1/1
Exécution du scriptlet: vagrant-2.2.3-1.fc30.noarch 1/1
Exécution du scriptlet: vagrant-2.2.3-1.fc30.noarch 1/2
Rétrogradation : vagrant-2.2.3-1.fc30.noarch 1/2
Exécution du scriptlet: vagrant-2.2.3-1.fc30.noarch 1/2
Nettoyage de : vagrant-2.2.5-1.fc30.noarch 2/2
Exécution du scriptlet: vagrant-2.2.5-1.fc30.noarch 2/2
Exécution du scriptlet: vagrant-2.2.3-1.fc30.noarch 2/2
Vérification de : vagrant-2.2.3-1.fc30.noarch 1/2
Vérification de : vagrant-2.2.5-1.fc30.noarch 2/2
Rétrogradé:
vagrant-2.2.3-1.fc30.noarch
Terminé !
â wenzel@strix î° ~ î° vagrant version
==> vagrant: A new version of Vagrant is available: 2.2.5 (installed version: 2.2.3)!
==> vagrant: To upgrade visit: https://www.vagrantup.com/downloads.html
Installed Version: 2.2.3
Latest Version: 2.2.5
To upgrade to the latest version, visit the downloads page and
download and install the latest version of Vagrant from the URL
below:
https://www.vagrantup.com/downloads.html
If you're curious what changed in the latest release, view the
CHANGELOG below:
https://github.com/hashicorp/vagrant/blob/v2.2.5/CHANGELOG.md
â wenzel@strix î° ~ î°
~~~
@briancain if you need more information, I can provide, the bug is 100% reproductible.
Thanks.
After upgrade to 2.2.6 I have a same issue. OS: macOS 10.14.6
I reuninstall virtualbox and problem was disappeared.
It looks like this error was being generated because VirtualBox was installed on the system, but the modules were not installed which caused the provider check on VirtualBox to fail (the VBoxManage --version). Since this is just for a provider check, failure of the command should just remove the provider from the list of available providers on the system. Wrapping some error checking around the command should resolve this.
As a workaround, fixing the installed version of VirtualBox, or removing it, should resolve the issue. I believe explicitly defining the provider will also resolve it until a fix is in place.
Fixed via #10938
I'm going to lock this issue because it has been closed for _30 days_ âł. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Most helpful comment
@briancain if you need more information, I can provide, the bug is 100% reproductible.
Thanks.