Warning about tox not working in Vagrant setup

Adds a warning to the vagrant setup section of the devstack setup
documentation. The warning states that tox will not be able to run
if the user sets up shared folders. It also provides instructions
on disabling shared folders.

Change-Id: I776004da8ab86760eaeaef7957c9bfba111d2f36
This commit is contained in:
Fernando Diaz 2016-01-06 19:46:05 +00:00
parent 6bf700d99e
commit c75c3a08fb
2 changed files with 11 additions and 1 deletions

View File

@ -14,6 +14,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.network "forwarded_port", guest: 5000, host: 5000 config.vm.network "forwarded_port", guest: 5000, host: 5000
config.vm.provision "shell", path: "install_devstack.sh" config.vm.provision "shell", path: "install_devstack.sh"
# Create Synced Folder
config.vm.synced_folder "./devstack", "/opt/stack", create: true config.vm.synced_folder "./devstack", "/opt/stack", create: true
config.vm.provider "virtualbox" do |v| config.vm.provider "virtualbox" do |v|

View File

@ -25,6 +25,14 @@ To simplify the setup process of running Barbican on DevStack, there is a
Vagrantfile that will automatically setup up a VM containing Barbican Vagrantfile that will automatically setup up a VM containing Barbican
running on Devstack. running on Devstack.
.. warning::
Upon following these steps, you will not be able to use tox tools
if you setup a shared folder. This is because making hard-links is
required, but not permitted if the project is in a shared folder.
If you wish to use tox, comment out the `Create Synced Folder`
section in `barbican/devstack/barbican-vagrant/Vagrantfile`.
1. Obtain Barbican vagrant file 1. Obtain Barbican vagrant file
If you don't already have the file then clone the repo below If you don't already have the file then clone the repo below