Advertisement
Guest User

Untitled

a guest
Aug 11th, 2017
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.74 KB | None | 0 0
  1. root@deploy:/opt/openstack-ansible/playbooks# cat /etc/openstack_deploy/openstack_user_config.yml
  2. ---
  3.  
  4. # Level: cidr_networks (required)
  5. # Contains an arbitrary list of networks for the deployment. For each network,
  6. # the inventory generator uses the IP address range to create a pool of IP
  7. # addresses for network interfaces inside containers. A deployment requires
  8. # at least one network for management.
  9. #
  10. # Option: <value> (required, string)
  11. # Name of network and IP address range in CIDR notation. This IP address
  12. # range coincides with the IP address range of the bridge for this network
  13. # on the target host.
  14. #
  15. # Example:
  16. #
  17. # Define networks for a typical deployment.
  18. #
  19. # - Management network on 172.29.236.0/22. Control plane for infrastructure
  20. # services, OpenStack APIs, and horizon.
  21. # - Tunnel network on 172.29.240.0/22. Data plane for project (tenant) VXLAN
  22. # networks.
  23. # - Storage network on 172.29.244.0/22. Data plane for storage services such
  24. # as cinder and swift.
  25. #
  26. # cidr_networks:
  27. # container: 172.29.236.0/22
  28. # tunnel: 172.29.240.0/22
  29. # storage: 172.29.244.0/22
  30. #
  31. # Example:
  32. #
  33. # Define additional service network on 172.29.248.0/22 for deployment in a
  34. # Rackspace data center.
  35. #
  36. # snet: 172.29.248.0/22
  37. #
  38.  
  39. cidr_networks:
  40. container: 172.29.236.0/22
  41. tunnel: 172.29.240.0/22
  42. storage: 172.29.244.0/22
  43.  
  44.  
  45.  
  46.  
  47. # --------
  48. #
  49. # Level: used_ips (optional)
  50. # For each network in the 'cidr_networks' level, specify a list of IP addresses
  51. # or a range of IP addresses that the inventory generator should exclude from
  52. # the pools of IP addresses for network interfaces inside containers. To use a
  53. # range, specify the lower and upper IP addresses (inclusive) with a comma
  54. # separator.
  55. #
  56. # Example:
  57. #
  58. # The management network includes a router (gateway) on 172.29.236.1 and
  59. # DNS servers on 172.29.236.11-12. The deployment includes seven target
  60. # servers on 172.29.236.101-103, 172.29.236.111, 172.29.236.121, and
  61. # 172.29.236.131. However, the inventory generator automatically excludes
  62. # these IP addresses. The deployment host itself isn't automatically
  63. # excluded. Network policy at this particular example organization
  64. # also reserves 231-254 in the last octet at the high end of the range for
  65. # network device management.
  66. #
  67. # used_ips:
  68. # - 172.29.236.1
  69. # - "172.29.236.100,172.29.236.200"
  70. # - "172.29.240.100,172.29.240.200"
  71. # - "172.29.244.100,172.29.244.200"
  72. #
  73.  
  74. used_ips:
  75. - "172.29.236.1,172.29.236.50"
  76. - "172.29.240.1,172.29.240.50"
  77. - "172.29.244.1,172.29.244.50"
  78. - "172.29.248.1,172.29.248.50"
  79.  
  80. #
  81. # Level: global_overrides (required)
  82. # Contains global options that require customization for a deployment. For
  83. # example, load balancer virtual IP addresses (VIP). This level also provides
  84. # a mechanism to override other options defined in the playbook structure.
  85. #
  86. # Option: internal_lb_vip_address (required, string)
  87. # Load balancer VIP for the following items:
  88. #
  89. # - Local package repository
  90. # - Galera SQL database cluster
  91. # - Administrative and internal API endpoints for all OpenStack services
  92. # - Glance registry
  93. # - Nova compute source of images
  94. # - Cinder source of images
  95. # - Instance metadata
  96. #
  97. # Option: external_lb_vip_address (required, string)
  98. # Load balancer VIP for the following items:
  99. #
  100. # - Public API endpoints for all OpenStack services
  101. # - Horizon
  102. #
  103. # Option: management_bridge (required, string)
  104. # Name of management network bridge on target hosts. Typically 'br-mgmt'.
  105. #
  106. # Option: tunnel_bridge (optional, string)
  107. # Name of tunnel network bridge on target hosts. Typically 'br-vxlan'.
  108. #
  109. # Level: provider_networks (required)
  110. # List of container and bare metal networks on target hosts.
  111. #
  112. # Level: network (required)
  113. # Defines a container or bare metal network. Create a level for each
  114. # network.
  115. #
  116. # Option: type (required, string)
  117. # Type of network. Networks other than those for neutron such as
  118. # management and storage typically use 'raw'. Neutron networks use
  119. # 'flat', 'vlan', or 'vxlan'. Coincides with ML2 plug-in configuration
  120. # options.
  121. #
  122. # Option: container_bridge (required, string)
  123. # Name of unique bridge on target hosts to use for this network. Typical
  124. # values include 'br-mgmt', 'br-storage', 'br-vlan', 'br-vxlan', etc.
  125. #
  126. # Option: container_interface (required, string)
  127. # Name of unique interface in containers to use for this network.
  128. # Typical values include 'eth1', 'eth2', etc.
  129. # NOTE: Container interface is different from host interfaces.
  130. #
  131. # Option: container_type (required, string)
  132. # Name of mechanism that connects interfaces in containers to the bridge
  133. # on target hosts for this network. Typically 'veth'.
  134. #
  135. # Option: host_bind_override (optional, string)
  136. # Name of the physical network interface on the same L2 network being
  137. # used with the br-vlan device. This host_bind_override should only
  138. # be set for the ' container_bridge: "br-vlan" '.
  139. # This interface is optional but highly recommended for vlan based
  140. # OpenStack networking.
  141. # If no additional network interface is available, a deployer can create
  142. # a veth pair, and plug it into the the br-vlan bridge to provide
  143. # this interface. An example could be found in the aio_interfaces.cfg
  144. # file.
  145. #
  146. # Option: container_mtu (optional, string)
  147. # Sets the MTU within LXC for a given network type.
  148. #
  149. # Option: ip_from_q (optional, string)
  150. # Name of network in 'cidr_networks' level to use for IP address pool. Only
  151. # valid for 'raw' and 'vxlan' types.
  152. #
  153. # Option: is_container_address (required, boolean)
  154. # If true, the load balancer uses this IP address to access services
  155. # in the container. Only valid for networks with 'ip_from_q' option.
  156. #
  157. # Option: is_ssh_address (required, boolean)
  158. # If true, Ansible uses this IP address to access the container via SSH.
  159. # Only valid for networks with 'ip_from_q' option.
  160. #
  161. # Option: group_binds (required, string)
  162. # List of one or more Ansible groups that contain this
  163. # network. For more information, see the env.d YAML files.
  164. #
  165. # Option: net_name (optional, string)
  166. # Name of network for 'flat' or 'vlan' types. Only valid for these
  167. # types. Coincides with ML2 plug-in configuration options.
  168. #
  169. # Option: range (optional, string)
  170. # For 'vxlan' type neutron networks, range of VXLAN network identifiers
  171. # (VNI). For 'vlan' type neutron networks, range of VLAN tags. Supports
  172. # more than one range of VLANs on a particular network. Coincides with
  173. # ML2 plug-in configuration options.
  174. #
  175. # Option: static_routes (optional, list)
  176. # List of additional routes to give to the container interface.
  177. # Each item is composed of cidr and gateway. The items will be
  178. # translated into the container network interfaces configuration
  179. # as a `post-up ip route add <cidr> via <gateway> || true`.
  180. #
  181. # Option: gateway (optional, string)
  182. # String containing the IP of the default gateway used by the
  183. # container. Generally not needed: the containers will have
  184. # their default gateway set with dnsmasq, poitining to the host
  185. # which does natting for container connectivity.
  186. #
  187. # Example:
  188. #
  189. # Define a typical network architecture:
  190. #
  191. # - Network of type 'raw' that uses the 'br-mgmt' bridge and 'management'
  192. # IP address pool. Maps to the 'eth1' device in containers. Applies to all
  193. # containers and bare metal hosts. Both the load balancer and Ansible
  194. # use this network to access containers and services.
  195. # - Network of type 'raw' that uses the 'br-storage' bridge and 'storage'
  196. # IP address pool. Maps to the 'eth2' device in containers. Applies to
  197. # nova compute and all storage service containers. Optionally applies to
  198. # to the swift proxy service.
  199. # - Network of type 'vxlan' that contains neutron VXLAN tenant networks
  200. # 1 to 1000 and uses 'br-vxlan' bridge on target hosts. Maps to the
  201. # 'eth10' device in containers. Applies to all neutron agent containers
  202. # and neutron agents on bare metal hosts.
  203. # - Network of type 'vlan' that contains neutron VLAN networks 101 to 200
  204. # and 301 to 400 and uses the 'br-vlan' bridge on target hosts. Maps to
  205. # the 'eth11' device in containers. Applies to all neutron agent
  206. # containers and neutron agents on bare metal hosts.
  207. # - Network of type 'flat' that contains one neutron flat network and uses
  208. # the 'br-vlan' bridge on target hosts. Maps to the 'eth12' device in
  209. # containers. Applies to all neutron agent containers and neutron agents
  210. # on bare metal hosts.
  211. #
  212. # Note: A pair of 'vlan' and 'flat' networks can use the same bridge because
  213. # one only handles tagged frames and the other only handles untagged frames
  214. # (the native VLAN in some parlance). However, additional 'vlan' or 'flat'
  215. # networks require additional bridges.
  216. #
  217. # provider_networks:
  218. # - network:
  219. # group_binds:
  220. # - all_containers
  221. # - hosts
  222. # type: "raw"
  223. # container_bridge: "br-mgmt"
  224. # container_interface: "eth1"
  225. # container_type: "veth"
  226. # ip_from_q: "container"
  227. # is_container_address: true
  228. # is_ssh_address: true
  229. # - network:
  230. # group_binds:
  231. # - glance_api
  232. # - cinder_api
  233. # - cinder_volume
  234. # - nova_compute
  235. # # Uncomment the next line if using swift with a storage network.
  236. # # - swift_proxy
  237. # type: "raw"
  238. # container_bridge: "br-storage"
  239. # container_type: "veth"
  240. # container_interface: "eth2"
  241. # container_mtu: "9000"
  242. # ip_from_q: "storage"
  243. # - network:
  244. # group_binds:
  245. # - neutron_linuxbridge_agent
  246. # container_bridge: "br-vxlan"
  247. # container_type: "veth"
  248. # container_interface: "eth10"
  249. # container_mtu: "9000"
  250. # ip_from_q: "tunnel"
  251. # type: "vxlan"
  252. # range: "1:1000"
  253. # net_name: "vxlan"
  254. # - network:
  255. # group_binds:
  256. # - neutron_linuxbridge_agent
  257. # container_bridge: "br-vlan"
  258. # container_type: "veth"
  259. # container_interface: "eth11"
  260. # type: "vlan"
  261. # range: "101:200,301:400"
  262. # net_name: "vlan"
  263. # - network:
  264. # group_binds:
  265. # - neutron_linuxbridge_agent
  266. # container_bridge: "br-vlan"
  267. # container_type: "veth"
  268. # container_interface: "eth12"
  269. # host_bind_override: "eth12"
  270. # type: "flat"
  271. # net_name: "flat"
  272. #
  273.  
  274. global_overrides:
  275. internal_lb_vip_address: 172.29.236.12
  276. #
  277. # The below domain name must resolve to an IP address
  278. # in the CIDR specified in haproxy_keepalived_external_vip_cidr.
  279. # If using different protocols (https/http) for the public/internal
  280. # endpoints the two addresses must be different.
  281. #
  282. external_lb_vip_address: 192.168.56.104
  283. tunnel_bridge: "br-vxlan"
  284. management_bridge: "br-mgmt"
  285. provider_networks:
  286. - network:
  287. container_bridge: "br-mgmt"
  288. container_type: "veth"
  289. container_interface: "eth1"
  290. ip_from_q: "container"
  291. type: "raw"
  292. group_binds:
  293. - all_containers
  294. - hosts
  295. is_container_address: true
  296. is_ssh_address: true
  297. - network:
  298. container_bridge: "br-vxlan"
  299. container_type: "veth"
  300. container_interface: "eth10"
  301. ip_from_q: "tunnel"
  302. type: "vxlan"
  303. range: "1:1000"
  304. net_name: "vxlan"
  305. group_binds:
  306. - neutron_linuxbridge_agent
  307. - network:
  308. container_bridge: "br-vlan"
  309. container_type: "veth"
  310. container_interface: "eth12"
  311. host_bind_override: "eth12"
  312. type: "flat"
  313. net_name: "flat"
  314. group_binds:
  315. - neutron_linuxbridge_agent
  316. - network:
  317. container_bridge: "br-vlan"
  318. container_type: "veth"
  319. container_interface: "eth11"
  320. type: "vlan"
  321. range: "1:1"
  322. net_name: "vlan"
  323. group_binds:
  324. - neutron_linuxbridge_agent
  325. - network:
  326. container_bridge: "br-storage"
  327. container_type: "veth"
  328. container_interface: "eth2"
  329. ip_from_q: "storage"
  330. type: "raw"
  331. group_binds:
  332. - glance_api
  333. - cinder_api
  334. - cinder_volume
  335. - nova_compute
  336.  
  337. # --------
  338. #
  339. # Level: shared-infra_hosts (required)
  340. # List of target hosts on which to deploy shared infrastructure services
  341. # including the Galera SQL database cluster, RabbitMQ, and Memcached. Recommend
  342. # three minimum target hosts for these services.
  343. #
  344. # Level: <value> (required, string)
  345. # Hostname of a target host.
  346. #
  347. # Option: ip (required, string)
  348. # IP address of this target host, typically the IP address assigned to
  349. # the management bridge.
  350. #
  351. # Example:
  352. #
  353. # Define three shared infrastructure hosts:
  354. #
  355. # shared-infra_hosts:
  356. # infra1:
  357. # ip: 172.29.236.101
  358. # infra2:
  359. # ip: 172.29.236.102
  360. # infra3:
  361. # ip: 172.29.236.103
  362. #
  363.  
  364. # galera, memcache, rabbitmq, utility
  365. shared-infra_hosts:
  366. infra1:
  367. ip: 172.29.236.12
  368.  
  369. # --------
  370. #
  371. # Level: repo-infra_hosts (required)
  372. # List of target hosts on which to deploy the package repository. Recommend
  373. # minimum three target hosts for this service. Typically contains the same
  374. # target hosts as the 'shared-infra_hosts' level.
  375. #
  376. # Level: <value> (required, string)
  377. # Hostname of a target host.
  378. #
  379. # Option: ip (required, string)
  380. # IP address of this target host, typically the IP address assigned to
  381. # the management bridge.
  382. #
  383. # Example:
  384. #
  385. # Define three package repository hosts:
  386. #
  387. # repo-infra_hosts:
  388. # infra1:
  389. # ip: 172.29.236.101
  390. # infra2:
  391. # ip: 172.29.236.102
  392. # infra3:
  393. # ip: 172.29.236.103
  394. #
  395.  
  396. # repository (apt cache, python packages, etc)
  397. repo-infra_hosts:
  398. infra1:
  399. ip: 172.29.236.12
  400.  
  401. # --------
  402. #
  403. # Level: os-infra_hosts (required)
  404. # List of target hosts on which to deploy the glance API, nova API, heat API,
  405. # and horizon. Recommend three minimum target hosts for these services.
  406. # Typically contains the same target hosts as 'shared-infra_hosts' level.
  407. #
  408. # Level: <value> (required, string)
  409. # Hostname of a target host.
  410. #
  411. # Option: ip (required, string)
  412. # IP address of this target host, typically the IP address assigned to
  413. # the management bridge.
  414. #
  415. # Example:
  416. #
  417. # Define three OpenStack infrastructure hosts:
  418. #
  419. # os-infra_hosts:
  420. # infra1:
  421. # ip: 172.29.236.101
  422. # infra2:
  423. # ip: 172.29.236.102
  424. # infra3:
  425. # ip: 172.29.236.103
  426. #
  427.  
  428. os-infra_hosts:
  429. infra1:
  430. ip: 172.29.236.12
  431.  
  432. # --------
  433. #
  434. # Level: identity_hosts (required)
  435. # List of target hosts on which to deploy the keystone service. Recommend
  436. # three minimum target hosts for this service. Typically contains the same
  437. # target hosts as the 'shared-infra_hosts' level.
  438. #
  439. # Level: <value> (required, string)
  440. # Hostname of a target host.
  441. #
  442. # Option: ip (required, string)
  443. # IP address of this target host, typically the IP address assigned to
  444. # the management bridge.
  445. #
  446. # Example:
  447. #
  448. # Define three OpenStack identity hosts:
  449. #
  450. # identity_hosts:
  451. # infra1:
  452. # ip: 172.29.236.101
  453. # infra2:
  454. # ip: 172.29.236.102
  455. # infra3:
  456. # ip: 172.29.236.103
  457. #
  458.  
  459. # keystone
  460. identity_hosts:
  461. infra1:
  462. ip: 172.29.236.12
  463.  
  464. ##### MISSING
  465.  
  466. # glance
  467. image_hosts:
  468. infra1:
  469. ip: 172.29.236.12
  470.  
  471. # nova api, conductor, etc services
  472. compute-infra_hosts:
  473. infra1:
  474. ip: 172.29.236.12
  475.  
  476. # heat
  477. orchestration_hosts:
  478. infra1:
  479. ip: 172.29.236.12
  480.  
  481. # horizon
  482. dashboard_hosts:
  483. infra1:
  484. ip: 172.29.236.12
  485.  
  486. ##### END MISSING
  487.  
  488. # --------
  489. #
  490. # Level: network_hosts (required)
  491. # List of target hosts on which to deploy neutron services. Recommend three
  492. # minimum target hosts for this service. Typically contains the same target
  493. # hosts as the 'shared-infra_hosts' level.
  494. #
  495. # Level: <value> (required, string)
  496. # Hostname of a target host.
  497. #
  498. # Option: ip (required, string)
  499. # IP address of this target host, typically the IP address assigned to
  500. # the management bridge.
  501. #
  502. # Example:
  503. #
  504. # Define three OpenStack network hosts:
  505. #
  506. # network_hosts:
  507. # infra1:
  508. # ip: 172.29.236.101
  509. # infra2:
  510. # ip: 172.29.236.102
  511. # infra3:
  512. # ip: 172.29.236.103
  513. #
  514.  
  515. # neutron server, agents (L3, etc)
  516. network_hosts:
  517. infra1:
  518. ip: 172.29.236.12
  519.  
  520. # --------
  521. #
  522. # Level: compute_hosts (optional)
  523. # List of target hosts on which to deploy the nova compute service. Recommend
  524. # one minimum target host for this service. Typically contains target hosts
  525. # that do not reside in other levels.
  526. #
  527. # Level: <value> (required, string)
  528. # Hostname of a target host.
  529. #
  530. # Option: ip (required, string)
  531. # IP address of this target host, typically the IP address assigned to
  532. # the management bridge.
  533. #
  534. # Example:
  535. #
  536. # Define an OpenStack compute host:
  537. #
  538. # compute_hosts:
  539. # compute1:
  540. # ip: 172.29.236.121
  541. #
  542.  
  543. # nova hypervisors
  544. compute_hosts:
  545. infra1:
  546. ip: 172.29.236.12
  547.  
  548. # cinder api services
  549. storage-infra_hosts:
  550. infra1:
  551. ip: 172.29.236.12
  552.  
  553. #
  554. # Level: storage_hosts (required)
  555. # List of target hosts on which to deploy the cinder volume service. Recommend
  556. # one minimum target host for this service. Typically contains target hosts
  557. # that do not reside in other levels.
  558. #
  559. # Level: <value> (required, string)
  560. # Hostname of a target host.
  561. #
  562. # Option: ip (required, string)
  563. # IP address of this target host, typically the IP address assigned to
  564. # the management bridge.
  565. #
  566. # Level: container_vars (required)
  567. # Contains storage options for this target host.
  568. #
  569. # Option: cinder_storage_availability_zone (optional, string)
  570. # Cinder availability zone.
  571. #
  572. # Option: cinder_default_availability_zone (optional, string)
  573. # If the deployment contains more than one cinder availability zone,
  574. # specify a default availability zone.
  575. #
  576. # Level: cinder_backends (required)
  577. # Contains cinder backends.
  578. #
  579. # Option: limit_container_types (optional, string)
  580. # Container name string in which to apply these options. Typically
  581. # any container with 'cinder_volume' in the name.
  582. #
  583. # Level: <value> (required, string)
  584. # Arbitrary name of the backend. Each backend contains one or more
  585. # options for the particular backend driver. The template for the
  586. # cinder.conf file can generate configuration for any backend
  587. # providing that it includes the necessary driver options.
  588. #
  589. # Option: volume_backend_name (required, string)
  590. # Name of backend, arbitrary.
  591. #
  592. # The following options apply to the LVM backend driver:
  593. #
  594. # Option: volume_driver (required, string)
  595. # Name of volume driver, typically
  596. # 'cinder.volume.drivers.lvm.LVMVolumeDriver'.
  597. #
  598. # Option: volume_group (required, string)
  599. # Name of LVM volume group, typically 'cinder-volumes'.
  600. #
  601. # The following options apply to the NFS backend driver:
  602. #
  603. # Option: volume_driver (required, string)
  604. # Name of volume driver,
  605. # 'cinder.volume.drivers.nfs.NfsDriver'.
  606. # NB. When using NFS driver you may want to adjust your
  607. # env.d/cinder.yml file to run cinder-volumes in containers.
  608. #
  609. # Option: nfs_shares_config (optional, string)
  610. # File containing list of NFS shares available to cinder, typically
  611. # '/etc/cinder/nfs_shares'.
  612. #
  613. # Option: nfs_mount_point_base (optional, string)
  614. # Location in which to mount NFS shares, typically
  615. # '$state_path/mnt'.
  616. #
  617. # Option: nfs_mount_options (optional, string)
  618. # Mount options used for the NFS mount points.
  619. #
  620. # Option: shares (required)
  621. # List of shares to populate the 'nfs_shares_config' file. Each share
  622. # uses the following format:
  623. # - { ip: "\{\{ ip_nfs_server }}", share "/vol/cinder" }
  624. #
  625. # The following options apply to the NetApp backend driver:
  626. #
  627. # Option: volume_driver (required, string)
  628. # Name of volume driver,
  629. # 'cinder.volume.drivers.netapp.common.NetAppDriver'.
  630. # NB. When using NetApp drivers you may want to adjust your
  631. # env.d/cinder.yml file to run cinder-volumes in containers.
  632. #
  633. # Option: netapp_storage_family (required, string)
  634. # Access method, typically 'ontap_7mode' or 'ontap_cluster'.
  635. #
  636. # Option: netapp_storage_protocol (required, string)
  637. # Transport method, typically 'scsi' or 'nfs'. NFS transport also
  638. # requires the 'nfs_shares_config' option.
  639. #
  640. # Option: nfs_shares_config (required, string)
  641. # For NFS transport, name of the file containing shares. Typically
  642. # '/etc/cinder/nfs_shares'.
  643. #
  644. # Option: netapp_server_hostname (required, string)
  645. # NetApp server hostname.
  646. #
  647. # Option: netapp_server_port (required, integer)
  648. # NetApp server port, typically 80 or 443.
  649. #
  650. # Option: netapp_login (required, string)
  651. # NetApp server username.
  652. #
  653. # Option: netapp_password (required, string)
  654. # NetApp server password.
  655. #
  656. # Example:
  657. #
  658. # Define an OpenStack storage host:
  659. #
  660. # storage_hosts:
  661. # lvm-storage1:
  662. # ip: 172.29.236.131
  663. #
  664. # Example:
  665. #
  666. # Use the LVM iSCSI backend in availability zone 'cinderAZ_1':
  667. #
  668. # container_vars:
  669. # cinder_storage_availability_zone: cinderAZ_1
  670. # cinder_default_availability_zone: cinderAZ_1
  671. # cinder_backends:
  672. # lvm:
  673. # volume_backend_name: LVM_iSCSI
  674. # volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
  675. # volume_group: cinder-volumes
  676. # iscsi_ip_address: "\{\{ cinder_storage_address }}"
  677. # limit_container_types: cinder_volume
  678. #
  679. # Example:
  680. #
  681. # Use the NetApp iSCSI backend via Data ONTAP 7-mode in availability zone
  682. # 'cinderAZ_2':
  683. #
  684. # container_vars:
  685. # cinder_storage_availability_zone: cinderAZ_2
  686. # cinder_default_availability_zone: cinderAZ_1
  687. # cinder_backends:
  688. # netapp:
  689. # volume_backend_name: NETAPP_iSCSI
  690. # volume_driver: cinder.volume.drivers.netapp.common.NetAppDriver
  691. # netapp_storage_family: ontap_7mode
  692. # netapp_storage_protocol: iscsi
  693. # netapp_server_hostname: hostname
  694. # netapp_server_port: 443
  695. # netapp_login: username
  696. # netapp_password: password
  697. #
  698. #
  699. # Example:
  700. #
  701. # Use the ceph RBD backend in availability zone 'cinderAZ_3':
  702. #
  703. # container_vars:
  704. # cinder_storage_availability_zone: cinderAZ_3
  705. # cinder_default_availability_zone: cinderAZ_1
  706. # cinder_backends:
  707. # limit_container_types: cinder_volume
  708. # volumes_hdd:
  709. # volume_driver: cinder.volume.drivers.rbd.RBDDriver
  710. # rbd_pool: volumes_hdd
  711. # rbd_ceph_conf: /etc/ceph/ceph.conf
  712. # rbd_flatten_volume_from_snapshot: 'false'
  713. # rbd_max_clone_depth: 5
  714. # rbd_store_chunk_size: 4
  715. # rados_connect_timeout: -1
  716. # volume_backend_name: volumes_hdd
  717. # rbd_user: "\{\{ cinder_ceph_client }}"
  718. # rbd_secret_uuid: "\{\{ cinder_ceph_client_uuid }}"
  719. #
  720. #
  721. # --------
  722.  
  723. # cinder storage host (LVM-backed)
  724. storage_hosts:
  725. storage:
  726. ip: 172.29.236.13
  727. container_vars:
  728. cinder_backends:
  729. limit_container_types: cinder_volume
  730. lvm:
  731. volume_group: cinder-volumes
  732. volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
  733. volume_backend_name: LVM_iSCSI
  734. iscsi_ip_address: "172.29.244.13"
  735.  
  736. # --------
  737. #
  738. # Level: log_hosts (required)
  739. # List of target hosts on which to deploy logging services. Recommend
  740. # one minimum target host for this service.
  741. #
  742. # Level: <value> (required, string)
  743. # Hostname of a target host.
  744. #
  745. # Option: ip (required, string)
  746. # IP address of this target host, typically the IP address assigned to
  747. # the management bridge.
  748. #
  749. # Example:
  750. #
  751. # Define a logging host:
  752. #
  753. # log_hosts:
  754. # log1:
  755. # ip: 172.29.236.171
  756. #
  757.  
  758.  
  759. log_hosts:
  760. storage:
  761. ip: 172.29.236.13
  762.  
  763. # load balancer
  764. # Ideally the load balancer should not use the Infrastructure hosts.
  765. # Dedicated hardware is best for improved performance and security.
  766. haproxy_hosts:
  767. infra1:
  768. ip: 172.29.236.12
  769. root@deploy:/opt/openstack-ansible/playbooks#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement