6c273960d5
ironic-lib will use the command set in the new 'root_helper' conf parameter to execute commands as root user. If this configuration paramter is not specified, ironic-lib will execute commands with run_as_root=False. This configuration is not set by default. 'rootwrap_config' and 'rootwrap_helper_cmd' configs are deleted, since they are replaced by the new 'root_helper' config. This fix also delivers a sample ironic-lib.filters file, which should be used with rootwrap command. Change-Id: I61ef7c15237c995e9d4cc85095ac48a30a8f6c7d Closes-bug: #1515943 |
||
---|---|---|
etc/rootwrap.d | ||
ironic_lib | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
TESTING.rst | ||
openstack-common.conf | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
ironic_lib
Overview
A common library to be used by various projects in the Ironic ecosystem.
Running Tests
To run tests in virtualenvs (preferred):
sudo pip install tox
tox
To run tests in the current environment:
sudo pip install -r requirements.txt
nosetests