Advertisement
Guest User

trove-taskmanager.conf

a guest
Sep 28th, 2017
466
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.11 KB | None | 0 0
  1. [DEFAULT]
  2. # Show more verbose log output (sets INFO log level output)
  3. verbose = False
  4.  
  5. # Show debugging output in logs (sets DEBUG log level output)
  6. debug = False
  7.  
  8. # Update the service and instance statuses if the instances fails to become
  9. # active within the configured usage_timeout.
  10. # usage_timeout = 600
  11. # restore_usage_timeout = 36000
  12. update_status_on_fail = True
  13.  
  14. #================= RPC Configuration ================================
  15.  
  16. # URL representing the messaging driver to use and its full configuration.
  17. # If not set, we fall back to the 'rpc_backend' option and driver specific
  18. # configuration.
  19. #transport_url=<None>
  20.  
  21. # The messaging driver to use. Options include rabbit, qpid and zmq.
  22. # Default is rabbit. (string value)
  23. #rpc_backend=rabbit
  24.  
  25. # The default exchange under which topics are scoped. May be
  26. # overridden by an exchange name specified in the 'transport_url option.
  27. control_exchange = trove
  28.  
  29. #DB Api Implementation
  30. db_api_implementation = trove.db.sqlalchemy.api
  31.  
  32. # Configuration options for talking to nova via the novaclient.
  33. trove_auth_url = https://controller.nicgrade.cloud:5000/v2.0
  34. nova_compute_url = https://controller.nicgrade.cloud:8774/v2
  35. cinder_url = https://controller.nicgrade.cloud:8776/v1
  36. #swift_url = http://localhost:8080/v1/AUTH_
  37. neutron_url = https://controller.nicgrade.cloud:9696/
  38.  
  39. # nova_compute_url, cinder_url, swift_url, and heat_url can all be fetched
  40. # from Keystone. To fetch from Keystone, comment out nova_compute_url,
  41. # cinder_url, swift_url, and heat_url and optionally uncomment the lines below.
  42.  
  43. # Region name of this node. Used when searching catalog. Default value is None.
  44. os_region_name = RegionOne
  45. # Service type to use when searching catalog.
  46. nova_compute_service_type = compute
  47. # Service type to use when searching catalog.
  48. #cinder_service_type = volumev2
  49. # Service type to use when searching catalog.
  50. #swift_service_type = object-store
  51. # Service type to use when searching catalog.
  52. #heat_service_type = orchestration
  53. # Service type to use when searching catalog.
  54. #neutron_service_type = network
  55.  
  56. # Config options for enabling volume service
  57. trove_volume_support = True
  58. block_device_mapping = vdb
  59. device_path = /dev/vdb
  60. mount_point = /var/lib/mysql
  61. volume_time_out=30
  62. server_delete_time_out=480
  63.  
  64. # Nova server boot options
  65. # sets the --config-drive argument when doing a nova boot
  66. # (controls how file injection is handled by nova)
  67. use_nova_server_config_drive = True
  68.  
  69. # Configuration options for talking to nova via the novaclient.
  70. # These options are for an admin user in your keystone config.
  71. # It proxy's the token received from the user to send to nova via this admin users creds,
  72. # basically acting like the client via that proxy token.
  73. nova_proxy_admin_user = admin
  74. nova_proxy_admin_pass = X53MlTqCXKoUFeywzPiQHkbEJhRbgace
  75. nova_proxy_admin_tenant_id = 114f3d4e18544ef795507c620906d62b
  76.  
  77. # Manager impl for the taskmanager
  78. taskmanager_manager=trove.taskmanager.manager.Manager
  79.  
  80. # Manager sends Exists Notifications
  81. exists_notification_transformer = trove.extensions.mgmt.instances.models.NovaNotificationTransformer
  82. exists_notification_ticks = 30
  83. notification_service_id = mysql:2f3ff068-2bfb-4f70-9a9d-a6bb65bc084b
  84.  
  85. # Trove DNS
  86. trove_dns_support = False
  87. dns_account_id = 123456
  88. dns_auth_url = http://127.0.0.1:5000/v2.0
  89. dns_username = user
  90. dns_passkey = password
  91. dns_ttl = 3600
  92. dns_domain_name = 'trove.com.'
  93. dns_domain_id = 11111111-1111-1111-1111-111111111111
  94. dns_driver = trove.dns.designate.driver.DesignateDriver
  95. dns_instance_entry_factory = trove.dns.designate.driver.DesignateInstanceEntryFactory
  96. dns_endpoint_url = http://127.0.0.1/v1/
  97. dns_service_type = dns
  98.  
  99. # Neutron
  100. network_driver = trove.network.nova.NovaNetwork
  101. default_neutron_networks =
  102.  
  103. # Trove Security Groups for Instances
  104. trove_security_groups_support = True
  105. trove_security_group_rule_cidr = 0.0.0.0/0
  106.  
  107. # Guest related conf
  108. agent_heartbeat_time = 10
  109. agent_call_low_timeout = 5
  110. agent_call_high_timeout = 150
  111. agent_replication_snapshot_timeout = 36000
  112.  
  113. # Whether to use nova's contrib api for create server with volume
  114. use_nova_server_volume = True
  115.  
  116. # Config option for filtering the IP address that DNS uses
  117. # For nova-network, set this to the appropriate network label defined in nova
  118. # For neutron, set this to .* since users can specify custom network labels
  119. # You can also optionally specify regex'es to match the actual IP addresses
  120. # ip_regex (white-list) is applied before black_list_regex in the filter chain
  121. network_label_regex = ^private$
  122. #ip_regex = ^(15.|123.)
  123. #black_list_regex = ^(10.0.0.)
  124.  
  125. # Datastore templates
  126. template_path = /etc/trove/templates/
  127.  
  128. # ============ Notification System configuration ===========================
  129.  
  130. # Sets the notification driver used by oslo.messaging. Options include
  131. # messaging, messagingv2, log and routing. Default is 'noop'
  132. # notification_driver=noop
  133.  
  134. # Topics used for OpenStack notifications, list value. Default is 'notifications'.
  135. # notification_topics=notifications
  136.  
  137. # ============ Logging information =============================
  138. #log_dir = /integration/report
  139. #log_file = trove-taskmanager.log
  140.  
  141. # ============ PyDev remote dubugging =============================
  142.  
  143. # Enable or disable pydev remote debugging.
  144. # There are three values allowed: 'disabled', 'enabled' and 'auto'
  145. # If value is 'auto' tries to connect to remote debugger server,
  146. # but in case of error continue running with disabled debugging
  147. pydev_debug = disabled
  148.  
  149. # remote debug server host and port options
  150. #pydev_debug_host = localhost
  151. #pydev_debug_port = 5678
  152.  
  153. # path to pydevd library. It will be used if pydevd is absent in sys.path
  154. #pydev_path = <path>
  155.  
  156. # ================= Guestagent related ========================
  157. guest_config = /etc/trove/trove-guestagent.conf
  158. # Use 'guest_info = /etc/guest_info' for pre-Kilo compatibility
  159. #guest_info = guest_info.conf
  160. # Use 'injected_config_location = /etc/trove' for pre-Kilo compatibility
  161. #injected_config_location = /etc/trove/conf.d
  162. #cloudinit_location = /etc/trove/cloudinit
  163.  
  164. [database]
  165.  
  166. # SQLAlchemy connection string for the reference implementation
  167. # registry server. Any valid SQLAlchemy connection string is fine.
  168. # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
  169. #connection = mysql://root:e1a2c042c828d3566d0a@localhost/trove
  170. connection = mysql+pymysql://trove:X500u7t6ggUKz9O6xAUk@172.16.0.2/trove
  171. # connection = mysql://root:root@localhost/trove
  172.  
  173. # Period in seconds after which SQLAlchemy should reestablish its connection
  174. # to the database.
  175. #
  176. # MySQL uses a default `wait_timeout` of 8 hours, after which it will drop
  177. # idle connections. This can result in 'MySQL Gone Away' exceptions. If you
  178. # notice this, you can lower this value to ensure that SQLAlchemy reconnects
  179. # before MySQL can drop the connection.
  180. idle_timeout = 3600
  181.  
  182. # ================= Security groups related ========================
  183. # Each future datastore implementation should implement
  184. # its own oslo group with defined in it:
  185. # - tcp_ports; upd_ports;
  186.  
  187. [profiler]
  188. # If False fully disable profiling feature.
  189. #enabled = False
  190. # If False doesn't trace SQL requests.
  191. #trace_sqlalchemy = True
  192.  
  193. [oslo_messaging_rabbit]
  194. # The RabbitMQ broker address where a single node is used. (string value)
  195. # Deprecated group/name - [DEFAULT]/rabbit_host
  196. rabbit_host=controller.nicgrade.cloud.internal
  197.  
  198. # The RabbitMQ broker port where a single node is used. (integer value)
  199. # Deprecated group/name - [DEFAULT]/rabbit_port
  200. rabbit_port=5671
  201.  
  202. # RabbitMQ HA cluster host:port pairs. (list value)
  203. # Deprecated group/name - [DEFAULT]/rabbit_hosts
  204. rabbit_hosts=controller.nicgrade.cloud.internal:5671
  205.  
  206. # Connect over SSL for RabbitMQ. (boolean value)
  207. # Deprecated group/name - [DEFAULT]/rabbit_use_ssl
  208. rabbit_use_ssl=True
  209.  
  210. # The RabbitMQ userid. (string value)
  211. # Deprecated group/name - [DEFAULT]/rabbit_userid
  212. rabbit_userid=openstack
  213.  
  214. # The RabbitMQ password. (string value)
  215. # Deprecated group/name - [DEFAULT]/rabbit_password
  216. rabbit_password=PMCHTGyD3Li58d1vFxvsTb7u7ZbfmofP
  217.  
  218. # The RabbitMQ virtual host. (string value)
  219. # Deprecated group/name - [DEFAULT]/rabbit_virtual_host
  220. rabbit_virtual_host=openstackv
  221. rabbit_ha_queues=False
  222. kombu_ssl_version=TLSv1
  223. amqp_durable_queues=False
  224.  
  225. [mysql]
  226. # Format (single port or port range): A, B-C
  227. # where C greater than B
  228. tcp_ports = 3306
  229. volume_support = True
  230. device_path = /dev/vdb
  231.  
  232. [redis]
  233. # Format (single port or port range): A, B-C
  234. # where C greater than B
  235. tcp_ports = 6379
  236. # redis uses local storage
  237. volume_support = False
  238. # default device_path = None
  239.  
  240. [cassandra]
  241. tcp_ports = 7000, 7001, 9042, 9160
  242. volume_support = True
  243. device_path = /dev/vdb
  244.  
  245. [couchbase]
  246. tcp_ports = 8091, 8092, 4369, 11209-11211, 21100-21199
  247. volume_support = True
  248. device_path = /dev/vdb
  249.  
  250. [mongodb]
  251. volume_support = True
  252. device_path = /dev/vdb
  253.  
  254. [vertica]
  255. tcp_ports = 5433, 5434, 22, 5444, 5450, 4803
  256. udp_ports = 5433, 4803, 4804, 6453
  257. volume_support = True
  258. device_path = /dev/vdb
  259. mount_point = /var/lib/vertica
  260. taskmanager_strategy = trove.common.strategies.cluster.experimental.vertica.taskmanager.VerticaTaskManagerStrategy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement