d2e477d396
Extended boot records (EBRs) are used in the MSDOS partitioning
scheme to manage extended partitions. EBRs are small partitions
themselves and Ironic will therefore treat them like any other
partition during cleaning. Since EBRs are smaller than a GPT
(33 sectors), dd'ing 33 sectors will fail. This patch proposes
a fix to handle EBRs (and other tiny paritions) by adjusting
the number of blocks writtent to be the partition size at max.
Story: #2008539
Task: #41628
Change-Id: Ie9809b3e4fe2bea6b66ee95c442111942e85d618
(cherry picked from commit
|
||
---|---|---|
doc/source | ||
etc/ironic/rootwrap.d | ||
ironic_lib | ||
releasenotes/notes | ||
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
ironic-lib
Team and repository tags
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 -r test-requirements.txt
$ stestr run