Merge "Document possible access problems with custom IRONIC_VM_LOG_DIR path"

This commit is contained in:
Jenkins 2016-02-12 19:17:55 +00:00 committed by Gerrit Code Review
commit aa1f251b69

View File

@ -444,6 +444,16 @@ and uses the ``pxe_ssh`` driver by default::
END END
.. note::
When running QEMU as non-root user (e.g. ``qemu`` on Fedora or ``libvirt-qemu`` on Ubuntu),
make sure ``IRONIC_VM_LOG_DIR`` points to a directory where QEMU will be able to write.
You can verify this with, for example::
# on Fedora
sudo -u qemu touch $HOME/ironic-bm-logs/test.log
# on Ubuntu
sudo -u libvirt-qemu touch $HOME/ironic-bm-logs/test.log
Run stack.sh:: Run stack.sh::
./stack.sh ./stack.sh