Document new properties used by Ironic
* rootfs_uuid (introduced a while ago) specifies which partition of a whole-disk image is a root. * img_type specifies whether the image is a whole-disk or a partition image. Currently Ironic uses kernel_id/ramdisk_id to decide that, but this logic only makes sense when booting instances from network. img_type will be introduced by https://review.opendev.org/c/openstack/ironic/+/825305 Change-Id: Idd0d38fc312d08a99b5f5b2072cc991bc4575719
This commit is contained in:
parent
71c1e4b18a
commit
c158e0f567
@ -13,6 +13,9 @@ the behavior of those other services. For example:
|
|||||||
* Image properties can be used to affect the behavior of particular Nova
|
* Image properties can be used to affect the behavior of particular Nova
|
||||||
hypervisors
|
hypervisors
|
||||||
|
|
||||||
|
* Image properties can be used to provide additional information to Ironic
|
||||||
|
(even when Nova is not used)
|
||||||
|
|
||||||
Using image properties
|
Using image properties
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
@ -155,6 +158,22 @@ Here is a list of useful image properties and the values they expect.
|
|||||||
- ``mandatory``
|
- ``mandatory``
|
||||||
- ``optional`` (default if property is not used)
|
- ``optional`` (default if property is not used)
|
||||||
|
|
||||||
|
``img_type``
|
||||||
|
:Type: str
|
||||||
|
|
||||||
|
Specifies the partitioning type of the image. The default value is
|
||||||
|
``partition`` if the ``kernel_id``/``ramdisk_id`` properties are present,
|
||||||
|
otherwise ``whole-disk``.
|
||||||
|
|
||||||
|
One of:
|
||||||
|
|
||||||
|
- ``whole-disk`` - an image with a partition table embedded.
|
||||||
|
- ``partition`` - an image with only the root partition without a partition
|
||||||
|
table.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
This property is currently only recognized by Ironic.
|
||||||
|
|
||||||
``kernel_id``
|
``kernel_id``
|
||||||
:Type: str
|
:Type: str
|
||||||
|
|
||||||
@ -251,6 +270,12 @@ Here is a list of useful image properties and the values they expect.
|
|||||||
|
|
||||||
The value must be a valid image ID.
|
The value must be a valid image ID.
|
||||||
|
|
||||||
|
``rootfs_uuid``
|
||||||
|
For whole-disk images (see ``img_type`` above), the UUID of the root
|
||||||
|
partition.
|
||||||
|
|
||||||
|
This property is used by Ironic when configuring software RAID.
|
||||||
|
|
||||||
``trait:<trait_name>``
|
``trait:<trait_name>``
|
||||||
:Type: str
|
:Type: str
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user