b9a109c65f
On centos7.2, it doesn't happen every time, but sometimes, partprobe fails with error `Device or resource busy` in _fix_gpt_structs. In fact, this is not a problem, I tried ignoring this error and ran remain code. Things went well. The target of running `partprobe` is to check GPT table, we can run `sgdisk -v` instead. This patch is to replace `partprobe` command in _fix_gpt_structs to avoid `Device or resource busy` error. Change-Id: I43182f17b1c6229132814313f7582ab30245f6bb |
||
---|---|---|
doc/source | ||
etc/rootwrap.d | ||
ironic_lib | ||
playbooks/legacy | ||
zuul.d | ||
.gitignore | ||
.gitreview | ||
.stestr.conf | ||
CONTRIBUTING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
TESTING.rst | ||
lower-constraints.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
ironic_lib
Overview
A common library to be used exclusively by projects under the Ironic governance.
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