Advertisement
Guest User

novaconf

a guest
Jan 31st, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.66 KB | None | 0 0
  1.  
  2.  
  3. ##TEMPLATE 14112012
  4. [DEFAULT]
  5. verbose=True
  6. debug=true
  7.  
  8. #Logging
  9. ################################
  10. use_syslog=False
  11. logdir=/var/log/nova
  12. logging_context_format_string=%(asctime)s %(name)s: %(levelname)s [%(request_id)s %(user_id)s %(project_id)s] %(message)s
  13. logging_default_format_string=%(asctime)s %(name)s: %(message)s
  14. logging_debug_format_suffix=from (pid=%(process)d) %(funcName)s %(pathname)s:%(lineno)d
  15.  
  16. #commenting these to see if it fixes delete issue -- https://bugs.launchpad.net/nova/+bug/1075320
  17. #instance_usage_audit=True
  18. #instance_usage_audit_period=hour
  19.  
  20.  
  21. #Notitfications
  22. ##############################
  23. notification_driver=nova.openstack.common.notifier.rpc_notifier
  24. notification_topics=monitor
  25. notify_on_any_change=true
  26. notify_api_faults=true
  27. notify_on_state_change=true
  28.  
  29.  
  30. #
  31. ###################################
  32.  
  33. ec2_url=http://api.snjpod1.barnesandnoble.com:8773/services/Cloud
  34.  
  35. sql_connection=mysql://nova:[email protected]/nova
  36.  
  37. #Compute options
  38. ################################
  39. compute_driver=libvirt.LibvirtDriver
  40. libvirt_type=kvm
  41. libvirt_use_virtio_for_bridges=false
  42. vnc_enabled=False
  43. max_cores=350
  44. allow_resize_to_same_host=False
  45. use_forwarded_for=True
  46. 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
  47. img_handlers="guestfs,loop,nbd"
  48. node_availability_zone=nova
  49. rootwrap_config=/etc/nova/root-wrap.conf
  50.  
  51.  
  52. #Workers
  53. #################################
  54.  
  55.  
  56.  
  57. metadata_workers=8
  58. ec2_workers=8
  59. osapi_compute_workers=8
  60. api_rate_limit=false
  61.  
  62. volume_api_class=nova.volume.cinder.API
  63. #enabled_apis=ec2,osapi_compute,metadata
  64. enabled_apis=osapi_compute,metadata
  65.  
  66. #compute disk options
  67. #################################
  68.  
  69. #libvirt_images_volume_group=nova-instances
  70. #libvirt_images_type=lvm
  71. img_handlers=loop,guestfs
  72. default_ephemeral_format=ext3
  73. virt_mkfs=default=mkfs.ext3 -L %(fs_label)s -F %(target)s
  74. virt_mkfs=linux=mkfs.ext3 -L %(fs_label)s -F %(target)s
  75. virt_mkfs=windows=mkfs.ntfs --force --fast --label %(fs_label)s %(target)s
  76.  
  77.  
  78.  
  79. #Auth options
  80. ################################
  81. auth_strategy=keystone
  82. keystone_ec2_url=http://local.mysql.snjpod1.barnesandnoble.com:5000/v2.0/ec2tokens
  83.  
  84. #Schedulers
  85. ################################
  86. scheduler_driver=nova.scheduler.multi.MultiScheduler
  87.  
  88. volume_scheduler_driver=nova.scheduler.chance.ChanceScheduler
  89.  
  90. compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
  91. scheduler_available_filters=nova.scheduler.filters.all_filters
  92. #scheduler_default_filters=AvailabilityZoneFilter,RamFilter,ComputeFilter
  93. scheduler_default_filters=AvailabilityZoneFilter,ComputeFilter
  94.  
  95. least_cost_functions=nova.scheduler.least_cost.compute_fill_first_cost_fn
  96. compute_fill_first_cost_fn_weight=-1.0
  97. scheduler_max_attempts=30
  98. ####overcommitment ratios -- defaults
  99. cpu_allocation_ratio=16.0
  100. #THIS IS IGNORED IF RAMFILTER IS NOT IN DEFAULT
  101. #CURRENTLY THERE IS A BUG REGARDING THE RAMFILTER CODE -- https://bugs.launchpad.net/nova/+bug/1016273
  102. #discussed here -- http://www.sebastien-han.fr/blog/2012/09/22/openstack-memory-overcommit/
  103. ram_allocation_ratio=1.5
  104.  
  105.  
  106.  
  107. #Glance
  108. ################################
  109. #glance_api_servers=https://local-glance-snjpod1.barnesandnoble.com:9393
  110. glance_api_servers=local.swiftproxy.snjpod1.barnesandnoble.com:9393
  111. image_service=nova.image.glance.GlanceImageService
  112.  
  113. # Paths and Templates
  114. ################################
  115. cache_images=False
  116. ca_path=/var/lib/nova/CA
  117. keys_path=/var/lib/nova/keys
  118. images_path=/var/lib/nova/images
  119. buckets_path=/var/lib/nova/buckets
  120. instances_path=/var/lib/nova/instances
  121. networks_path=/var/lib/nova/networks
  122. injected_network_template_dir=/usr/share/nova/interfaces/
  123. libvirt_xml_template=/usr/share/nova/libvirt.xml.template
  124. vpn_client_template=/usr/share/nova/client.ovpn.template
  125. credentials_template=/usr/share/nova/novarc.template
  126. state_path=/var/lib/nova
  127. lock_path=/var/lib/nova/tmp
  128.  
  129. # Network Options
  130. ################################
  131. use_ipv6=False
  132. dhcpbridge_flagfile=/etc/nova/nova.conf
  133. dhcpbridge=/usr/bin/nova-dhcpbridge
  134.  
  135. network_manager=nova.network.manager.FlatDHCPManager
  136. public_interface=eth2.392
  137. flat_network_bridge=br100
  138. flat_interface=eth2.100
  139. volume_manager=nova.volume.manager.VolumeManager
  140. fixed_range=10.100.0.0/22
  141. network_size=1022
  142. my_ip=10.6.193.43
  143. multi_host=True
  144. floating_range=10.6.192.128/25
  145. iscsi_ip_prefix=10.100.16
  146. iscsi_helper=tgtadm
  147. routing_source_ip=10.6.192.43
  148. allow_same_net_traffic=False
  149. send_arp_for_ha=True
  150.  
  151. auto_assign_floating_ip=true
  152.  
  153.  
  154. #Message Queue
  155. ################################
  156. rpc_backend=nova.rpc.impl_kombu
  157. ##rabbit_host=10.6.193.32
  158. ##rabbit_port=5672
  159. rabbit_use_ssl=false
  160. rabbit_userid=guest
  161. rabbit_password=guest
  162. #rabbit_durable_queues=true
  163. rabbit_ha_queues=true
  164.  
  165. # rabbit_hosts=$rabbit_host:$rabbit_port
  166. 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
  167. #### (ListOpt) RabbitMQ HA cluster host:port pairs
  168.  
  169. #rpc_conn_pool_size=120
  170. #rpc_thread_pool_size=2048
  171.  
  172.  
  173. # Uncommenting these switches from rabbit to ZeroMQ
  174. #rpc_backend=nova.openstack.common.rpc.impl_zmq
  175. #matchmaker_ringfile=/etc/zmq_ringfile
  176. #rpc_zmq_matchmaker=nova.openstack.common.rpc.matchmaker.MatchMakerRing
  177. #rpc_zmq_port=9501
  178. #rpc_zmq_host=10.6.193.43
  179.  
  180. cert_topic=cert
  181. compute_topic=compute
  182. console_topic=console
  183. scheduler_topic=scheduler
  184. network_topic=network
  185. topic=conductor
  186.  
  187. control_exchange='nova'
  188. host=compute42-07
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement