Set glance limit for baremetal friendly images

The devstack default limit enforcement for glance defaults
to 1GB, and unfortunately this is too small for many to use
larger images such as centos which includes hardware firmware
images for execution on baremetal where drivers need the vendor
blobs in order to load/run.

Sets ironic-base to 5GB, and updates examples accordingly.

Depends-On: https://review.opendev.org/c/openstack/devstack/+/801309
Change-Id: I41294eb571d07a270a69e5b816cdbad530749a94
This commit is contained in:
Julia Kreger 2021-07-19 10:26:17 -07:00
parent 7b42258ab9
commit b5872c9032
4 changed files with 16 additions and 0 deletions

View File

@ -455,6 +455,9 @@ hardware type by default::
SERVICE_PASSWORD=password
SERVICE_TOKEN=password
# Set glance's default limit to be baremetal image friendly
GLANCE_LIMIT_IMAGE_SIZE_TOTAL=5000
# Enable Ironic plugin
enable_plugin ironic https://opendev.org/openstack/ironic
@ -539,6 +542,9 @@ Ironic will have enabled the ``direct`` :doc:`deploy interface
SWIFT_HASH=password
SWIFT_TEMPURL_KEY=password
# Set glance's default limit to be baremetal image friendly
GLANCE_LIMIT_IMAGE_SIZE_TOTAL=5000
# Enable Ironic plugin
enable_plugin ironic https://opendev.org/openstack/ironic

View File

@ -33,6 +33,9 @@ description for DevStack is at :ref:`deploy_devstack`.
SWIFT_HASH=password
SWIFT_TEMPURL_KEY=password
# Set glance's default limit to be baremetal image friendly
GLANCE_LIMIT_IMAGE_SIZE_TOTAL=5000
# Enable Neutron which is required by Ironic and disable nova-network.
disable_service n-net
disable_service n-novnc

View File

@ -80,6 +80,9 @@ configured in Neutron.
# Disable Tempest
disable_service tempest
# Set glance's default limit to be baremetal image friendly
GLANCE_LIMIT_IMAGE_SIZE_TOTAL=5000
# Swift temp URL's are required for the direct deploy interface.
SWIFT_ENABLE_TEMPURLS=True

View File

@ -56,6 +56,10 @@
Q_ML2_TENANT_NETWORK_TYPE: vxlan
Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
SERVICE_TIMEOUT: 90
# NOTE(TheJulia): Devstack default glance limit is 1GB, we need
# something more like 5GB for baremetal jobs due to image sizes
# with firmware.
GLANCE_LIMIT_IMAGE_SIZE_TOTAL: 5000
devstack_plugins:
ironic: https://opendev.org/openstack/ironic
tempest_plugins: