faf9d3508b
The devstack example configuration is synchronized with https://docs.openstack.org/ironic/latest/contributor/dev-quickstart.html Also remove setting IRONIC_VM_LOGS_DIR from the example local.conf, as it does not work, at least not on CentOS. Change-Id: Ife51165742a8b762e84d5ac7ad807480669bfedb
69 lines
2.2 KiB
Plaintext
69 lines
2.2 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
|
|
|
|
# Enable Swift for storing introspection data
|
|
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
|