Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##TEMPLATE 14112012
- [DEFAULT]
- verbose=True
- debug=true
- #Logging
- ################################
- use_syslog=False
- logdir=/var/log/nova
- logging_context_format_string=%(asctime)s %(name)s: %(levelname)s [%(request_id)s %(user_id)s %(project_id)s] %(message)s
- logging_default_format_string=%(asctime)s %(name)s: %(message)s
- logging_debug_format_suffix=from (pid=%(process)d) %(funcName)s %(pathname)s:%(lineno)d
- #commenting these to see if it fixes delete issue -- https://bugs.launchpad.net/nova/+bug/1075320
- #instance_usage_audit=True
- #instance_usage_audit_period=hour
- #Notitfications
- ##############################
- notification_driver=nova.openstack.common.notifier.rpc_notifier
- notification_topics=monitor
- notify_on_any_change=true
- notify_api_faults=true
- notify_on_state_change=true
- #
- ###################################
- ec2_url=http://api.snjpod1.barnesandnoble.com:8773/services/Cloud
- sql_connection=mysql://nova:[email protected]/nova
- #Compute options
- ################################
- compute_driver=libvirt.LibvirtDriver
- libvirt_type=kvm
- libvirt_use_virtio_for_bridges=false
- vnc_enabled=False
- max_cores=350
- allow_resize_to_same_host=False
- use_forwarded_for=True
- memcached_servers=127.0.0.1:11211,localapi41-05.snjpod1.barnesandnoble.com:11211,localapi42-02.snjpod1.barnesandnoble.com:11211,localapi42-03.snjpod1.barnesandnoble.com:11211,localapi42-04.snjpod1.barnesandnoble.com:11211
- img_handlers="guestfs,loop,nbd"
- node_availability_zone=nova
- rootwrap_config=/etc/nova/root-wrap.conf
- #Workers
- #################################
- metadata_workers=8
- ec2_workers=8
- osapi_compute_workers=8
- api_rate_limit=false
- volume_api_class=nova.volume.cinder.API
- #enabled_apis=ec2,osapi_compute,metadata
- enabled_apis=osapi_compute,metadata
- #compute disk options
- #################################
- #libvirt_images_volume_group=nova-instances
- #libvirt_images_type=lvm
- img_handlers=loop,guestfs
- default_ephemeral_format=ext3
- virt_mkfs=default=mkfs.ext3 -L %(fs_label)s -F %(target)s
- virt_mkfs=linux=mkfs.ext3 -L %(fs_label)s -F %(target)s
- virt_mkfs=windows=mkfs.ntfs --force --fast --label %(fs_label)s %(target)s
- #Auth options
- ################################
- auth_strategy=keystone
- keystone_ec2_url=http://local.mysql.snjpod1.barnesandnoble.com:5000/v2.0/ec2tokens
- #Schedulers
- ################################
- 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.all_filters
- #scheduler_default_filters=AvailabilityZoneFilter,RamFilter,ComputeFilter
- scheduler_default_filters=AvailabilityZoneFilter,ComputeFilter
- least_cost_functions=nova.scheduler.least_cost.compute_fill_first_cost_fn
- compute_fill_first_cost_fn_weight=-1.0
- scheduler_max_attempts=30
- ####overcommitment ratios -- defaults
- cpu_allocation_ratio=16.0
- #THIS IS IGNORED IF RAMFILTER IS NOT IN DEFAULT
- #CURRENTLY THERE IS A BUG REGARDING THE RAMFILTER CODE -- https://bugs.launchpad.net/nova/+bug/1016273
- #discussed here -- http://www.sebastien-han.fr/blog/2012/09/22/openstack-memory-overcommit/
- ram_allocation_ratio=1.5
- #Glance
- ################################
- #glance_api_servers=https://local-glance-snjpod1.barnesandnoble.com:9393
- glance_api_servers=local.swiftproxy.snjpod1.barnesandnoble.com:9393
- image_service=nova.image.glance.GlanceImageService
- # Paths and Templates
- ################################
- cache_images=False
- ca_path=/var/lib/nova/CA
- keys_path=/var/lib/nova/keys
- images_path=/var/lib/nova/images
- buckets_path=/var/lib/nova/buckets
- instances_path=/var/lib/nova/instances
- networks_path=/var/lib/nova/networks
- injected_network_template_dir=/usr/share/nova/interfaces/
- libvirt_xml_template=/usr/share/nova/libvirt.xml.template
- vpn_client_template=/usr/share/nova/client.ovpn.template
- credentials_template=/usr/share/nova/novarc.template
- state_path=/var/lib/nova
- lock_path=/var/lib/nova/tmp
- # Network Options
- ################################
- use_ipv6=False
- dhcpbridge_flagfile=/etc/nova/nova.conf
- dhcpbridge=/usr/bin/nova-dhcpbridge
- network_manager=nova.network.manager.FlatDHCPManager
- public_interface=eth2.392
- flat_network_bridge=br100
- flat_interface=eth2.100
- volume_manager=nova.volume.manager.VolumeManager
- fixed_range=10.100.0.0/22
- network_size=1022
- my_ip=10.6.193.43
- multi_host=True
- floating_range=10.6.192.128/25
- iscsi_ip_prefix=10.100.16
- iscsi_helper=tgtadm
- routing_source_ip=10.6.192.43
- allow_same_net_traffic=False
- send_arp_for_ha=True
- auto_assign_floating_ip=true
- #Message Queue
- ################################
- rpc_backend=nova.rpc.impl_kombu
- ##rabbit_host=10.6.193.32
- ##rabbit_port=5672
- rabbit_use_ssl=false
- rabbit_userid=guest
- rabbit_password=guest
- #rabbit_durable_queues=true
- rabbit_ha_queues=true
- # rabbit_hosts=$rabbit_host:$rabbit_port
- rabbit_hosts=localapi41-05.snjpod1.barnesandnoble.com:5672,localapi42-02.snjpod1.barnesandnoble.com:5672,localapi42-03.snjpod1.barnesandnoble.com:5672,localapi42-04.snjpod1.barnesandnoble.com:5672
- #### (ListOpt) RabbitMQ HA cluster host:port pairs
- #rpc_conn_pool_size=120
- #rpc_thread_pool_size=2048
- # Uncommenting these switches from rabbit to ZeroMQ
- #rpc_backend=nova.openstack.common.rpc.impl_zmq
- #matchmaker_ringfile=/etc/zmq_ringfile
- #rpc_zmq_matchmaker=nova.openstack.common.rpc.matchmaker.MatchMakerRing
- #rpc_zmq_port=9501
- #rpc_zmq_host=10.6.193.43
- cert_topic=cert
- compute_topic=compute
- console_topic=console
- scheduler_topic=scheduler
- network_topic=network
- topic=conductor
- control_exchange='nova'
- host=compute42-07
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement