Skip to content

Instantly share code, notes, and snippets.

@yaoyaminaco
Created July 31, 2013 03:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaoyaminaco/6119120 to your computer and use it in GitHub Desktop.
Save yaoyaminaco/6119120 to your computer and use it in GitHub Desktop.
Openstack grizzly config files [MultiNode, GRE]
[DEFAULT]
debug = true
resync_interval = 5
interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
ovs_use_veth = True
dhcp_driver = quantum.agent.linux.dhcp.Dnsmasq
use_namespaces = True
enable_isolated_metadata = True
enable_metadata_network = False
root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf
dhcp_lease_time=2592000
############
# Metadata #
############
[composite:metadata]
use = egg:Paste#urlmap
/: meta
[pipeline:meta]
pipeline = ec2faultwrap logrequest metaapp
[app:metaapp]
paste.app_factory = nova.api.metadata.handler:MetadataRequestHandler.factory
#######
# EC2 #
#######
[composite:ec2]
use = egg:Paste#urlmap
/services/Cloud: ec2cloud
[composite:ec2cloud]
use = call:nova.api.auth:pipeline_factory
noauth = ec2faultwrap logrequest ec2noauth cloudrequest validator ec2executor
keystone = ec2faultwrap logrequest ec2keystoneauth cloudrequest validator ec2executor
[filter:ec2faultwrap]
paste.filter_factory = nova.api.ec2:FaultWrapper.factory
[filter:logrequest]
paste.filter_factory = nova.api.ec2:RequestLogging.factory
[filter:ec2lockout]
paste.filter_factory = nova.api.ec2:Lockout.factory
[filter:ec2keystoneauth]
paste.filter_factory = nova.api.ec2:EC2KeystoneAuth.factory
[filter:ec2noauth]
paste.filter_factory = nova.api.ec2:NoAuth.factory
[filter:cloudrequest]
controller = nova.api.ec2.cloud.CloudController
paste.filter_factory = nova.api.ec2:Requestify.factory
[filter:authorizer]
paste.filter_factory = nova.api.ec2:Authorizer.factory
[filter:validator]
paste.filter_factory = nova.api.ec2:Validator.factory
[app:ec2executor]
paste.app_factory = nova.api.ec2:Executor.factory
#############
# Openstack #
#############
[composite:osapi_compute]
use = call:nova.api.openstack.urlmap:urlmap_factory
/: oscomputeversions
/v1.1: openstack_compute_api_v2
/v2: openstack_compute_api_v2
[composite:openstack_compute_api_v2]
use = call:nova.api.auth:pipeline_factory
noauth = faultwrap sizelimit noauth ratelimit osapi_compute_app_v2
keystone = faultwrap sizelimit authtoken keystonecontext ratelimit osapi_compute_app_v2
keystone_nolimit = faultwrap sizelimit authtoken keystonecontext osapi_compute_app_v2
[filter:faultwrap]
paste.filter_factory = nova.api.openstack:FaultWrapper.factory
[filter:noauth]
paste.filter_factory = nova.api.openstack.auth:NoAuthMiddleware.factory
[filter:ratelimit]
paste.filter_factory = nova.api.openstack.compute.limits:RateLimitingMiddleware.factory
[filter:sizelimit]
paste.filter_factory = nova.api.sizelimit:RequestBodySizeLimiter.factory
[app:osapi_compute_app_v2]
paste.app_factory = nova.api.openstack.compute:APIRouter.factory
[pipeline:oscomputeversions]
pipeline = faultwrap oscomputeversionapp
[app:oscomputeversionapp]
paste.app_factory = nova.api.openstack.compute.versions:Versions.factory
##########
# Shared #
##########
[filter:keystonecontext]
paste.filter_factory = nova.api.auth:NovaKeystoneContext.factory
[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
auth_host = 192.168.3.200
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = nova
# signing_dir is configurable, but the default behavior of the authtoken
# middleware should be sufficient. It will create a temporary directory
# in the home directory for the user the nova process is running as.
signing_dir = /var/lib/nova/keystone-signing
# Workaround for https://bugs.launchpad.net/nova/+bug/1154809
auth_version = v2.0
[DEFAULT]
# Logs/State
#debug=True
verbose=True
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
dhcpbridge = /usr/bin/nova-dhcpbridge
# Authentication
auth_strategy=keystone
use_deprecated_auth=false
# Scheduler
#compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
scheduler_driver=nova.scheduler.multi.MultiScheduler
#volume_scheduler_driver=nova.scheduler.chance.ChanceScheduler
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
scheduler_available_filters=nova.scheduler.filters.standard_filters
#scheduler_available_filters=nova.scheduler.filters.all_filters
scheduler_default_filters=RamFilter,CoreFilter,ComputeFilter
#least_cost_functions=nova.scheduler.least_cost.compute_fill_first_cost_fn
#compute_fill_first_cost_fn_weight=-1.0
ram_allocation_ratio=2.0
cpu_allocation_ratio=16.0
#disk_allocation_ratio=2.0
# Volumes
volume_api_class=nova.volume.cinder.API
volume_driver=nova.volume.driver.ISCSIDriver
volume_group=openstack-volumes
volume_name_template=volume-%08x
iscsi_helper=tgtadm
# Database
sql_connection=mysql://novadbadmin:novasecret@192.168.3.200/nova
#sql_max_pool_size=100
#sql_min_pool_size=50
#sql_max_overflow=True
# Compute
libvirt_type=kvm
compute_driver=libvirt.LibvirtDriver
instance_name_template=instance-%08x
api_paste_config=/etc/nova/api-paste.ini
allow_resize_to_same_host=True
# APIs
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
enabled_apis=ec2,osapi_compute,metadata
# Host information
ec2_dmz_host=192.168.3.200
s3_host=192.168.3.200
rabbit_host=192.168.3.3
#rpc_conn_pool_size=600
#rpc_response_timeout=1200
my_ip=192.168.3.200
# Glance
image_service=nova.image.glance.GlanceImageService
glance_api_servers=192.168.3.202:9292
# Network
#force_dhcp_release=True
#dhcpbridge_flagfile=/etc/nova/nova.conf
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
#firewall_driver=nova.virt.firewall.NoopFirewallDriver
#dhcp_lease_time=604800
#fixed_ip_disassociate_timeout=1209600
# Novnc console
novncproxy_base_url=http://10.239.19.135:6080/vnc_auto.html
vncserver_proxyclient_address=192.168.3.200
vncserver_listen=0.0.0.0
# Quantum
quantum_url=http://192.168.3.201:9696
network_api_class=nova.network.quantumv2.api.API
quantum_auth_strategy=keystone
quantum_admin_tenant_name=service
quantum_admin_username=quantum
quantum_admin_password=quantum
quantum_admin_auth_url=http://192.168.3.200:35357/v2.0
# Libvirt
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
#libvirt_ovs_bridge="br-int"
#notification
notification_driver=nova.openstack.common.notifier.log_notifier
[DATABASE]
sql_connection = mysql://quantumdbadmin:quantumsecret@192.168.3.200/quantum
reconnect_interval = 2
[OVS]
tenant_network_type = gre
tunnel_id_ranges = 1:1000
integration_bridge = br-int
tunnel_bridge = br-tun
local_ip = 10.10.10.201
enable_tunneling = True
[AGENT]
polling_interval = 2
[SECURITYGROUP]
firewall_driver = quantum.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
[DEFAULT]
debug = True
#verbose = True
state_path = /var/lib/quantum
lock_path = $state_path/lock
bind_host = 0.0.0.0
bind_port = 9696
core_plugin = quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2
api_paste_config = /etc/quantum/api-paste.ini
control_exchange = quantum
#rpc_thread_pool_size = 1280
#rpc_conn_pool_size = 600
#rpc_response_timeout = 120
rabbit_host = 192.168.3.3
notification_driver = quantum.openstack.common.notifier.rpc_notifier
notification_driver = quantum.openstack.common.notifier.log_notifier
default_notification_level = INFO
notification_topics = notifications
agent_down_time = 15
[QUOTAS]
quota_port = -1
[DEFAULT_SERVICETYPE]
[AGENT]
root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf
[keystone_authtoken]
auth_host = 192.168.3.200
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = quantum
admin_password = quantum
signing_dir = /var/lib/quantum/keystone-signing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment