Advertisement
andiariffin

nova.conf

Apr 4th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. [DEFAULT]
  2. # define own IP
  3. my_ip = 127.0.0.1
  4. state_path = /var/lib/nova
  5. enabled_apis = osapi_compute,metadata
  6. log_dir = /var/log/nova
  7. # RabbitMQ connection info
  8. transport_url = rabbit://openstack:xxxxxx@localhost
  9. use_neutron = True
  10. linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
  11. firewall_driver = nova.virt.firewall.NoopFirewallDriver
  12. vif_plugging_is_fatal = True
  13. vif_plugging_timeout = 300
  14. instance_usage_audit = True
  15. instance_usage_audit_period = hour
  16. block_device_allocate_retries=3600
  17. block_device_allocate_retries_interval=3
  18. max_concurrent_builds = 16
  19. compute_driver = libvirt.LibvirtDriver
  20. allow_resize_to_same_host = true
  21.  
  22. [api]
  23. auth_strategy = keystone
  24.  
  25. # Glance connection info
  26. [glance]
  27. api_servers = http://localhost:9292
  28.  
  29. [oslo_concurrency]
  30. lock_path = $state_path/tmp
  31.  
  32. # MariaDB connection info
  33. [api_database]
  34. connection = mysql+pymysql://nova:xxxxxx@localhost/nova_api
  35.  
  36. [database]
  37. connection = mysql+pymysql://nova:xxxxxx@localhost/nova
  38.  
  39. # Keystone auth info
  40. [keystone_authtoken]
  41. www_authenticate_uri = http://localhost:5000
  42. auth_url = http://localhost:5000
  43. memcached_servers = localhost:11211
  44. auth_type = password
  45. project_domain_name = default
  46. user_domain_name = default
  47. project_name = service
  48. username = nova
  49. password = xxxxxxx
  50.  
  51. [placement]
  52. auth_url = http://localhost:5000
  53. os_region_name = xxxxxx
  54. auth_type = password
  55. project_domain_name = default
  56. user_domain_name = default
  57. project_name = service
  58. username = placement
  59. password = xxxxxx
  60.  
  61. [placement_database]
  62. connection = mysql+pymysql://nova:xxxxxx@localhost/nova_placement
  63.  
  64. [wsgi]
  65. api_paste_config = /etc/nova/api-paste.ini
  66.  
  67. [vnc]
  68. enabled = True
  69. server_listen = 0.0.0.0
  70. server_proxyclient_address = localhost
  71. novncproxy_base_url = http://localhost:6080/vnc_auto.html
  72.  
  73. [neutron]
  74. auth_url = http://localhost:5000
  75. auth_type = password
  76. project_domain_name = default
  77. user_domain_name = default
  78. region_name = xxxxxx
  79. project_name = service
  80. username = neutron
  81. password = xxxxxx
  82. service_metadata_proxy = True
  83. metadata_proxy_shared_secret = xxxxxx
  84.  
  85. [devices]
  86. enabled_vgpu_types = nvidia-233
  87.  
  88. [cinder]
  89. os_region_name = xxxxxx
  90.  
  91. [oslo_messaging_notifications]
  92. driver = messagingv2
  93.  
  94. [filter_scheduler]
  95. max_io_ops_per_host = 16
  96.  
  97. [scheduler]
  98. max_attempts = 1600
  99.  
  100. [notifications]
  101. notify_on_state_change = vm_and_task_state
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement