You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 29, 2018. It is now read-only.
There is a small subtlety with the libvirt vagrant provider that many people aren't aware of.
On the first vagrant up the vagrant box will be uploaded to the libvirt storage pool and then used as a backing device for the vm that gets started. So now you have the vagrant box file (lives in the .vagrant.d directory) as well as a file in the libvirt storage pool.
The problem comes about when you remove/re-add a box to a machine. When you remove the box, it removes the box from vagrant but it does not remove the box from the libvirt storage pool. If you subsequently re-add the box (a newer version this time) to vagrant and perform a vagrant up then no box gets uploaded because there is already a "backing image" in libvirt with that name.
What this leads to is people thinking they have the latest version of the CDK/ADB installed, but really using something that is old as dirt.
We need to somehow resolve this in the vagrant-libvirt provider or come up with some other, client side way of verifying things.
Context
There is a small subtlety with the libvirt vagrant provider that many people aren't aware of.
On the first
vagrant up
the vagrant box will be uploaded to the libvirt storage pool and then used as a backing device for the vm that gets started. So now you have the vagrant box file (lives in the .vagrant.d directory) as well as a file in the libvirt storage pool.The problem comes about when you remove/re-add a box to a machine. When you remove the box, it removes the box from vagrant but it does not remove the box from the libvirt storage pool. If you subsequently re-add the box (a newer version this time) to vagrant and perform a
vagrant up
then no box gets uploaded because there is already a "backing image" in libvirt with that name.What this leads to is people thinking they have the latest version of the CDK/ADB installed, but really using something that is old as dirt.
We need to somehow resolve this in the vagrant-libvirt provider or come up with some other, client side way of verifying things.
Reference: https://www.redhat.com/archives/devtools/2016-June/msg00000.html
Upstream Issue: vagrant-libvirt/vagrant-libvirt#85
Current Workaround
The text was updated successfully, but these errors were encountered: