ab0492a364
When using whole disk images, one generally wants the *virtual* size of the image to be close to the size of the overcloud nodes' physical disks (since no partition/logical volume/filesystem expansion is done). As an example, one might end up with a 4GB overcloud image (QCOW file) that has a virtual size of 100GB or more. Ironic uses qemu-img to convert this QCOW file to a "raw" image, which is a *sparse* file. When the image is copied to an overcloud node's disk (via iSCSI), we currently write all 100GB (mainly of zeroes) across the network to the node's disk. Adding conv=sparse to the dd command makes it skip the "holes" in the image file; it will only the write the portions of the image that actually contain data across the network. Closes-Bug #1743651 Change-Id: Ief3688b210c3b19ce8be45c5f9571b7ba6e79127 |
||
---|---|---|
doc/source | ||
etc/rootwrap.d | ||
ironic_lib | ||
playbooks/legacy | ||
zuul.d | ||
.gitignore | ||
.gitreview | ||
.stestr.conf | ||
CONTRIBUTING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
TESTING.rst | ||
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