Advertisement
Guest User

Untitled

a guest
Jul 4th, 2019
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.51 KB | None | 0 0
  1. ---
  2. # You can use this file to override _any_ variable throughout Kolla.
  3. # Additional options can be found in the
  4. # 'kolla-ansible/ansible/group_vars/all.yml' file. Default value of all the
  5. # commented parameters are shown here, To override the default value uncomment
  6. # the parameter and change its value.
  7. virtualenv: "/home/deploy/virtualenv/kolla"
  8.  
  9. ###############
  10. # Kolla options
  11. ###############
  12. # Valid options are [ COPY_ONCE, COPY_ALWAYS ]
  13. #config_strategy: "COPY_ALWAYS"
  14.  
  15. # Valid options are ['centos', 'debian', 'oraclelinux', 'rhel', 'ubuntu']
  16. kolla_base_distro: "centos"
  17.  
  18. # Valid options are [ binary, source ]
  19. kolla_install_type: "binary"
  20.  
  21. # Valid option is Docker repository tag
  22. # https://launchpad.net/kolla-ansible/+milestones
  23. openstack_release: "rocky"
  24.  
  25. # Location of configuration overrides
  26. #node_custom_config: "/etc/kolla/config"
  27.  
  28. # This should be a VIP, an unused IP on your network that will float between
  29. # the hosts running keepalived for high-availability. If you want to run an
  30. # All-In-One without haproxy and keepalived, you can set enable_haproxy to no
  31. # in "OpenStack options" section, and set this value to the IP of your
  32. # 'network_interface' as set in the Networking section below.
  33. #kolla_internal_vip_address: "10.10.10.254"
  34. # Control IP (private)
  35. # XXX haproxy is disabled, IP is setup on host
  36. kolla_internal_vip_address: "192.168.100.22"
  37.  
  38. # This is the DNS name that maps to the kolla_internal_vip_address VIP. By
  39. # default it is the same as kolla_internal_vip_address.
  40. #kolla_internal_fqdn: "{{ kolla_internal_vip_address }}"
  41. #kolla_internal_fqdn: MY_PUBLIC_FQDN
  42.  
  43. # This should be a VIP, an unused IP on your network that will float between
  44. # the hosts running keepalived for high-availability. It defaults to the
  45. # kolla_internal_vip_address, allowing internal and external communication to
  46. # share the same address. Specify a kolla_external_vip_address to separate
  47. # internal and external requests between two VIPs.
  48. #kolla_external_vip_address: "{{ kolla_internal_vip_address }}"
  49. # Control IP (public)
  50. # Associated MAC is hardcoded on control's eth0
  51. # XXX haproxy is disabled, IP is setup on host
  52. kolla_external_vip_address: "MY_PULIC_IP.22"
  53.  
  54. # The Public address used to communicate with OpenStack as set in the public_url
  55. # for the endpoints that will be created. This DNS name should map to
  56. # kolla_external_vip_address.
  57. #kolla_external_fqdn: "{{ kolla_external_vip_address }}"
  58. kolla_external_fqdn: MY_PUBLIC_FQDN
  59.  
  60. ################
  61. # Docker options
  62. ################
  63. # Below is an example of a private repository with authentication. Note the
  64. # Docker registry password can also be set in the passwords.yml file.
  65.  
  66. #docker_registry: "172.16.0.10:4000"
  67. # docker_registry: "docker.io"
  68. # Deploy registry on the deploy node
  69. # docker run -d -p 4000:5000 --restart=always --name registry registry:2
  70. docker_registry: "192.168.100.19:4000"
  71. #docker_namespace: "companyname"
  72. #docker_registry_username: "sam"
  73. #docker_registry_password: "correcthorsebatterystaple"
  74.  
  75. ###################
  76. # Messaging options
  77. ###################
  78. # Below is an example of an separate backend that provides brokerless
  79. # messaging for oslo.messaging RPC communications
  80.  
  81. #om_rpc_transport: "amqp"
  82. #om_rpc_user: "{{ qdrouterd_user }}"
  83. #om_rpc_password: "{{ qdrouterd_password }}"
  84. #om_rpc_port: "{{ qdrouterd_port }}"
  85. #om_rpc_group: "qdrouterd"
  86.  
  87.  
  88. ##############################
  89. # Neutron - Networking Options
  90. ##############################
  91. # This interface is what all your api services will be bound to by default.
  92. # Additionally, all vxlan/tunnel and storage network traffic will go over this
  93. # interface by default. This interface must contain an IPv4 address.
  94. # It is possible for hosts to have non-matching names of interfaces - these can
  95. # be set in an inventory file per host or per group or stored separately, see
  96. # http://docs.ansible.com/ansible/intro_inventory.html
  97. # Yet another way to workaround the naming problem is to create a bond for the
  98. # interface on all hosts and give the bond name here. Similar strategy can be
  99. # followed for other types of interfaces.
  100. # Internal network used for managmenet, internal to improve security
  101. network_interface: "eth1"
  102.  
  103. # These can be adjusted for even more customization. The default is the same as
  104. # the 'network_interface'. These interfaces must contain an IPv4 address.
  105. #kolla_external_vip_interface: "{{ network_interface }}"
  106. #api_interface: "{{ network_interface }}"
  107. #storage_interface: "{{ network_interface }}"
  108. #cluster_interface: "{{ network_interface }}"
  109. #tunnel_interface: "{{ network_interface }}"
  110. #dns_interface: "{{ network_interface }}"
  111. # Interface of all controller nodes connected to public network
  112. kolla_external_vip_interface: "eth2"
  113.  
  114. # This is the raw interface given to neutron as its external network port. Even
  115. # though an IP address can exist on this interface, it will be unusable in most
  116. # configurations. It is recommended this interface not be configured with any IP
  117. # addresses for that reason.
  118. # Use a combined interface, not internal/external network
  119. # neutron_external_interface: "eth1"
  120. # Use ethX for external/provider network
  121. # XXX A dedicated network is most probably needed for this, it should not used
  122. # the default public IP
  123. neutron_external_interface: "eth3"
  124.  
  125. # Valid options are [ openvswitch, linuxbridge, vmware_nsxv, vmware_nsxv3, vmware_dvs, opendaylight ]
  126. # if vmware_nsxv3 is selected, enable_openvswitch MUST be set to "no" (default is yes)
  127. #neutron_plugin_agent: "openvswitch"
  128.  
  129. # Valid options are [ internal, infoblox ]
  130. #neutron_ipam_driver: "internal"
  131.  
  132.  
  133. ####################
  134. # keepalived options
  135. ####################
  136. # Arbitrary unique number from 0..255
  137. #keepalived_virtual_router_id: "51"
  138.  
  139. ###################
  140. # Dimension options
  141. ###################
  142. # This is to provide an extra option to deploy containers with Resource constraints.
  143. # We call it dimensions here.
  144. # The dimensions for each container are defined by a mapping, where each dimension value should be a
  145. # string.
  146. # Reference_Docs
  147. # https://docs.docker.com/config/containers/resource_constraints/
  148. # eg:
  149. # <container_name>_dimensions:
  150. # blkio_weight:
  151. # cpu_period:
  152. # cpu_quota:
  153. # cpu_shares:
  154. # cpuset_cpus:
  155. # cpuset_mems:
  156. # mem_limit:
  157. # mem_reservation:
  158. # memswap_limit:
  159. # kernel_memory:
  160.  
  161.  
  162. #############
  163. # TLS options
  164. #############
  165. # To provide encryption and authentication on the kolla_external_vip_interface,
  166. # TLS can be enabled. When TLS is enabled, certificates must be provided to
  167. # allow clients to perform authentication.
  168. #kolla_enable_tls_external: "no"
  169. #kolla_external_fqdn_cert: "{{ node_config_directory }}/certificates/haproxy.pem"
  170. kolla_enable_tls_external: "no"
  171.  
  172.  
  173. ##############
  174. # OpenDaylight
  175. ##############
  176. #enable_opendaylight_qos: "no"
  177. #enable_opendaylight_l3: "yes"
  178.  
  179. ###################
  180. # OpenStack options
  181. ###################
  182. # Use these options to set the various log levels across all OpenStack projects
  183. # Valid options are [ True, False ]
  184. #openstack_logging_debug: "False"
  185.  
  186. # Valid options are [ none, novnc, spice, rdp ]
  187. #nova_console: "novnc"
  188.  
  189. # OpenStack services can be enabled or disabled with these options
  190. #enable_aodh: "no"
  191. #enable_barbican: "no"
  192. #enable_blazar: "no"
  193. #enable_ceilometer: "no"
  194. #enable_central_logging: "no"
  195. #enable_ceph: "no"
  196. #enable_ceph_mds: "no"
  197. #enable_ceph_rgw: "no"
  198. #enable_ceph_nfs: "no"
  199. #enable_ceph_dashboard: "{{ enable_ceph | bool }}"
  200. #enable_chrony: "yes"
  201. #enable_cinder: "no"
  202. #enable_cinder_backup: "yes"
  203. #enable_cinder_backend_hnas_iscsi: "no"
  204. #enable_cinder_backend_hnas_nfs: "no"
  205. #enable_cinder_backend_iscsi: "no"
  206. #enable_cinder_backend_lvm: "no"
  207. #enable_cinder_backend_nfs: "no"
  208. #enable_cloudkitty: "no"
  209. #enable_collectd: "no"
  210. #enable_congress: "no"
  211. #enable_designate: "no"
  212. #enable_destroy_images: "no"
  213. #enable_elasticsearch: "{{ 'yes' if enable_central_logging | bool or enable_freezer | bool or enable_osprofiler | bool or enable_skydive | bool or enable_monasca | bool else 'no' }}"
  214. #enable_etcd: "no"
  215. #enable_fluentd: "yes"
  216. #enable_freezer: "no"
  217. #enable_gnocchi: "no"
  218. #enable_grafana: "no"
  219. # XXX Disable haproxy
  220. enable_haproxy: "no"
  221. #enable_heat: "yes"
  222. #enable_horizon: "yes"
  223. #enable_horizon_blazar: "{{ enable_blazar | bool }}"
  224. #enable_horizon_cloudkitty: "{{ enable_cloudkitty | bool }}"
  225. #enable_horizon_congress: "{{ enable_congress | bool }}"
  226. #enable_horizon_designate: "{{ enable_designate | bool }}"
  227. #enable_horizon_freezer: "{{ enable_freezer | bool }}"
  228. #enable_horizon_ironic: "{{ enable_ironic | bool }}"
  229. #enable_horizon_karbor: "{{ enable_karbor | bool }}"
  230. #enable_horizon_magnum: "{{ enable_magnum | bool }}"
  231. #enable_horizon_manila: "{{ enable_manila | bool }}"
  232. #enable_horizon_mistral: "{{ enable_mistral | bool }}"
  233. #enable_horizon_murano: "{{ enable_murano | bool }}"
  234. #enable_horizon_neutron_lbaas: "{{ enable_neutron_lbaas | bool }}"
  235. #enable_horizon_neutron_vpnaas: "{{ enable_neutron_vpnaas | bool }}"
  236. #enable_horizon_octavia: "{{ enable_octavia | bool }}"
  237. #enable_horizon_sahara: "{{ enable_sahara | bool }}"
  238. #enable_horizon_searchlight: "{{ enable_searchlight | bool }}"
  239. #enable_horizon_senlin: "{{ enable_senlin | bool }}"
  240. #enable_horizon_solum: "{{ enable_solum | bool }}"
  241. #enable_horizon_tacker: "{{ enable_tacker | bool }}"
  242. #enable_horizon_trove: "{{ enable_trove | bool }}"
  243. #enable_horizon_watcher: "{{ enable_watcher | bool }}"
  244. #enable_horizon_zun: "{{ enable_zun | bool }}"
  245. #enable_hyperv: "no"
  246. #enable_influxdb: "no"
  247. #enable_ironic: "no"
  248. #enable_ironic_ipxe: "no"
  249. #enable_ironic_neutron_agent: "no"
  250. #enable_ironic_pxe_uefi: "no"
  251. #enable_kafka: "no"
  252. #enable_karbor: "no"
  253. #enable_kuryr: "no"
  254. #enable_magnum: "no"
  255. #enable_manila: "no"
  256. #enable_manila_backend_generic: "no"
  257. #enable_manila_backend_hnas: "no"
  258. #enable_manila_backend_cephfs_native: "no"
  259. #enable_manila_backend_cephfs_nfs: "no"
  260. #enable_mistral: "no"
  261. #enable_monasca: "no"
  262. #enable_mongodb: "no"
  263. #enable_murano: "no"
  264. #enable_multipathd: "no"
  265. #enable_neutron_bgp_dragent: "no"
  266. #enable_neutron_dvr: "no"
  267. #enable_neutron_lbaas: "no"
  268. #enable_neutron_fwaas: "no"
  269. #enable_neutron_qos: "no"
  270. #enable_neutron_agent_ha: "no"
  271. #enable_neutron_vpnaas: "no"
  272. #enable_neutron_sriov: "no"
  273. #enable_neutron_sfc: "no"
  274. #enable_nova_fake: "no"
  275. #enable_nova_serialconsole_proxy: "no"
  276. #enable_nova_ssh: "yes"
  277. #enable_octavia: "no"
  278. #enable_onos: "no"
  279. #enable_opendaylight: "no"
  280. #enable_openvswitch: "{{ neutron_plugin_agent != 'linuxbridge' }}"
  281. #enable_ovs_dpdk: "no"
  282. #enable_osprofiler: "no"
  283. #enable_panko: "no"
  284. #enable_prometheus: "no"
  285. #enable_qdrouterd: "no"
  286. #enable_rally: "no"
  287. #enable_redis: "no"
  288. #enable_sahara: "no"
  289. #enable_searchlight: "no"
  290. #enable_senlin: "no"
  291. #enable_skydive: "no"
  292. #enable_solum: "no"
  293. #enable_swift: "no"
  294. #enable_storm: "no"
  295. #enable_telegraf: "no"
  296. #enable_tacker: "no"
  297. #enable_tempest: "no"
  298. #enable_trove: "no"
  299. #enable_trove_singletenant: "no"
  300. #enable_vitrage: "no"
  301. #enable_vmtp: "no"
  302. #enable_watcher: "no"
  303. #enable_zookeeper: "no"
  304. #enable_zun: "no"
  305.  
  306. ##############
  307. # Ceph options
  308. ##############
  309. # Ceph can be setup with a caching to improve performance. To use the cache you
  310. # must provide separate disks than those for the OSDs
  311. #ceph_enable_cache: "no"
  312.  
  313. # Set to no if using external Ceph without cephx.
  314. #external_ceph_cephx_enabled: "yes"
  315.  
  316. # Ceph is not able to determine the size of a cache pool automatically,
  317. # so the configuration on the absolute size is required here, otherwise the flush/evict will not work.
  318. #ceph_target_max_bytes: ""
  319. #ceph_target_max_objects: ""
  320.  
  321. # Valid options are [ forward, none, writeback ]
  322. #ceph_cache_mode: "writeback"
  323.  
  324. # A requirement for using the erasure-coded pools is you must setup a cache tier
  325. # Valid options are [ erasure, replicated ]
  326. #ceph_pool_type: "replicated"
  327.  
  328. # Integrate ceph rados object gateway with openstack keystone
  329. #enable_ceph_rgw_keystone: "no"
  330.  
  331. # Set the pgs and pgps for pool
  332. # WARNING! These values are dependant on the size and shape of your cluster -
  333. # the default values are not suitable for production use. Please refer to the
  334. # Kolla Ceph documentation for more information.
  335. #ceph_pool_pg_num: 8
  336. #ceph_pool_pgp_num: 8
  337.  
  338. #############################
  339. # Keystone - Identity Options
  340. #############################
  341.  
  342. # Valid options are [ fernet ]
  343. #keystone_token_provider: 'fernet'
  344.  
  345. #keystone_admin_user: "admin"
  346.  
  347. #keystone_admin_project: "admin"
  348.  
  349. # Interval to rotate fernet keys by (in seconds). Must be an interval of
  350. # 60(1 min), 120(2 min), 180(3 min), 240(4 min), 300(5 min), 360(6 min),
  351. # 600(10 min), 720(12 min), 900(15 min), 1200(20 min), 1800(30 min),
  352. # 3600(1 hour), 7200(2 hour), 10800(3 hour), 14400(4 hour), 21600(6 hour),
  353. # 28800(8 hour), 43200(12 hour), 86400(1 day), 604800(1 week).
  354. #fernet_token_expiry: 86400
  355.  
  356.  
  357. ########################
  358. # Glance - Image Options
  359. ########################
  360. # Configure image backend.
  361. #glance_backend_ceph: "no"
  362. #glance_backend_file: "yes"
  363. #glance_backend_swift: "no"
  364. #glance_backend_vmware: "no"
  365. # Configure glance upgrade option, due to this feature is experimental
  366. # in glance, so default value should be set to "no".
  367. glance_enable_rolling_upgrade: "no"
  368.  
  369. ####################
  370. # Osprofiler options
  371. ####################
  372. # valid values: ["elasticsearch", "redis"]
  373. #osprofiler_backend: "elasticsearch"
  374.  
  375. ##################
  376. # Barbican options
  377. ##################
  378. # Valid options are [ simple_crypto, p11_crypto ]
  379. #barbican_crypto_plugin: "simple_crypto"
  380. #barbican_library_path: "/usr/lib/libCryptoki2_64.so"
  381.  
  382. ################
  383. ## Panko options
  384. ################
  385. # Valid options are [ mongodb, mysql ]
  386. #panko_database_type: "mysql"
  387.  
  388. #################
  389. # Gnocchi options
  390. #################
  391. # Valid options are [ file, ceph ]
  392. #gnocchi_backend_storage: "{{ 'ceph' if enable_ceph|bool else 'file' }}"
  393.  
  394. # Valid options are [redis, '']
  395. #gnocchi_incoming_storage: "{{ 'redis' if enable_redis | bool else '' }}"
  396.  
  397. ################################
  398. # Cinder - Block Storage Options
  399. ################################
  400. # Enable / disable Cinder backends
  401. #cinder_backend_ceph: "{{ enable_ceph }}"
  402. #cinder_backend_vmwarevc_vmdk: "no"
  403. #cinder_volume_group: "cinder-volumes"
  404.  
  405. # Valid options are [ nfs, swift, ceph ]
  406. #cinder_backup_driver: "ceph"
  407. #cinder_backup_share: ""
  408. #cinder_backup_mount_options_nfs: ""
  409.  
  410.  
  411. ###################
  412. # Designate options
  413. ###################
  414. # Valid options are [ bind9 ]
  415. #designate_backend: "bind9"
  416. #designate_ns_record: "sample.openstack.org"
  417.  
  418. ########################
  419. # Nova - Compute Options
  420. ########################
  421. #nova_backend_ceph: "{{ enable_ceph }}"
  422.  
  423. # Valid options are [ qemu, kvm, vmware, xenapi ]
  424. #nova_compute_virt_type: "kvm"
  425.  
  426. # The number of fake driver per compute node
  427. #num_nova_fake_per_node: 5
  428.  
  429. #################
  430. # Hyper-V options
  431. #################
  432. # Hyper-V can be used as hypervisor
  433. #hyperv_username: "user"
  434. #hyperv_password: "password"
  435. #vswitch_name: "vswitch"
  436. # URL from which Nova Hyper-V MSI is downloaded
  437. #nova_msi_url: "https://www.cloudbase.it/downloads/HyperVNovaCompute_Beta.msi"
  438.  
  439. #############################
  440. # Horizon - Dashboard Options
  441. #############################
  442. #horizon_backend_database: "{{ enable_murano | bool }}"
  443.  
  444. #############################
  445. # Ironic options
  446. #############################
  447. # following value must be set when enable ironic, the value format
  448. # is "192.168.0.10,192.168.0.100".
  449. ironic_dnsmasq_dhcp_range:
  450. # PXE bootloader file for Ironic Inspector, relative to /tftpboot.
  451. #ironic_dnsmasq_boot_file: "pxelinux.0"
  452.  
  453. # Configure ironic upgrade option, due to currently kolla support
  454. # two upgrade ways for ironic: legacy_upgrade and rolling_upgrade
  455. # The variable "ironic_enable_rolling_upgrade: yes" is meaning legacy_upgrade
  456. # were enabled and opposite
  457. # Rolling upgrade were enable by default
  458. #ironic_enable_rolling_upgrade: "yes"
  459.  
  460. # List of extra kernel parameters passed to the kernel used during inspection
  461. #ironic_inspector_kernel_cmdline_extras: []
  462.  
  463. ######################################
  464. # Manila - Shared File Systems Options
  465. ######################################
  466. # HNAS backend configuration
  467. #hnas_ip:
  468. #hnas_user:
  469. #hnas_password:
  470. #hnas_evs_id:
  471. #hnas_evs_ip:
  472. #hnas_file_system_name:
  473.  
  474. ################################
  475. # Swift - Object Storage Options
  476. ################################
  477. # Swift expects block devices to be available for storage. Two types of storage
  478. # are supported: 1 - storage device with a special partition name and filesystem
  479. # label, 2 - unpartitioned disk with a filesystem. The label of this filesystem
  480. # is used to detect the disk which Swift will be using.
  481.  
  482. # Swift support two matching modes, valid options are [ prefix, strict ]
  483. #swift_devices_match_mode: "strict"
  484.  
  485. # This parameter defines matching pattern: if "strict" mode was selected,
  486. # for swift_devices_match_mode then swift_device_name should specify the name of
  487. # the special swift partition for example: "KOLLA_SWIFT_DATA", if "prefix" mode was
  488. # selected then swift_devices_name should specify a pattern which would match to
  489. # filesystems' labels prepared for swift.
  490. #swift_devices_name: "KOLLA_SWIFT_DATA"
  491.  
  492.  
  493. ################################################
  494. # Tempest - The OpenStack Integration Test Suite
  495. ################################################
  496. # following value must be set when enable tempest
  497. tempest_image_id:
  498. tempest_flavor_ref_id:
  499. tempest_public_network_id:
  500. tempest_floating_network_name:
  501.  
  502. # tempest_image_alt_id: "{{ tempest_image_id }}"
  503. # tempest_flavor_ref_alt_id: "{{ tempest_flavor_ref_id }}"
  504.  
  505. ###################################
  506. # VMware - OpenStack VMware support
  507. ###################################
  508. #vmware_vcenter_host_ip:
  509. #vmware_vcenter_host_username:
  510. #vmware_vcenter_host_password:
  511. #vmware_datastore_name:
  512. #vmware_vcenter_name:
  513. #vmware_vcenter_cluster_name:
  514.  
  515. #######################################
  516. # XenAPI - Support XenAPI for XenServer
  517. #######################################
  518. # XenAPI driver use HIMN(Host Internal Management Network)
  519. # to communicate with XenServer host.
  520. #xenserver_himn_ip:
  521. #xenserver_username:
  522. #xenserver_connect_protocol:
  523.  
  524. ############
  525. # Prometheus
  526. ############
  527. #enable_prometheus_haproxy_exporter: "{{ enable_haproxy | bool }}"
  528. #enable_prometheus_mysqld_exporter: "{{ enable_mariadb | bool }}"
  529. #enable_prometheus_node_exporter: "{{ enable_prometheus | bool }}"
  530. #enable_prometheus_cadvisor: "{{ enable_prometheus | bool }}"
  531. #enable_prometheus_memcached: "{{ enable_prometheus | bool }}"
  532. #enable_prometheus_alertmanager: "{{ enable_prometheus | bool }}"
  533. #enable_prometheus_ceph_mgr_exporter: "{{ enable_prometheus | bool and enable_ceph | bool }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement