Advertisement
Guest User

Script

a guest
Apr 19th, 2022
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.90 KB | None | 0 0
  1. # Please refer to the OpenStack Charms Deployment Guide for more information.
  2. # https://docs.openstack.org/project-deploy-guide/charm-deployment-guide
  3.  
  4. series: focal
  5. variables:
  6. openstack-origin: &openstack-origin cloud:focal-yoga
  7. data-port: &data-port br-ex:bond0
  8. worker-multiplier: &worker-multiplier 0.25
  9. osd-devices: &osd-devices /dev/sdb #/dev/sdc
  10. expected-osd-count: &expected-osd-count 3
  11. expected-mon-count: &expected-mon-count 3
  12.  
  13. machines:
  14. '0':
  15. series: focal
  16. constraints: tags=controller
  17. '1':
  18. series: focal
  19. constraints: tags=controller
  20. '2':
  21. series: focal
  22. constraints: tags=controller
  23. '3':
  24. series: focal
  25. constraints: tags=compute
  26. '4':
  27. series: focal
  28. constraints: tags=compute
  29. # '5':
  30. # series: focal
  31. # constraints: tags=compute
  32.  
  33. applications:
  34.  
  35. ceph-mon:
  36. annotations:
  37. gui-x: '790'
  38. gui-y: '1540'
  39. charm: cs:ceph-mon
  40. num_units: 3
  41. options:
  42. expected-osd-count: *expected-osd-count
  43. monitor-count: *expected-mon-count
  44. source: *openstack-origin
  45. bindings:
  46. "": admin-network
  47. to:
  48. - lxd:0
  49. - lxd:1
  50. - lxd:2
  51.  
  52. ceph-osd:
  53. annotations:
  54. gui-x: '1065'
  55. gui-y: '1540'
  56. charm: cs:ceph-osd
  57. num_units: 5 #6
  58. options:
  59. osd-devices: *osd-devices
  60. source: *openstack-origin
  61. bindings:
  62. "": admin-network
  63. to:
  64. - '0'
  65. - '1'
  66. - '2'
  67. - '3'
  68. - '4'
  69. # - '5'
  70.  
  71. ceph-radosgw-hacluster:
  72. charm: 'cs:hacluster'
  73. series: focal
  74. annotations:
  75. gui-x: 975.2022857666016
  76. gui-y: 861.4601440429688
  77. bindings:
  78. "": admin-network
  79.  
  80. ceph-radosgw:
  81. annotations:
  82. gui-x: '850'
  83. gui-y: '900'
  84. charm: cs:ceph-radosgw
  85. num_units: 3
  86. options:
  87. os-admin-hostname: storage.test.local
  88. os-internal-hostname: storage.test.local
  89. os-public-hostname: storage.test.local
  90. vip: 172.16.75.10 #192.168.51.200
  91. source: *openstack-origin
  92. bindings:
  93. "": admin-network
  94. to:
  95. - lxd:2
  96. - lxd:3
  97. - lxd:4
  98.  
  99. cinder-hacluster:
  100. charm: 'cs:hacluster'
  101. series: focal
  102. annotations:
  103. gui-x: 1097.0257568359375
  104. gui-y: 1207.35888671875
  105. bindings:
  106. "": admin-network
  107.  
  108. cinder-mysql-router:
  109. annotations:
  110. gui-x: '900'
  111. gui-y: '1400'
  112. charm: cs:mysql-router
  113.  
  114. cinder:
  115. annotations:
  116. gui-x: '980'
  117. gui-y: '1270'
  118. charm: cs:cinder
  119. num_units: 3
  120. options:
  121. os-admin-hostname: cinder.lab.test.local
  122. os-internal-hostname: cinder.lab.test.local
  123. os-public-hostname: cinder.lab.test.local
  124. vip: 172.16.75.11
  125. block-device: None
  126. glance-api-version: 2
  127. worker-multiplier: *worker-multiplier
  128. # openstack-origin: *openstack-origin
  129. bindings:
  130. "": admin-network
  131. to:
  132. - lxd:0
  133. - lxd:1
  134. - lxd:2
  135.  
  136. cinder-ceph:
  137. annotations:
  138. gui-x: '1120'
  139. gui-y: '1400'
  140. bindings:
  141. "": admin-network
  142. charm: cs:cinder-ceph
  143. num_units: 0
  144.  
  145. glance-hacluster:
  146. charm: 'cs:hacluster'
  147. series: focal
  148. annotations:
  149. gui-x: -134.58247900009155
  150. gui-y: 1207.35888671875
  151. bindings:
  152. "": admin-network
  153.  
  154. glance-mysql-router:
  155. annotations:
  156. gui-x: '-290'
  157. gui-y: '1400'
  158. bindings:
  159. "": admin-network
  160. charm: cs:mysql-router
  161.  
  162. glance:
  163. annotations:
  164. gui-x: '-230'
  165. gui-y: '1270'
  166. charm: cs:glance
  167. num_units: 3
  168. options:
  169. os-admin-hostname: glance.lab.test.local
  170. os-internal-hostname: glance.lab.test.local
  171. os-public-hostname: glance.lab.test.local
  172. vip: 172.16.75.12
  173. worker-multiplier: *worker-multiplier
  174. # openstack-origin: *openstack-origin
  175. bindings:
  176. "": admin-network
  177. to:
  178. - lxd:2
  179. - lxd:3
  180. - lxd:4
  181.  
  182. glance-simplestreams-sync:
  183. charm: cs:glance-simplestreams-sync
  184. num_units: 1
  185. options:
  186. run: true
  187. bindings:
  188. "": admin-network
  189. to:
  190. - 'lxd:4'
  191.  
  192. keystone-hacluster:
  193. charm: 'cs:hacluster'
  194. series: focal
  195. annotations:
  196. gui-x: 416.79443359375
  197. gui-y: 1231.331787109375
  198. bindings:
  199. "": admin-network
  200.  
  201. keystone-mysql-router:
  202. annotations:
  203. gui-x: '230'
  204. gui-y: '1400'
  205. charm: cs:mysql-router
  206. bindings:
  207. "": admin-network
  208.  
  209. keystone:
  210. annotations:
  211. gui-x: '300'
  212. gui-y: '1270'
  213. charm: cs:keystone
  214. num_units: 3
  215. options:
  216. os-admin-hostname: keystone.lab.test.local
  217. os-internal-hostname: keystone.lab.test.local
  218. os-public-hostname: keystone.lab.test.local
  219. worker-multiplier: *worker-multiplier
  220. # openstack-origin: *openstack-origin
  221. vip: 172.16.75.13
  222. bindings:
  223. "": admin-network
  224. to:
  225. - lxd:0
  226. - lxd:1
  227. - lxd:2
  228.  
  229. memcached:
  230. charm: cs:memcached
  231. num_units: 2
  232. bindings:
  233. "": admin-network
  234. series: focal
  235. to:
  236. - 'lxd:3'
  237. - 'lxd:4'
  238.  
  239. neutron-mysql-router:
  240. annotations:
  241. gui-x: '505'
  242. gui-y: '1385'
  243. charm: cs:mysql-router
  244. bindings:
  245. "": admin-network
  246.  
  247. neutron-api-plugin-ovn:
  248. annotations:
  249. gui-x: '690'
  250. gui-y: '1385'
  251. charm: cs:neutron-api-plugin-ovn
  252. bindings:
  253. "": admin-network
  254.  
  255. neutron-api-hacluster:
  256. charm: 'cs:hacluster'
  257. series: focal
  258. annotations:
  259. gui-x: 689.4863891601562
  260. gui-y: 1237.3250732421875
  261. bindings:
  262. "": admin-network
  263.  
  264. neutron-api:
  265. annotations:
  266. gui-x: '580'
  267. gui-y: '1270'
  268. charm: cs:neutron-api
  269. num_units: 3
  270. options:
  271. enable-ml2-port-security: true
  272. os-admin-hostname: neutron-api.lab.test.local
  273. os-internal-hostname: neutron-api.lab.test.local
  274. os-public-hostname: neutron-api.lab.test.local
  275. vip: 172.16.75.14
  276. neutron-security-groups: true
  277. flat-network-providers: physnet1
  278. worker-multiplier: *worker-multiplier
  279. # openstack-origin: *openstack-origin
  280. bindings:
  281. "": admin-network
  282. to:
  283. - lxd:0
  284. - lxd:1
  285. - lxd:2
  286.  
  287. placement-hacluster:
  288. charm: 'cs:hacluster'
  289. series: focal
  290. annotations:
  291. gui-x: 1426.066650390625
  292. gui-y: 1230.1529541015625
  293. bindings:
  294. "": admin-network
  295.  
  296. placement-mysql-router:
  297. annotations:
  298. gui-x: '1320'
  299. gui-y: '1385'
  300. charm: cs:mysql-router
  301. bindings:
  302. "": admin-network
  303.  
  304. placement:
  305. annotations:
  306. gui-x: '1320'
  307. gui-y: '1270'
  308. charm: cs:placement
  309. num_units: 3
  310. options:
  311. os-admin-hostname: placement.lab.test.local
  312. os-internal-hostname: placement.lab.test.local
  313. os-public-hostname: placement.lab.test.local
  314. vip: 172.16.75.15
  315. worker-multiplier: *worker-multiplier
  316. # openstack-origin: *openstack-origin
  317. bindings:
  318. "": admin-network
  319. to:
  320. - lxd:0
  321. - lxd:1
  322. - lxd:2
  323.  
  324. nova-cloud-controller-hacluster:
  325. charm: 'cs:hacluster'
  326. series: focal
  327. annotations:
  328. gui-x: 147.09925842285156
  329. gui-y: 1222.342041015625
  330. bindings:
  331. "": admin-network
  332.  
  333. nova-mysql-router:
  334. annotations:
  335. gui-x: '-30'
  336. gui-y: '1385'
  337. charm: cs:mysql-router
  338. bindings:
  339. "": admin-network
  340. nova-cloud-controller:
  341. annotations:
  342. gui-x: '35'
  343. gui-y: '1270'
  344. charm: cs:nova-cloud-controller
  345. num_units: 3
  346. options:
  347. console-access-protocol: spice
  348. os-admin-hostname: compute.lab.test.local
  349. os-internal-hostname: compute.lab.test.local
  350. os-public-hostname: compute.lab.test.local
  351. vip: 172.16.75.16
  352. network-manager: Neutron
  353. worker-multiplier: *worker-multiplier
  354. # openstack-origin: *openstack-origin
  355. bindings:
  356. "": admin-network
  357. to:
  358. - lxd:0
  359. - lxd:1
  360. - lxd:2
  361.  
  362. nova-compute:
  363. annotations:
  364. gui-x: '190'
  365. gui-y: '890'
  366. charm: cs:nova-compute
  367. num_units: 6
  368. options:
  369. customize-failure-domain: true
  370. libvirt-image-backend: rbd
  371. rbd-pool: cinder-ceph
  372. config-flags: default_ephemeral_format=ext4
  373. enable-live-migration: true
  374. enable-resize: true
  375. migration-auth-type: ssh
  376. # openstack-origin: *openstack-origin
  377. bindings:
  378. "": admin-network
  379. to:
  380. - '0'
  381. - '1'
  382. - '2'
  383. - '3'
  384. - '4'
  385.  
  386. ntp:
  387. annotations:
  388. gui-x: '315'
  389. gui-y: '1030'
  390. charm: cs:ntp
  391. num_units: 0
  392. bindings:
  393. "": admin-network
  394.  
  395. openstack-dashboard-hacluster:
  396. charm: 'cs:hacluster'
  397. series: focal
  398. annotations:
  399. gui-x: 686.48974609375
  400. gui-y: 856.7550659179688
  401. bindings:
  402. "": admin-network
  403.  
  404. openstack-dashboard-mysql-router:
  405. annotations:
  406. gui-x: '510'
  407. gui-y: '1030'
  408. charm: cs:mysql-router
  409. bindings:
  410. "": admin-network
  411.  
  412. openstack-dashboard:
  413. annotations:
  414. gui-x: '585'
  415. gui-y: '900'
  416. charm: cs:openstack-dashboard
  417. num_units: 3
  418. options:
  419. default-theme: default
  420. default-create-volume: no
  421. enforce-ssl: true
  422. os-public-hostname: openstack.lab.test.local
  423. # openstack-origin: *openstack-origin
  424. password-retrieve: true
  425. vip: 172.16.75.17 #192.168.51.206
  426. # ubuntu-theme: no
  427. bindings:
  428. "": admin-network
  429. to:
  430. - lxd:2
  431. - lxd:3
  432. - lxd:4
  433.  
  434. rabbitmq-server:
  435. annotations:
  436. gui-x: '300'
  437. gui-y: '1550'
  438. charm: cs:rabbitmq-server
  439. num_units: 3
  440. bindings:
  441. "": admin-network
  442. to:
  443. - lxd:2
  444. - lxd:3
  445. - lxd:4
  446.  
  447. mysql-innodb-cluster:
  448. annotations:
  449. gui-x: '535'
  450. gui-y: '1550'
  451. charm: cs:mysql-innodb-cluster
  452. num_units: 3
  453. bindings:
  454. "": admin-network
  455. to:
  456. - lxd:0
  457. - lxd:1
  458. - lxd:2
  459.  
  460. ovn-central:
  461. annotations:
  462. gui-x: '70'
  463. gui-y: '1550'
  464. charm: cs:ovn-central
  465. num_units: 3
  466. options:
  467. source: *openstack-origin
  468. bindings:
  469. "": admin-network
  470. to:
  471. - lxd:2
  472. - lxd:3
  473. - lxd:4
  474.  
  475. ovn-chassis:
  476. annotations:
  477. gui-x: '120'
  478. gui-y: '1030'
  479. charm: cs:ovn-chassis
  480. # *** Please update the `bridge-interface-mappings` to values suitable ***
  481. # *** for the hardware used in your deployment. See the referenced ***
  482. # *** documentation at the top of this file. ***
  483. options:
  484. ovn-bridge-mappings: physnet1:br-ex
  485. bridge-interface-mappings: *data-port
  486. bindings:
  487. "": admin-network
  488.  
  489. vault-hacluster:
  490. charm: 'cs:hacluster'
  491. series: focal
  492. annotations:
  493. bindings:
  494. "": admin-network
  495.  
  496. vault-mysql-router:
  497. annotations:
  498. gui-x: '1535'
  499. gui-y: '1560'
  500. charm: cs:mysql-router
  501. bindings:
  502. "": admin-network
  503.  
  504. vault:
  505. annotations:
  506. gui-x: '1610'
  507. gui-y: '1430'
  508. charm: cs:vault
  509. num_units: 3
  510. bindings:
  511. "": admin-network
  512. options:
  513. vip: 172.16.75.5
  514. to:
  515. - lxd:0
  516. - lxd:1
  517. - lxd:2
  518.  
  519. relations:
  520. - - nova-compute:amqp
  521. - rabbitmq-server:amqp
  522. - - nova-cloud-controller:identity-service
  523. - keystone:identity-service
  524. - - glance:identity-service
  525. - keystone:identity-service
  526. - - neutron-api:identity-service
  527. - keystone:identity-service
  528. - - neutron-api:amqp
  529. - rabbitmq-server:amqp
  530. - - glance:amqp
  531. - rabbitmq-server:amqp
  532. - - nova-cloud-controller:image-service
  533. - glance:image-service
  534. - - nova-compute:image-service
  535. - glance:image-service
  536. - - nova-cloud-controller:cloud-compute
  537. - nova-compute:cloud-compute
  538. - - nova-cloud-controller:amqp
  539. - rabbitmq-server:amqp
  540. - - openstack-dashboard:identity-service
  541. - keystone:identity-service
  542. - - openstack-dashboard-hacluster:ha
  543. - openstack-dashboard:ha
  544. - - nova-cloud-controller:neutron-api
  545. - neutron-api:neutron-api
  546. - - cinder:image-service
  547. - glance:image-service
  548. - - cinder:amqp
  549. - rabbitmq-server:amqp
  550. - - cinder:identity-service
  551. - keystone:identity-service
  552. - - cinder:cinder-volume-service
  553. - nova-cloud-controller:cinder-volume-service
  554. - - cinder-ceph:storage-backend
  555. - cinder:storage-backend
  556. - - ceph-mon:client
  557. - nova-compute:ceph
  558. - - nova-compute:ceph-access
  559. - cinder-ceph:ceph-access
  560. - - ceph-mon:client
  561. - cinder-ceph:ceph
  562. - - ceph-mon:client
  563. - glance:ceph
  564. - - ceph-osd:mon
  565. - ceph-mon:osd
  566. - - ntp:juju-info
  567. - nova-compute:juju-info
  568. - - ceph-radosgw:mon
  569. - ceph-mon:radosgw
  570. - - ceph-radosgw:identity-service
  571. - keystone:identity-service
  572. - - placement:identity-service
  573. - keystone:identity-service
  574. - - placement:placement
  575. - nova-cloud-controller:placement
  576. - - keystone:shared-db
  577. - keystone-mysql-router:shared-db
  578. - - cinder:shared-db
  579. - cinder-mysql-router:shared-db
  580. - - glance:shared-db
  581. - glance-mysql-router:shared-db
  582. - - nova-cloud-controller:shared-db
  583. - nova-mysql-router:shared-db
  584. - - neutron-api:shared-db
  585. - neutron-mysql-router:shared-db
  586. - - openstack-dashboard:shared-db
  587. - openstack-dashboard-mysql-router:shared-db
  588. - - placement:shared-db
  589. - placement-mysql-router:shared-db
  590. - - vault:shared-db
  591. - vault-mysql-router:shared-db
  592. - - keystone-mysql-router:db-router
  593. - mysql-innodb-cluster:db-router
  594. - - cinder-mysql-router:db-router
  595. - mysql-innodb-cluster:db-router
  596. - - nova-mysql-router:db-router
  597. - mysql-innodb-cluster:db-router
  598. - - glance-mysql-router:db-router
  599. - mysql-innodb-cluster:db-router
  600. - - neutron-mysql-router:db-router
  601. - mysql-innodb-cluster:db-router
  602. - - openstack-dashboard-mysql-router:db-router
  603. - mysql-innodb-cluster:db-router
  604. - - placement-mysql-router:db-router
  605. - mysql-innodb-cluster:db-router
  606. - - vault-mysql-router:db-router
  607. - mysql-innodb-cluster:db-router
  608. - - neutron-api-plugin-ovn:neutron-plugin
  609. - neutron-api:neutron-plugin-api-subordinate
  610. - - neutron-api-hacluster:ha
  611. - neutron-api:ha
  612. - - cinder-mysql-router:db-router
  613. - mysql-innodb-cluster:db-router
  614. - - nova-mysql-router:db-router
  615. - mysql-innodb-cluster:db-router
  616. - - glance-mysql-router:db-router
  617. - mysql-innodb-cluster:db-router
  618. - - neutron-mysql-router:db-router
  619. - mysql-innodb-cluster:db-router
  620. - - openstack-dashboard-mysql-router:db-router
  621. - mysql-innodb-cluster:db-router
  622. - - placement-mysql-router:db-router
  623. - mysql-innodb-cluster:db-router
  624. - - vault-mysql-router:db-router
  625. - mysql-innodb-cluster:db-router
  626. - - neutron-api-plugin-ovn:neutron-plugin
  627. - neutron-api:neutron-plugin-api-subordinate
  628. - - neutron-api-hacluster:ha
  629. - neutron-api:ha
  630. - - ovn-central:certificates
  631. - vault:certificates
  632. - - ovn-central:ovsdb-cms
  633. - neutron-api-plugin-ovn:ovsdb-cms
  634. - - neutron-api:certificates
  635. - vault:certificates
  636. - - ovn-chassis:nova-compute
  637. - nova-compute:neutron-plugin
  638. - - ovn-chassis:certificates
  639. - vault:certificates
  640. - - ovn-chassis:ovsdb
  641. - ovn-central:ovsdb
  642. - - vault:certificates
  643. - neutron-api-plugin-ovn:certificates
  644. - - vault:certificates
  645. - cinder:certificates
  646. - - vault:certificates
  647. - glance:certificates
  648. - - vault:certificates
  649. - keystone:certificates
  650. - - vault:certificates
  651. - nova-cloud-controller:certificates
  652. - - vault:certificates
  653. - openstack-dashboard:certificates
  654. - - vault:certificates
  655. - placement:certificates
  656. - - vault:certificates
  657. - ceph-radosgw:certificates
  658. - - vault:certificates
  659. - mysql-innodb-cluster:certificates
  660. - - keystone-hacluster:ha
  661. - keystone:ha
  662. - - glance-simplestreams-sync:certificates
  663. - vault:certificates
  664. - - glance-simplestreams-sync:identity-service
  665. - keystone:identity-service
  666. - - nova-cloud-controller-hacluster:ha
  667. - nova-cloud-controller:ha
  668. - - nova-cloud-controller:memcache
  669. - memcached:cache
  670. - - ceph-radosgw-hacluster:ha
  671. - ceph-radosgw:ha
  672. - - cinder-hacluster:ha
  673. - cinder:ha
  674. - - glance-hacluster:ha
  675. - glance:ha
  676. - - placement-hacluster:ha
  677. - placement:ha
  678. - - vault-hacluster:ha
  679. - vault:ha
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement