Guest User

Untitled

a guest
Aug 8th, 2024
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 8.36 KB | None | 0 0
  1. # openstack_user_config.yml
  2. # Define CIDRs for networks
  3. cidr_networks:
  4.   management: 172.29.236.0/22
  5.   storage: 172.29.244.0/22
  6.   tunnel: 172.29.240.0/22
  7.  
  8. global_overrides:
  9.  # Set load balancer IPs
  10.   external_lb_vip_address: 192.168.4.32
  11.   internal_lb_vip_address: 172.29.236.100
  12.  
  13.   management_bridge: br-mgmt
  14.  
  15.   # Use containers or not
  16.   no_containers: false
  17.  
  18.   # Define provider networks to use in Neutron
  19.   provider_networks:
  20.     - network:
  21.         container_bridge: br-mgmt
  22.         container_interface: eth1
  23.         container_type: veth
  24.         group_binds:
  25.          - all_containers
  26.           - hosts
  27.         ip_from_q: management
  28.         is_management_address: true
  29.         static_routes:
  30.           - cidr: 192.168.4.0/24
  31.             gateway: 192.168.4.6
  32.         type: raw
  33.     - network:
  34.         container_bridge: br-vxlan
  35.         container_interface: eth10
  36.         container_type: veth
  37.         group_binds:
  38.          - neutron_ovn_controller
  39.         ip_from_q: tunnel
  40.         net_name: geneve
  41.         range: 1:1000
  42.         type: geneve
  43.     - network:
  44.         container_bridge: br-provider
  45.         group_binds:
  46.          - neutron_ovn_gateway
  47.         net_name: physnet1
  48.         network_interface: eth12
  49.         range: 101:200,301:400
  50.         type: vlan
  51.     - network:
  52.         container_bridge: br-provider
  53.         container_type: veth
  54.         group_binds:
  55.          - neutron_ovn_gateway
  56.         net_name: physnet1
  57.         type: flat
  58.     - network:
  59.         container_bridge: br-storage
  60.         container_interface: eth2
  61.         container_type: veth
  62.         group_binds:
  63.          - glance_api
  64.           - cinder_api
  65.           - cinder_volume
  66.           - nova_compute
  67.           - manila_share
  68.           - swift_proxy
  69.           - ceph-mon
  70.           - ceph-osd
  71.         ip_from_q: storage
  72.         type: raw
  73.  
  74. # Tell OSA what IPs are off limits.
  75. used_ips:
  76.  - 172.29.236.1,172.29.236.50
  77.   - 192.168.4.6
  78.   - 172.29.236.101
  79.   - 172.29.240.1,172.29.240.50
  80.   - 172.29.240.100
  81.   - 172.29.244.1,172.29.244.50
  82.   - 172.29.244.100
  83.   - 192.168.4.1,192.168.4.33
  84.   - 192.168.4.64,192.168.4.255
  85.  
  86.  
  87. # Define all the services to install.
  88. shared-infra_hosts:
  89.   ark:
  90.     ip: 192.168.4.6
  91.  
  92. repo-infra_hosts:
  93.   ark:
  94.     ip: 192.168.4.6
  95.  
  96. os-infra_hosts:
  97.   ark:
  98.     ip: 192.168.4.6
  99.  
  100. identity_hosts:
  101.   ark:
  102.     ip: 192.168.4.6
  103.  
  104. network_hosts:
  105.   ark:
  106.     ip: 192.168.4.6
  107.  
  108. storage-infra_hosts:
  109.   ark:
  110.     ip: 192.168.4.6
  111.     container_vars:
  112.       cinder_qos_specs:
  113.         - cinder_volume_types:
  114.            - low-iops
  115.           name: low-iops
  116.           options:
  117.             consumer: front-end
  118.             read_iops_sec: 75
  119.             write_iops_sec: 75
  120.         - cinder_volume_types:
  121.            - high-iops
  122.           name: high-iops
  123.           options:
  124.             consumer: front-end
  125.             read_iops_sec: 150
  126.             write_iops_sec: 150
  127.         - cinder_volume_types:
  128.            - ultra-high-iops
  129.           name: ultra-high-iops
  130.           options:
  131.             consumer: front-end
  132.             read_iops_sec: 300
  133.             write_iops_sec: 300
  134.  
  135. storage_hosts:
  136.   ark:
  137.     ip: 192.168.4.6
  138.     container_vars:
  139.       cinder_backends:
  140.         lvm:
  141.          # Required from the documentation.
  142.           volume_backend_name: LVM_iSCSI
  143.           volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
  144.           volume_group: cinder-volumes
  145.  
  146.           # Also specified by AIO
  147.           extra_volume_types:
  148.            - low-iops
  149.             - high-iops
  150.             - ultra-high-iops
  151.           iscsi_ip_address: 172.29.236.100
  152.           lvm_type: thin
  153.         limit_container_types: cinder_volume
  154.  
  155. haproxy_hosts:
  156.   ark:
  157.     ip: 192.168.4.6
  158.  
  159. ---
  160.  
  161. # user_variables.yml
  162.  
  163. # General settings
  164. apply_security_hardening: false
  165. debug: true
  166. install_method: source
  167.  
  168. # Galera settings
  169. galera_innodb_log_buffer_size: 4M
  170. galera_monitoring_allowed_source: 0.0.0.0/0
  171. galera_my_cnf_overrides:
  172.   mysqld:
  173.     innodb_buffer_pool_size: 16M
  174.     max_allowed_packet: 8M
  175.     read_buffer_size: 64K
  176.     sort_buffer_size: 8M
  177.     thread_cache_size: '8'
  178.     thread_stack: 192K
  179.     tmp_table_size: 8M
  180. galera_wsrep_provider_options:
  181.   - option: gcache.size
  182.     value: 4M
  183.  
  184. # LXC settings
  185. lxc_container_backing_store: dir
  186. lxc_container_bind_mounts:
  187.   - container_directory: /openstack/src
  188.     host_directory: /home/zuul/src
  189.   - container_directory: /opt/cache/files
  190.     host_directory: /opt/cache/files
  191. lxc_net_address: 10.255.255.1
  192. lxc_net_dhcp_range: 10.255.255.2,10.255.255.253
  193. lxc_net_mtu: 1500
  194. lxc_net_netmask: 255.255.255.0
  195.  
  196. # Neutron settings
  197. neutron_plugin_type: ml2.ovn
  198.  
  199. # Octavia settings
  200. # octavia_management_net_subnet_allocation_pools: 172.29.232.50-172.29.235.254
  201. # octavia_management_net_subnet_cidr: 172.29.232.0/22
  202.  
  203. # openstack_hosts_journald?
  204. openstack_hosts_journald_config:
  205.   RateLimitBurst: 600
  206.   RateLimitIntervalSec: 60
  207.   RuntimeMaxFileSize: 100M
  208.   RuntimeMaxUse: 2G
  209.   SystemMaxFileSize: 100M
  210.   SystemMaxUse: 4G
  211.  
  212. # Hosts package, use latest?
  213. openstack_hosts_package_state: latest
  214.  
  215. # openstack_user_kernel?
  216. openstack_user_kernel_options:
  217.   - key: kernel.printk
  218.     value: 4 1 7 4
  219.  
  220. # HAProxy and Keepalived settings
  221. # haproxy_use_keepalived: true
  222. # haproxy_keepalived_external_vip_cidr: 192.168.4.32/32
  223. # haproxy_keepalived_internal_vip_cidr: 172.29.236.9/32
  224. # haproxy_keepalived_external_interface: enp3s0
  225. # haproxy_keepalived_internal_interface: br-mgmt
  226.  
  227. # Testing stuff used by AIO
  228. # rally_install: true
  229. # tempest_install: true
  230. # tempest_network_ping_gateway: true
  231. # tempest_private_net_provider_type: geneve
  232. # tempest_public_net_physical_name: physnet1
  233. # tempest_public_subnet_allocation_pools: 192.168.4.34-192.168.4.63
  234. # tempest_public_subnet_cidr: 192.168.4.0/24
  235. # tempest_run: true
  236.  
  237. # Settings applied by AIO to minimize workers, etc.
  238. aodh_wsgi_processes: 1
  239. aodh_wsgi_threads: 1
  240. barbican_wsgi_processes: 1
  241. barbican_wsgi_threads: 1
  242. blazar_wsgi_processes: 1
  243. blazar_wsgi_threads: 1
  244. ceilometer_notification_workers: 1
  245. cinder_osapi_volume_workers_max: 1
  246. cinder_wsgi_buffer_size: 16384
  247. cinder_wsgi_processes: 1
  248. cinder_wsgi_threads: 1
  249. cloudkitty_wsgi_processes: 1
  250. cloudkitty_wsgi_threads: 1
  251. glance_api_threads: 2
  252. glance_api_workers: 1
  253. glance_wsgi_processes: 1
  254. glance_wsgi_threads: 2
  255. gnocchi_metricd_workers: 1
  256. gnocchi_wsgi_processes: 1
  257. gnocchi_wsgi_threads: 1
  258. heat_api_threads: 1
  259. heat_api_workers: 1
  260. heat_wsgi_buffer_size: 16384
  261. heat_wsgi_processes: 1
  262. heat_wsgi_threads: 1
  263. horizon_wsgi_processes: 1
  264. horizon_wsgi_threads: 1
  265. ironic_inspector_wsgi_processes: 1
  266. ironic_inspector_wsgi_threads: 1
  267. ironic_wsgi_processes: 1
  268. ironic_wsgi_threads: 1
  269. keystone_httpd_mpm_max_spare_threads: 10
  270. keystone_httpd_mpm_min_spare_threads: 5
  271. keystone_httpd_mpm_start_servers: 2
  272. keystone_httpd_mpm_thread_child: 15
  273. keystone_httpd_mpm_thread_limit: 15
  274. keystone_wsgi_processes: 2
  275. keystone_wsgi_threads: 2
  276. magnum_conductor_workers: 1
  277. magnum_wsgi_processes: 1
  278. manila_osapi_share_workers: 2
  279. manila_wsgi_buffer_size: 65535
  280. manila_wsgi_processes: 1
  281. manila_wsgi_threads: 1
  282. mistral_wsgi_processes: 1
  283. mistral_wsgi_threads: 1
  284. neutron_api_threads: 2
  285. neutron_api_workers: 1
  286. neutron_metadata_workers: 1
  287. neutron_num_sync_threads: 1
  288. neutron_rpc_workers: 1
  289. neutron_wsgi_processes: 1
  290. nova_api_threads: 1
  291. nova_conductor_workers: 1
  292. nova_metadata_workers: 1
  293. nova_osapi_compute_workers: 1
  294. nova_reserved_host_memory_mb: 256
  295. nova_scheduler_workers: 1
  296. nova_wsgi_buffer_size: 16384
  297. nova_wsgi_processes: 1
  298. nova_wsgi_threads: 1
  299. octavia_wsgi_buffer_size: 16384
  300. octavia_wsgi_processes: 1
  301. octavia_wsgi_threads: 1
  302. placement_wsgi_buffer_size: 16384
  303. placement_wsgi_processes: 1
  304. placement_wsgi_threads: 1
  305. repo_nginx_threads: 2
  306. sahara_api_workers: 1
  307. sahara_wsgi_buffer_size: 16384
  308. sahara_wsgi_processes: 1
  309. sahara_wsgi_threads: 1
  310. senlin_api_threads: 1
  311. senlin_wsgi_processes: 1
  312. senlin_wsgi_threads: 1
  313. skyline_api_workers: 2
  314. swift_account_server_replicator_workers: 1
  315. swift_account_server_workers: 1
  316. swift_container_server_workers: 1
  317. swift_object_replicator_workers: 1
  318. swift_object_server_workers: 1
  319. swift_proxy_server_workers: 1
  320. swift_proxy_server_workers_capped: 1
  321. swift_proxy_server_workers_not_capped: 1
  322. swift_server_replicator_workers: 1
  323. trove_api_workers: 1
  324. trove_conductor_workers: 1
  325. trove_service_net_setup: true
  326. trove_wsgi_processes: 1
  327. trove_wsgi_threads: 1
  328. zun_api_threads: 1
  329. zun_wsgi_processes: 1
  330. zun_wsgi_threads: 1
Advertisement
Add Comment
Please, Sign In to add comment