A python library of common ironic utilities.
Go to file
cheng b9a109c65f Check GPT table with sgdisk insread of partprobe
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
2018-08-22 18:39:31 +08:00
doc/source Update and replace http with https for doc links 2017-07-21 16:40:32 +08:00
etc/rootwrap.d Fix retrieval of config-2 existing partition 2017-01-11 14:55:40 -08:00
ironic_lib Check GPT table with sgdisk insread of partprobe 2018-08-22 18:39:31 +08:00
playbooks/legacy Do not run API (functional) tests in the CI 2018-06-27 12:36:05 +02:00
zuul.d add python 3.6 unit test job 2018-08-16 09:44:53 -04:00
.gitignore Remove testrepository 2018-07-11 18:16:12 +07:00
.gitreview Add .gitreview 2015-03-27 10:01:11 +01:00
.stestr.conf Migrate to stestr as unit tests runner 2017-09-26 09:22:22 -07:00
CONTRIBUTING.rst Change launchpad references to storyboard 2018-03-26 14:25:02 -07:00
LICENSE Initial commit for ironic-lib 2015-02-26 04:15:08 -08:00
MANIFEST.in Added project infrastructure needs. 2013-05-02 14:55:43 -04:00
README.rst Update and replace http with https for doc links 2017-07-21 16:40:32 +08:00
TESTING.rst Add prefix "$" for command examples 2016-09-28 22:19:51 +09:00
lower-constraints.txt Remove testrepository 2018-07-11 18:16:12 +07:00
requirements.txt Updated from global requirements 2018-03-26 08:04:49 +00:00
setup.cfg Correct url in setup.cfg for documentation path 2017-07-19 20:11:19 +00:00
setup.py Updated from global requirements 2017-03-02 11:45:33 +00:00
test-requirements.txt Switch to using stestr 2018-06-27 14:50:06 -04:00
tox.ini Switch to using stestr 2018-06-27 14:50:06 -04:00

README.rst

Team and repository tags

image

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