Guest User

nova.conf

a guest
May 15th, 2013
173
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [DEFAULT]
  2. # LOGS/STATE
  3. verbose=True
  4. logdir=/var/log/nova
  5. lock_path=/var/lock/nova
  6. state_path=/var/lib/nova
  7. root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
  8.  
  9.  
  10. # AUTHENTICATION
  11. auth_strategy=keystone
  12.  
  13. # SCHEDULER
  14. compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
  15. #storage_availability_zone=sc-01
  16. #node_availability_zone=sc-01
  17.  
  18. # CINDER
  19. volume_api_class=nova.volume.cinder.API
  20. osapi_volume_listen_port=5900
  21.  
  22. # DATABASE
  23. sql_connection=mysql://novadbadmin:abc123@mysql/nova
  24.  
  25. # COMPUTE
  26. libvirt_type=kvm
  27. connection_type=libvirt
  28. compute_driver=libvirt.LibvirtDriver
  29. ##instance_name_template=instance-%08x
  30. api_paste_config=/etc/nova/api-paste.ini
  31. allow_resize_to_same_host=True
  32.  
  33. # APIS
  34. ##osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
  35. #ec2_dmz_host=cctrl
  36. ##s3_host=cctrl
  37. #enabled_apis=ec2,osapi_compute,metadata
  38.  
  39. # RABBITMQ
  40. rabbit_host=cctrl-01
  41. rabbit_password=abc123
  42.  
  43. # GLANCE
  44. image_service=nova.image.glance.GlanceImageService
  45. glance_api_servers=glance:9292
  46.  
  47. # NETWORK
  48. network_api_class=nova.network.quantumv2.api.API
  49. quantum_url=http://quantum:9696
  50. quantum_auth_strategy=keystone
  51. quantum_admin_tenant_name=service
  52. quantum_admin_username=quantum
  53. quantum_admin_password=abc123
  54. quantum_admin_auth_url=http://quantum:35357/v2.0
  55. libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
  56. linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver
  57. firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
  58.  
  59. # Metadata
  60. service_quantum_metadata_proxy = True
  61. quantum_metadata_proxy_shared_secret = helloOpenStack
  62. metadata_host = quantum
  63. metadata_listen = quantum
  64. metadata_listen_port = 8775
  65.  
  66. # NOVNC
  67. novnc_enabled=true
  68. novncproxy_base_url=http://cctrl:6080/vnc_auto.html
  69. novncproxy_port=6080
  70. vncserver_proxyclient_address=cctrl
  71. vncserver_listen=cctrl
  72.  
  73.  
  74. # OM ENHANCEMENT
  75. # VM SELF-BOOT
  76. # When a compute node server reboot, the VMs in the compute server cannot automaticlly boot up by default.
  77. # Add this two options in nova.conf so that the VMs can boot up automaticlly.
  78. #start_guests_on_host_boot=False
  79. #resume_guests_state_on_host_boot=True
RAW Paste Data