Skip to content

Instantly share code, notes, and snippets.

@therandomsecurityguy
Last active August 29, 2015 14:05
Show Gist options
  • Save therandomsecurityguy/a7ca930d74991484aad2 to your computer and use it in GitHub Desktop.
Save therandomsecurityguy/a7ca930d74991484aad2 to your computer and use it in GitHub Desktop.
nova.conf
[DEFAULT]
# Trunk fork: http://docs.openstack.org/trunk/config-reference/content/list-of-compute-config-options.html
# IPv6 info and IP
use_ipv6 = True
my_ip = <put your IPv6 IP here>
rpc_backend = rabbit
rabbit_host = controller.putyourowndomainhere.com
# verbose = True
# debug = True
logdir = /var/log/nova
state_path = /var/lib/nova
lock_path = /run/lock/nova
s3_host = controller.putyourowndomainhere.com
ec2_host = controller.putyourowndomainhere.com
ec2_dmz_host = controller.putyourowndomainhere.com
cc_host = controller.putyourowndomainhere.com
ec2_url = http://controller.putyourowndomainhere.com:8773/services/Cloud
nova_url = http://controller.putyourowndomainhere.com:8774/v1.1/
api_paste_config = /etc/nova/api-paste.ini
root_helper = sudo nova-rootwrap /etc/nova/rootwrap.conf
resume_guests_state_on_host_boot = True
osapi_compute_listen = <put your IPv6 address here>
osapi_compute_listen_port = 8774
# Scheduler
# scheduler_driver = nova.scheduler.simple.SimpleScheduler
compute_scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler
# Metadata
#metadata_listen = ::
metadata_listen = <Put your IPv4 address here>
metadata_host = <Put your IPv4 address here>
service_neutron_metadata_proxy = True
neutron_metadata_proxy_shared_secret = secretPass
# Auth
use_deprecated_auth = false
auth_strategy = keystone
keystone_ec2_url = http://controller.yourdomain.com:5000/v2.0/ec2tokens
# Imaging service
glance_api_servers = controller.putyourowndomainhere.com:9292
image_service = nova.image.glance.GlanceImageService
# INSTANCE DISK BACKEND
libvirt_images_type = lvm
libvirt_images_volume_group = nova-local
libvirt_sparse_logical_volumes = false
# VNC configuration - Disabled, using SPICE instead
vnc_enabled = False
novnc_enabled = False
# novncproxy_base_url = http://controller.putyourowndomainhere.com:6080/vnc_auto.html
# novncproxy_host = ::
# novncproxy_port = 6080
# NETWORK - NEUTRON
network_api_class = nova.network.neutronv2.api.API
neutron_url = http://controller.putyourowndomainhere.com:9696/
neutron_auth_strategy = keystone
neutron_admin_tenant_name = service
neutron_admin_username = neutron
neutron_admin_password = service_pass
neutron_admin_auth_url = http://controller.putyourowndomainhere.com:35357/v2.0/
linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
firewall_driver = nova.virt.firewall.NoopFirewallDriver
security_group_api = neutron
# firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtGenericVIFDriver
# libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
# libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtOpenVswitchVirtualPortDriver
# Cinder
volume_api_class = nova.volume.cinder.API
osapi_volume_listen_port = 5900
# SPICE configuration
[spice]
enabled = True
spicehtml5proxy_host = ::
html5proxy_base_url = http://controller.putyourowndomainhere.com:6082/spice_auto.html
keymap = en-us
[database]
connection = mysql://novaUser:[email protected]/nova
[keystone_authtoken]
auth_uri = http://controller.putyourowndomainhere.com:5000
auth_host = controller.putyourowndomainhere.com
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = service_pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment