tripleo-image-elements/elements/nova/os-apply-config/etc/nova/nova.conf

132 lines
3.8 KiB
Plaintext

## NB: Unpolished config file
## This config file was taken directly from the upstream repo, and tweaked just enough to work.
## It has not been audited to ensure that everything present is either Heat controlled or a mandatory as-is setting.
## Please submit patches for any setting that should be deleted or Heat-configurable.
## https://github.com/openstack/tripleo-image-elements
[DEFAULT]
s3_host={{keystone.host}}
ec2_dmz_host={{keystone.host}}
ec2_url=http://{{nova.host}}:8773/services/Cloud
log_config=/etc/nova/logging.conf
{{#local-ipv4}}
my_ip={{local-ipv4}}
{{/local-ipv4}}
state_path=/var/lib/nova
lock_path=/var/lib/nova
keys_path=/var/lib/nova/keys
api_paste_config=/etc/nova/api-paste.ini
# Auth
auth_strategy=keystone
keystone_ec2_url=http://{{keystone.host}}:5000/v2.0/ec2tokens
# Imaging service
glance_api_servers={{glance.host}}:9292
# Vnc configuration
novncproxy_base_url=http://{{nova.host}}:6080/vnc_auto.html
novncproxy_port=6080
vncserver_proxyclient_address=127.0.0.1
vncserver_listen=0.0.0.0
# Networking #
{{#nova.default_floating_pool}}
default_floating_pool={{nova.default_floating_pool}}
{{/nova.default_floating_pool}}
network_api_class=nova.network.neutronv2.api.API
neutron_url=http://{{neutron.host}}:9696
neutron_auth_strategy=keystone
neutron_admin_tenant_name=service
neutron_admin_username=neutron
neutron_admin_password={{neutron.service-password}}
neutron_admin_auth_url=http://{{keystone.host}}:35357/v2.0
linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver
service_neutron_metadata_proxy={{nova.metadata-proxy}}
{{#neutron.metadata_proxy_shared_secret}}
neutron_metadata_proxy_shared_secret={{neutron.metadata_proxy_shared_secret}}
{{/neutron.metadata_proxy_shared_secret}}
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
dhcp_options_enabled=true
rootwrap_config=/etc/nova/rootwrap.conf
security_group_api=neutron
firewall_driver=nova.virt.firewall.NoopFirewallDriver
# Cinder #
volume_api_class=nova.volume.cinder.API
{{#rabbit}}
rabbit_host={{host}}
rabbit_password={{password}}
rpc_backend=nova.openstack.common.rpc.impl_kombu
{{/rabbit}}
{{#qpid}}
qpid_hostname={{host}}
qpid_username={{username}}
qpid_password={{password}}
rpc_backend=nova.openstack.common.rpc.impl_qpid
{{/qpid}}
enabled_apis = ec2,osapi_compute,metadata,openstack_compute_api_v2
compute_driver = {{nova.compute_driver}}
{{#nova.compute_libvirt_type}}
libvirt_type={{nova.compute_libvirt_type}}
{{/nova.compute_libvirt_type}}
{{#nova.compute_hostname}}
# Override the service hostname - used for the seed node where no metadata
# source is supplying hostnames - see seed-stack-config's config.json.
host={{nova.compute_hostname}}
{{/nova.compute_hostname}}
{{#nova.tuning}}
ram_allocation_ratio = {{ram_allocation_ratio}}
reserved_host_memory_mb = {{reserved_host_memory_mb}}
{{/nova.tuning}}
{{#nova.baremetal}}
scheduler_host_manager = nova.scheduler.baremetal_host_manager.BaremetalHostManager
firewall_driver = nova.virt.firewall.NoopFirewallDriver
{{/nova.baremetal}}
[database]
connection={{nova.db}}
{{#nova.baremetal}}
[baremetal]
sql_connection = {{db}}
net_config_template = /opt/stack/nova/nova/virt/baremetal/net-static.ubuntu.template
tftp_root = /tftpboot
instance_type_extra_specs = cpu_arch:{{arch}}
driver = nova.virt.baremetal.pxe.PXE
pxe_network_config=True
pxe_deploy_timeout={{pxe_deploy_timeout}}
power_manager = {{power_manager}}
{{#use_file_injection}}use_file_injection={{use_file_injection}}{{/use_file_injection}}
{{#virtual_power}}
virtual_power_host_user={{user}}
virtual_power_host_key={{key}}
virtual_power_ssh_host={{ssh_host}}
virtual_power_type={{type}}
{{/virtual_power}}
{{/nova.baremetal}}
[keystone_authtoken]
auth_host = {{keystone.host}}
auth_port = 35357
admin_password = {{nova.service-password}}
auth_protocol = http
admin_tenant_name = service
admin_user = nova
signing_dir = /tmp/keystone-signing-nova