b8d1bda4c6
Ironic-inspector database is a default config for our devstack deploy. Sometimes we won't to use Swift, and directly use database for store data. This patch adds a variable for introspection store_data. Depends-On: https://review.opendev.org/#/c/658238/ Change-Id: I6a8888b778f517bee49705ee74463ae39b2b9163
73 lines
2.4 KiB
Plaintext
73 lines
2.4 KiB
Plaintext
[[local|localrc]]
|
|
# Credentials
|
|
# Reference: https://docs.openstack.org/devstack/latest/configuration.html
|
|
ADMIN_PASSWORD=password
|
|
DATABASE_PASSWORD=$ADMIN_PASSWORD
|
|
RABBIT_PASSWORD=$ADMIN_PASSWORD
|
|
SERVICE_PASSWORD=$ADMIN_PASSWORD
|
|
SERVICE_TOKEN=$ADMIN_PASSWORD
|
|
SWIFT_HASH=$ADMIN_PASSWORD
|
|
SWIFT_TEMPURL_KEY=$ADMIN_PASSWORD
|
|
|
|
# Enable Neutron which is required by Ironic and disable nova-network.
|
|
disable_service n-net n-novnc
|
|
enable_service neutron q-svc q-agt q-dhcp q-l3 q-meta
|
|
|
|
# Use ironic-inspector database as the introspection data backend, if needed.
|
|
#IRONIC_INSPECTOR_INTROSPECTION_DATA_STORE=database
|
|
|
|
# Enable Swift for storing introspection data, these services
|
|
# can be disabled if introspection data store is set to database.
|
|
enable_service s-proxy s-object s-container s-account
|
|
|
|
# Enable Ironic, Ironic Inspector plugins
|
|
enable_plugin ironic https://github.com/openstack/ironic
|
|
enable_plugin ironic-inspector https://github.com/openstack/ironic-inspector
|
|
|
|
# Disable services
|
|
disable_service horizon
|
|
disable_service heat h-api h-api-cfn h-api-cw h-eng
|
|
disable_service cinder c-sch c-api c-vol
|
|
|
|
# Swift temp URL's are required for the direct deploy interface.
|
|
SWIFT_ENABLE_TEMPURLS=True
|
|
|
|
# Create 3 virtual machines to pose as Ironic's baremetal nodes.
|
|
IRONIC_VM_COUNT=3
|
|
IRONIC_BAREMETAL_BASIC_OPS=True
|
|
DEFAULT_INSTANCE_TYPE=baremetal
|
|
|
|
# Enable additional hardware types, if needed.
|
|
#IRONIC_ENABLED_HARDWARE_TYPES=ipmi,fake-hardware
|
|
# Don't forget that many hardware types require enabling of additional
|
|
# interfaces, most often power and management:
|
|
#IRONIC_ENABLED_MANAGEMENT_INTERFACES=ipmitool,fake
|
|
#IRONIC_ENABLED_POWER_INTERFACES=ipmitool,fake
|
|
#
|
|
# The 'ipmi' hardware type's default deploy interface is 'iscsi'.
|
|
# This would change the default to 'direct':
|
|
#IRONIC_DEFAULT_DEPLOY_INTERFACE=direct
|
|
|
|
# Enable inspection via ironic-inspector
|
|
IRONIC_ENABLED_INSPECT_INTERFACES=inspector,no-inspect
|
|
# Make it the default for all hardware types:
|
|
IRONIC_DEFAULT_INSPECT_INTERFACE=inspector
|
|
|
|
# This driver should be in the enabled list above.
|
|
IRONIC_DEPLOY_DRIVER=ipmi
|
|
|
|
IRONIC_BUILD_DEPLOY_RAMDISK=False
|
|
IRONIC_INSPECTOR_BUILD_RAMDISK=False
|
|
|
|
VIRT_DRIVER=ironic
|
|
|
|
# By default, DevStack creates a 10.0.0.0/24 network for instances.
|
|
# If this overlaps with the hosts network, you may adjust with the
|
|
# following.
|
|
NETWORK_GATEWAY=10.1.0.1
|
|
FIXED_RANGE=10.1.0.0/24
|
|
|
|
# Log all output to files
|
|
LOGDAYS=1
|
|
LOGFILE=$HOME/logs/stack.sh.log
|