A python library of common ironic utilities.
Go to file
Arne Wiebalck d2e477d396 Handle EBRs and tiny partitions when removing metadata
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 9a60d3853f)
2021-02-22 14:49:53 +01:00
doc/source Build pdf doc 2019-09-06 08:45:32 +08:00
etc/ironic/rootwrap.d Move ironic-lib.filters to etc/ironic/rootwrap.d 2019-09-25 17:01:26 +02:00
ironic_lib Handle EBRs and tiny partitions when removing metadata 2021-02-22 14:49:53 +01:00
releasenotes/notes Handle EBRs and tiny partitions when removing metadata 2021-02-22 14:49:53 +01:00
zuul.d Remove lower-constraints job 2020-12-17 16:11:15 +01:00
.gitignore Remove testrepository 2018-07-11 18:16:12 +07:00
.gitreview Update .gitreview for stable/ussuri 2020-04-10 11:59:54 +00: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 Correct headings in README.rst 2018-09-27 13:57:58 +02:00
TESTING.rst Updating testing doc to py3 2019-11-29 09:53:56 +01:00
lower-constraints.txt Bump hacking to 3.0.0 2020-03-30 11:34:27 +02:00
requirements.txt Stop using six library 2019-12-06 01:49:46 +01:00
setup.cfg Include rootwrap.d/ironic-lib.filters in package 2020-01-22 10:41:33 +01:00
setup.py Updated from global requirements 2017-03-02 11:45:33 +00:00
test-requirements.txt Bump hacking to 3.0.0 2020-03-30 11:34:27 +02:00
tox.ini Update TOX/UPPER_CONSTRAINTS_FILE for stable/ussuri 2020-04-10 11:59:56 +00:00

README.rst

ironic-lib

Team and repository tags

image

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