How to make a Pulp Vagrant env with a very large disk
Vagrant has significantly lowered the barrier to starting on Pulp development. However, when I needed to reproduce an error that only occured when syncing a large repository, I discovered that the default size of the the virtual machine created from the Vagrantfile in the devel repository did not have a large enough disk to handle such a use case. The first step in resolving this problem was an update to my Vagrantfile specifying a larger disk size. Once I did that I discovered that the default location where libvirt stores disk images backing virtual machines did not have the amount of space I needed. However, my home directory did have the space. So I configured libvirt to use my home directory for storage. Below are the notes that I saved from that experience.
At this point every time I start a virtual machine using libvirt, the disk image backing that
machine will be stored in /home/dkliban/libvirtimages
.