Advertisement
Guest User

nova.conf, cinder.conf

a guest
Nov 12th, 2012
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. nova.conf:
  2. ==========
  3.  
  4.  
  5. [DEFAULT]
  6. # LOGS/STATE
  7. verbose=True
  8. logdir=/var/log/nova
  9. state_path=/var/lib/nova
  10. lock_path=/var/lock/nova
  11. rootwrap_config=/etc/nova/rootwrap.conf
  12.  
  13. # AUTHENTICATION
  14. auth_strategy=keystone
  15. [keystone_authtoken]
  16. auth_host = 127.0.0.1
  17. auth_port = 35357
  18. auth_protocol = http
  19. admin_tenant_name = service
  20. admin_user = nova
  21. admin_password = nova
  22. signing_dirname = /tmp/keystone-signing-nova
  23.  
  24. # SCHEDULER
  25. compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
  26.  
  27. # Cinder - VOLUMES
  28. #volume_driver=nova.volume.driver.ISCSIDriver
  29. #volume_group=nova-volumes
  30. #volume_name_template=volume-%08x
  31. #iscsi_helper=tgtadm
  32. volume_api_class=nova.volume.cinder.API
  33.  
  34.  
  35.  
  36. # DATABASE
  37. sql_connection=mysql://nova:[email protected]/nova
  38.  
  39. # COMPUTE
  40. libvirt_type=kvm
  41. compute_driver=libvirt.LibvirtDriver
  42. instance_name_template=instance-%08x
  43. api_paste_config=/etc/nova/api-paste.ini
  44.  
  45. # COMPUTE/APIS: if you have separate configs for separate services
  46. # this flag is required for both nova-api and nova-compute
  47. allow_resize_to_same_host=True
  48.  
  49. # APIS
  50. enabled_apis=ec2,osapi_compute,metadata
  51. osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
  52. ec2_dmz_host=10.176.20.158
  53. s3_host=10.176.20.158
  54.  
  55. # RABBITMQ
  56. rabbit_host=10.176.20.158
  57.  
  58. # GLANCE
  59. image_service=nova.image.glance.GlanceImageService
  60. glance_api_servers=10.176.20.158:9292
  61.  
  62. # NETWORK
  63. network_manager=nova.network.manager.FlatDHCPManager
  64. force_dhcp_release=True
  65. dhcpbridge_flagfile=/etc/nova/nova.conf
  66. firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
  67. # Change my_ip to match each host
  68. my_ip=10.176.20.158
  69. public_interface=eth0
  70. flat_interface=eth1
  71. flat_network_bridge=br100
  72. fixed_range=192.168.100.0/24
  73.  
  74.  
  75. # NOVNC CONSOLE
  76. novncproxy_base_url=http://10.176.20.158:6080/vnc_auto.html
  77. # Change vncserver_proxyclient_address and vncserver_listen to match each compute host
  78. vncserver_proxyclient_address=10.176.20.158
  79. vncserver_listen=10.176.20.158
  80.  
  81.  
  82. # Following config kept from initial conf file installed by nova
  83. dhcpbridge=/usr/bin/nova-dhcpbridge
  84. libvirt_use_virtio_for_bridges=True
  85. connection_type=libvirt
  86. root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
  87. ec2_private_dns_show_ip=True
  88. volumes_path=/var/lib/nova/volumes
  89.  
  90.  
  91. cinder.conf:
  92. ============
  93.  
  94.  
  95. [DEFAULT]
  96. rootwrap_config = /etc/cinder/rootwrap.conf
  97. sql_connection = mysql://cinder:[email protected]/cinder
  98. api_paste_confg = /etc/cinder/api-paste.ini
  99.  
  100. iscsi_helper = tgtadm
  101. volume_name_template = volume-%s
  102. volume_group = cinder-volumes
  103. verbose = True
  104. auth_strategy = keystone
  105. state_path = /var/lib/cinder
  106. volumes_dir = /var/lib/cinder/volumes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement