Skip to content
Snippets Groups Projects
Commit 04d97cda authored by Piotr Parczewski's avatar Piotr Parczewski
Browse files

Add support for root filesystem UUID customisation

Depends-on: https://review.opendev.org/c/openstack/bifrost/+/819785
Change-Id: I37b9d18f0523c121357c5a37ec6fc458209f8e79
parent 2f1aed03
No related branches found
No related tags found
No related merge requests found
...@@ -65,6 +65,12 @@ kolla_bifrost_dib_packages: [] ...@@ -65,6 +65,12 @@ kolla_bifrost_dib_packages: []
# Name of disk image file to deploy. Default is "deployment_image.qcow2". # Name of disk image file to deploy. Default is "deployment_image.qcow2".
kolla_bifrost_deploy_image_filename: "deployment_image.qcow2" kolla_bifrost_deploy_image_filename: "deployment_image.qcow2"
# UUID of the root filesystem contained within the deployment image.
# See below URL for instructions on how to extract it:
# https://docs.openstack.org/ironic/latest/admin/raid.html#image-requirements
# Default is none.
kolla_bifrost_deploy_image_rootfs:
############################################################################### ###############################################################################
# Ironic configuration. # Ironic configuration.
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
bifrost_hostvars: bifrost_hostvars:
addressing_mode: static addressing_mode: static
deploy_image_filename: "{{ kolla_bifrost_deploy_image_filename }}" deploy_image_filename: "{{ kolla_bifrost_deploy_image_filename }}"
deploy_image_rootfs: "{{ kolla_bifrost_deploy_image_rootfs | default(omit, true) }}"
ipv4_interface_mac: "{% raw %}{{ extra.pxe_interface_mac | default }}{% endraw %}" ipv4_interface_mac: "{% raw %}{{ extra.pxe_interface_mac | default }}{% endraw %}"
ipv4_address: "{{ admin_oc_net_name | net_ip }}" ipv4_address: "{{ admin_oc_net_name | net_ip }}"
ipv4_subnet_mask: "{{ admin_oc_net_name | net_mask }}" ipv4_subnet_mask: "{{ admin_oc_net_name | net_mask }}"
......
...@@ -65,6 +65,12 @@ ...@@ -65,6 +65,12 @@
# Name of disk image file to deploy. Default is "deployment_image.qcow2". # Name of disk image file to deploy. Default is "deployment_image.qcow2".
#kolla_bifrost_deploy_image_filename: #kolla_bifrost_deploy_image_filename:
# UUID of the root filesystem contained within the deployment image.
# See below URL for instructions on how to extract it:
# https://docs.openstack.org/ironic/latest/admin/raid.html#image-requirements
# Default is none.
#kolla_bifrost_deploy_image_rootfs:
############################################################################### ###############################################################################
# Ironic configuration. # Ironic configuration.
......
---
features:
- |
Adds support for setting root filesystem's UUID via a new variable
``kolla_bifrost_deploy_image_rootfs``. This is useful when deploying
overcloud hosts with software RAID based root disk devices.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment