
The IPA ramdisk and kernel images may be built or downloaded via a URL. If the latter option is used, any images previously downloaded to $KOLLA_CONFIG_PATH/config/ironic/ironic-agent.* would previously not be updated if the image contents change. This change introduces variables for setting a URL to a file containing checksums for the images. The algorithm used to compute the checksum is also configurable (default sha256). This allows us to ensure we are using the correct version of the image, while avoiding an expensive few hundred megabyte image download just to check. If a checksum is not specified, the image will be downloaded every time to ensure that it is up to date. Change-Id: I8120518ed98d61f3652f5205ce7ec9f798ab2aa1 Story: 2001660 Task: 6693
53 lines
1.6 KiB
YAML
53 lines
1.6 KiB
YAML
---
|
|
# Path to virtualenv in which to install shade and its dependencies.
|
|
ipa_images_venv:
|
|
|
|
# Authentication type compatible with the 'os_image' Ansible module's
|
|
# auth_type argument.
|
|
ipa_images_openstack_auth_type:
|
|
|
|
# Authentication parameters compatible with the 'os_image' Ansible module's
|
|
# auth argument.
|
|
ipa_images_openstack_auth: {}
|
|
|
|
# Authentication parameters in environment variable form, as accepted by the
|
|
# openstack client.
|
|
ipa_images_openstack_auth_env: {}
|
|
|
|
# Path to directory in which to store downloaded images.
|
|
ipa_images_cache_path:
|
|
|
|
# Name of Ironic deployment kernel image to register in Glance.
|
|
ipa_images_kernel_name:
|
|
|
|
# URL of Ironic deployment kernel image to download. If unset, an existing
|
|
# image in ipa_images_cache_path will be used.
|
|
ipa_images_kernel_url:
|
|
|
|
# URL of checksum of Ironic deployment kernel image.
|
|
ipa_images_kernel_checksum_url:
|
|
|
|
# Algorithm of checksum of Ironic deployment kernel image.
|
|
ipa_images_kernel_checksum_algorithm:
|
|
|
|
# Name of Ironic deployment ramdisk image to register in Glance.
|
|
ipa_images_ramdisk_name:
|
|
|
|
# URL of Ironic deployment ramdisk image to download. If unset, an existing
|
|
# image in ipa_images_cache_path will be used.
|
|
ipa_images_ramdisk_url:
|
|
|
|
# URL of checksum of Ironic deployment ramdisk image.
|
|
ipa_images_ramdisk_checksum_url:
|
|
|
|
# Algorithm of checksum of Ironic deployment ramdisk image.
|
|
ipa_images_ramdisk_checksum_algorithm:
|
|
|
|
# Ansible host pattern for limiting which nodes are updated with deploy_ramdisk
|
|
# and deploy_kernel properties
|
|
ipa_images_compute_node_limit: baremetal-compute
|
|
|
|
# Whether or not to update the deploy_ramdisk and deploy_kernel Ironic node
|
|
# properties
|
|
ipa_images_update_ironic_nodes: False
|