blob: 42198625d6f3886b8aa7310cc605e81bcbf195f6 [file] [log] [blame]
okozachenko120361008f72023-03-23 21:21:09 +11001# Licensed under the Apache License, Version 2.0 (the "License");
2# you may not use this file except in compliance with the License.
3# You may obtain a copy of the License at
4#
5# http://www.apache.org/licenses/LICENSE-2.0
6#
7# Unless required by applicable law or agreed to in writing, software
8# distributed under the License is distributed on an "AS IS" BASIS,
9# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10# See the License for the specific language governing permissions and
11# limitations under the License.
12
13# Default values for manila.
14# This is a YAML-formatted file.
15# Declare name/value pairs to be passed into your templates.
16# name: value
17
18---
19labels:
20 api:
21 node_selector_key: openstack-control-plane
22 node_selector_value: enabled
okozachenko120385370ca2023-03-24 23:16:18 +110023 data:
24 node_selector_key: openstack-control-plane
25 node_selector_value: enabled
okozachenko120361008f72023-03-23 21:21:09 +110026 scheduler:
27 node_selector_key: openstack-control-plane
28 node_selector_value: enabled
29 share:
30 node_selector_key: openstack-control-plane
31 node_selector_value: enabled
32 job:
33 node_selector_key: openstack-control-plane
34 node_selector_value: enabled
35 test:
36 node_selector_key: openstack-control-plane
37 node_selector_value: enabled
38
39release_group: null
40
41# NOTE(philsphicas): the pre-install hook breaks upgrade for helm2
42# Set to false to upgrade using helm2
43helm3_hook: true
44
45images:
46 tags:
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +020047 bootstrap: docker.io/openstackhelm/heat:xena-ubuntu_focal
okozachenko120361008f72023-03-23 21:21:09 +110048 dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +020049 db_init: docker.io/openstackhelm/heat:xena-ubuntu_focal
50 manila_db_sync: docker.io/openstackhelm/manila:xena-ubuntu_focal
51 db_drop: docker.io/openstackhelm/heat:xena-ubuntu_focal
52 ks_user: docker.io/openstackhelm/heat:xena-ubuntu_focal
53 ks_service: docker.io/openstackhelm/heat:xena-ubuntu_focal
54 ks_endpoints: docker.io/openstackhelm/heat:xena-ubuntu_focal
55 manila_api: docker.io/openstackhelm/manila:xena-ubuntu_focal
56 manila_data: docker.io/openstackhelm/manila:xena-ubuntu_focal
57 manila_scheduler: docker.io/openstackhelm/manila:xena-ubuntu_focal
58 manila_share: docker.io/openstackhelm/manila:xena-ubuntu_focal
okozachenko120361008f72023-03-23 21:21:09 +110059 rabbit_init: docker.io/rabbitmq:3.7-management
60 image_repo_sync: docker.io/docker:17.07.0
61 pull_policy: "IfNotPresent"
62 local_registry:
63 active: false
64 exclude:
65 - dep_check
66 - image_repo_sync
67
68pod:
Dong Ma41aad172025-02-11 05:18:42 +000069 priorityClassName:
70 manila_api: null
71 manila_data: null
72 manila_scheduler: null
73 manila_tests: null
74 manila_share: null
Dong Mad2ef43c2025-02-13 16:15:52 +000075 bootstrap: null
Dong Ma41aad172025-02-11 05:18:42 +000076 db_sync: null
77 runtimeClassName:
78 manila_api: null
79 manila_data: null
80 manila_scheduler: null
81 manila_tests: null
82 manila_share: null
Dong Mad2ef43c2025-02-13 16:15:52 +000083 bootstrap: null
Dong Ma41aad172025-02-11 05:18:42 +000084 db_sync: null
okozachenko120361008f72023-03-23 21:21:09 +110085 security_context:
86 manila:
87 pod:
88 runAsUser: 42424
89 container:
90 manila_api:
91 allowPrivilegeEscalation: false
92 readOnlyRootFilesystem: true
okozachenko120385370ca2023-03-24 23:16:18 +110093 manila_data:
94 allowPrivilegeEscalation: false
95 readOnlyRootFilesystem: true
okozachenko120361008f72023-03-23 21:21:09 +110096 manila_scheduler:
97 allowPrivilegeEscalation: false
98 readOnlyRootFilesystem: true
99 manila_share:
100 readOnlyRootFilesystem: true
101 privileged: true
102 test:
103 pod:
104 runAsUser: 42424
105 container:
106 manila_test:
107 allowPrivilegeEscalation: false
108 readOnlyRootFilesystem: true
Rico Lin59516f62023-10-04 23:25:47 +0800109 use_fqdn:
110 # NOTE: Setting the option here to true will cause use $(hostname --fqdn)
111 # as the host name by default. If the short name is desired
112 # $(hostname --short), set the option to false. Specifying a host in the
113 # manila.conf via the conf section will supersede the value of this option.
114 share: true
okozachenko120361008f72023-03-23 21:21:09 +1100115 affinity:
116 anti:
117 type:
118 default: preferredDuringSchedulingIgnoredDuringExecution
119 topologyKey:
120 default: kubernetes.io/hostname
121 weight:
122 default: 10
123 tolerations:
124 manila:
125 enabled: false
126 tolerations:
127 - key: node-role.kubernetes.io/master
128 operator: Exists
129 effect: NoSchedule
130 mounts:
131 manila_api:
132 init_container: null
133 manila_api:
134 volumeMounts:
135 volumes:
136 manila_scheduler:
137 init_container: null
138 manila_scheduler:
139 volumeMounts:
140 volumes:
okozachenko120385370ca2023-03-24 23:16:18 +1100141 manila_data:
142 init_container: null
143 manila_data:
144 volumeMounts:
145 volumes:
okozachenko120361008f72023-03-23 21:21:09 +1100146 manila_share:
147 init_container: null
148 manila_share:
149 volumeMounts:
150 volumes:
151 manila_bootstrap:
152 init_container: null
153 manila_bootstrap:
154 volumeMounts:
155 volumes:
156 manila_tests:
157 init_container: null
158 manila_tests:
159 volumeMounts:
160 volumes:
161 manila_db_sync:
162 manila_db_sync:
163 volumeMounts:
164 volumes:
165 replicas:
166 api: 1
okozachenko120385370ca2023-03-24 23:16:18 +1100167 data: 1
okozachenko120361008f72023-03-23 21:21:09 +1100168 scheduler: 1
169 share: 1
170 lifecycle:
171 upgrades:
172 deployments:
173 revision_history: 3
174 pod_replacement_strategy: RollingUpdate
175 rolling_update:
176 max_unavailable: 1
177 max_surge: 3
178 disruption_budget:
179 api:
180 min_available: 0
181 sheduler:
182 min_available: 0
183 share:
184 min_available: 0
185 resources:
186 enabled: false
187 api:
188 requests:
189 memory: "128Mi"
190 cpu: "100m"
191 limits:
192 memory: "1024Mi"
193 cpu: "2000m"
okozachenko120385370ca2023-03-24 23:16:18 +1100194 data:
195 requests:
196 memory: "128Mi"
197 cpu: "100m"
198 limits:
199 memory: "1024Mi"
200 cpu: "2000m"
okozachenko120361008f72023-03-23 21:21:09 +1100201 scheduler:
202 requests:
203 memory: "128Mi"
204 cpu: "100m"
205 limits:
206 memory: "1024Mi"
207 cpu: "2000m"
208 share:
209 requests:
210 memory: "128Mi"
211 cpu: "100m"
212 limits:
213 memory: "1024Mi"
214 cpu: "2000m"
215 jobs:
216 bootstrap:
217 requests:
218 memory: "128Mi"
219 cpu: "100m"
220 limits:
221 memory: "1024Mi"
222 cpu: "2000m"
223 db_init:
224 requests:
225 memory: "128Mi"
226 cpu: "100m"
227 limits:
228 memory: "1024Mi"
229 cpu: "2000m"
230 db_sync:
231 requests:
232 memory: "128Mi"
233 cpu: "100m"
234 limits:
235 memory: "1024Mi"
236 cpu: "2000m"
237 db_drop:
238 requests:
239 memory: "128Mi"
240 cpu: "100m"
241 limits:
242 memory: "1024Mi"
243 cpu: "2000m"
244 rabbit_init:
245 requests:
246 memory: "128Mi"
247 cpu: "100m"
248 limits:
249 memory: "1024Mi"
250 cpu: "2000m"
251 ks_endpoints:
252 requests:
253 memory: "128Mi"
254 cpu: "100m"
255 limits:
256 memory: "1024Mi"
257 cpu: "2000m"
258 ks_service:
259 requests:
260 memory: "128Mi"
261 cpu: "100m"
262 limits:
263 memory: "1024Mi"
264 cpu: "2000m"
265 ks_user:
266 requests:
267 memory: "128Mi"
268 cpu: "100m"
269 limits:
270 memory: "1024Mi"
271 cpu: "2000m"
272 tests:
273 requests:
274 memory: "128Mi"
275 cpu: "100m"
276 limits:
277 memory: "1024Mi"
278 cpu: "2000m"
279 image_repo_sync:
280 requests:
281 memory: "128Mi"
282 cpu: "100m"
283 limits:
284 memory: "1024Mi"
285 cpu: "2000m"
286
287network:
288 api:
289 ingress:
290 public: true
291 classes:
292 namespace: "nginx"
293 cluster: "nginx-cluster"
294 annotations:
295 nginx.ingress.kubernetes.io/rewrite-target: /
296 external_policy_local: false
297 node_port:
298 enabled: false
299 port: 30486
300
301network_policy:
302 manila:
303 ingress:
304 - {}
305 egress:
306 - {}
307
308bootstrap:
309 enabled: true
310 ks_user: admin
311 script: null
312 structured:
okozachenko120385370ca2023-03-24 23:16:18 +1100313 flavors:
314 manila-service-flavor:
315 id: 100
316 name: "manila-service-flavor"
317 ram: 512
318 vcpus: 1
319 disk: 5
320 ephemeral: 0
321 public: true
okozachenko120361008f72023-03-23 21:21:09 +1100322 images:
323 manila-service-image:
324 id: null
325 name: "manila-service-image"
326 source_url: "https://tarballs.opendev.org/openstack/manila-image-elements/images/"
327 image_file: "manila-service-image-master.qcow2"
328 image_type: qcow2
329 container_format: bare
330 private: false
331
332dependencies:
333 dynamic:
334 common:
335 local_image_registry:
336 jobs:
337 - manila-image-repo-sync
338 services:
339 - endpoint: node
340 service: local_image_registry
341 static:
342 api:
343 jobs:
344 - manila-db-sync
345 - manila-ks-user
346 - manila-ks-endpoints
347 - manila-rabbit-init
348 services:
349 - endpoint: internal
350 service: oslo_db
351 - endpoint: internal
352 service: identity
353 - endpoint: internal
354 service: oslo_messaging
okozachenko120385370ca2023-03-24 23:16:18 +1100355 data:
356 jobs:
357 - manila-db-sync
358 - manila-ks-user
359 - manila-ks-endpoints
360 - manila-rabbit-init
okozachenko120361008f72023-03-23 21:21:09 +1100361 scheduler:
362 jobs:
363 - manila-db-sync
364 - manila-ks-user
365 - manila-ks-endpoints
366 - manila-rabbit-init
367 services:
368 - endpoint: internal
369 service: oslo_db
370 - endpoint: internal
371 service: identity
372 - endpoint: internal
373 service: oslo_messaging
374 share:
375 # pod:
376 # - requireSameNode: true
377 # labels:
378 # application: openvswitch
379 # component: server
380 jobs:
381 - manila-db-sync
382 - manila-ks-user
383 - manila-ks-endpoints
384 - manila-rabbit-init
385 services:
386 - endpoint: internal
387 service: oslo_db
388 - endpoint: internal
389 service: identity
390 - endpoint: internal
391 service: oslo_messaging
392 db_drop:
393 services:
394 - endpoint: internal
395 service: oslo_db
396 db_init:
397 services:
398 - endpoint: internal
399 service: oslo_db
400 db_sync:
401 jobs:
402 - manila-db-init
403 services:
404 - endpoint: internal
405 service: oslo_db
406 image_repo_sync:
407 services:
408 - endpoint: internal
409 service: local_image_registry
410 ks_endpoints:
411 jobs:
412 - manila-ks-service
413 services:
414 - endpoint: internal
415 service: identity
416 ks_service:
417 services:
418 - endpoint: internal
419 service: identity
420 ks_user:
421 services:
422 - endpoint: internal
423 service: identity
424 rabbit_init:
425 services:
426 - endpoint: internal
427 service: oslo_messaging
428
429conf:
Rico Lin59516f62023-10-04 23:25:47 +0800430 paste: {}
okozachenko120361008f72023-03-23 21:21:09 +1100431 policy: {}
432 manila_sudoers: |
433 # This sudoers file supports rootwrap for both Kolla and LOCI Images.
434 Defaults !requiretty
435 Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/var/lib/openstack/bin:/var/lib/kolla/venv/bin"
436 manila ALL = (root) NOPASSWD: /var/lib/kolla/venv/bin/manila-rootwrap /etc/manila/rootwrap.conf *, /var/lib/openstack/bin/manila-rootwrap /etc/manila/rootwrap.conf *
437 rootwrap_filters:
438 share:
439 pods:
440 - share
441 content: |
442 # manila-rootwrap command filters for share nodes
443 # This file should be owned by (and only-writeable by) the root user
444
445 [Filters]
446 # manila/utils.py : 'chown', '%s', '%s'
447 chown: CommandFilter, chown, root
448 # manila/utils.py : 'cat', '%s'
449 cat: CommandFilter, cat, root
450
451 # manila/share/drivers/lvm.py: 'mkfs.ext4', '/dev/mapper/%s'
452 mkfs.ext4: CommandFilter, mkfs.ext4, root
453
454 # manila/share/drivers/lvm.py: 'mkfs.ext3', '/dev/mapper/%s'
455 mkfs.ext3: CommandFilter, mkfs.ext3, root
456
457 # manila/share/drivers/lvm.py: 'smbd', '-s', '%s', '-D'
458 smbd: CommandFilter, smbd, root
459 smb: CommandFilter, smb, root
460
461 # manila/share/drivers/lvm.py: 'rmdir', '%s'
462 rmdir: CommandFilter, rmdir, root
463
464 # manila/share/drivers/lvm.py: 'dd' 'count=0', 'if=%s' % srcstr, 'of=%s'
465 dd: CommandFilter, dd, root
466
467 # manila/share/drivers/lvm.py: 'fsck', '-pf', %s
468 fsck: CommandFilter, fsck, root
469
470 # manila/share/drivers/lvm.py: 'resize2fs', %s
471 resize2fs: CommandFilter, resize2fs, root
472
473 # manila/share/drivers/helpers.py: 'smbcontrol', 'all', 'close-share', '%s'
474 smbcontrol: CommandFilter, smbcontrol, root
475
476 # manila/share/drivers/helpers.py: 'net', 'conf', 'addshare', '%s', '%s', 'writeable=y', 'guest_ok=y
477 # manila/share/drivers/helpers.py: 'net', 'conf', 'delshare', '%s'
478 # manila/share/drivers/helpers.py: 'net', 'conf', 'setparm', '%s', '%s', '%s'
479 # manila/share/drivers/helpers.py: 'net', 'conf', 'getparm', '%s', 'hosts allow'
480 net: CommandFilter, net, root
481
482 # manila/share/drivers/helpers.py: 'cp', '%s', '%s'
483 cp: CommandFilter, cp, root
484
485 # manila/share/drivers/helpers.py: 'service', '%s', '%s'
486 service: CommandFilter, service, root
487
488 # manila/share/drivers/lvm.py: 'lvremove', '-f', "%s/%s
489 lvremove: CommandFilter, lvremove, root
490
491 # manila/share/drivers/lvm.py: 'lvextend', '-L', '%sG''-n', %s
492 lvextend: CommandFilter, lvextend, root
493
494 # manila/share/drivers/lvm.py: 'lvcreate', '-L', %s, '-n', %s
495 lvcreate: CommandFilter, lvcreate, root
496
497 # manila/share/drivers/lvm.py: 'vgs', '--noheadings', '-o', 'name'
498 # manila/share/drivers/lvm.py: 'vgs', %s, '--rows', '--units', 'g'
499 vgs: CommandFilter, vgs, root
500
501 # manila/share/drivers/lvm.py: 'tune2fs', '-U', 'random', '%volume-snapshot%'
502 tune2fs: CommandFilter, tune2fs, root
503
504 # manila/share/drivers/generic.py: 'sed', '-i', '\'/%s/d\'', '%s'
505 sed: CommandFilter, sed, root
506
507 # manila/share/drivers/glusterfs.py: 'mkdir', '%s'
508 # manila/share/drivers/ganesha/manager.py: 'mkdir', '-p', '%s'
509 mkdir: CommandFilter, mkdir, root
510
511 # manila/share/drivers/glusterfs.py: 'rm', '-rf', '%s'
512 rm: CommandFilter, rm, root
513
514 # manila/share/drivers/glusterfs.py: 'mount', '-t', 'glusterfs', '%s', '%s'
515 # manila/share/drivers/glusterfs/glusterfs_native.py: 'mount', '-t', 'glusterfs', '%s', '%s'
516 mount: CommandFilter, mount, root
517
518 # manila/share/drivers/glusterfs.py: 'gluster', '--xml', 'volume', 'info', '%s'
519 # manila/share/drivers/glusterfs.py: 'gluster', 'volume', 'set', '%s', 'nfs.export-dir', '%s'
520 gluster: CommandFilter, gluster, root
521
522 # manila/network/linux/ip_lib.py: 'ip', 'netns', 'exec', '%s', '%s'
523 ip: CommandFilter, ip, root
524
525 # manila/network/linux/interface.py: 'ovs-vsctl', 'add-port', '%s', '%s'
526 ovs-vsctl: CommandFilter, ovs-vsctl, root
527
528 # manila/share/drivers/glusterfs/glusterfs_native.py: 'find', '%s', '-mindepth', '1', '!', '-path', '%s', '!', '-path', '%s', '-delete'
529 # manila/share/drivers/glusterfs/glusterfs_native.py: 'find', '%s', '-mindepth', '1', '-delete'
530 find: CommandFilter, find, root
531
532 # manila/share/drivers/glusterfs/glusterfs_native.py: 'umount', '%s'
533 umount: CommandFilter, umount, root
534
535 # GPFS commands
536 # manila/share/drivers/ibm/gpfs.py: 'mmgetstate', '-Y'
537 mmgetstate: CommandFilter, mmgetstate, root
538 # manila/share/drivers/ibm/gpfs.py: 'mmlsattr', '%s'
539 mmlsattr: CommandFilter, mmlsattr, root
540 # manila/share/drivers/ibm/gpfs.py: 'mmcrfileset', '%s', '%s', '--inode-space', 'new'
541 mmcrfileset: CommandFilter, mmcrfileset, root
542 # manila/share/drivers/ibm/gpfs.py: 'mmlinkfileset', '%s', '%s', '-J', '%s'
543 mmlinkfileset: CommandFilter, mmlinkfileset, root
544 # manila/share/drivers/ibm/gpfs.py: 'mmsetquota', '-j', '%s', '-h', '%s', '%s'
545 mmsetquota: CommandFilter, mmsetquota, root
546 # manila/share/drivers/ibm/gpfs.py: 'mmunlinkfileset', '%s', '%s', '-f'
547 mmunlinkfileset: CommandFilter, mmunlinkfileset, root
548 # manila/share/drivers/ibm/gpfs.py: 'mmdelfileset', '%s', '%s', '-f'
549 mmdelfileset: CommandFilter, mmdelfileset, root
550 # manila/share/drivers/ibm/gpfs.py: 'mmcrsnapshot', '%s', '%s', '-j', '%s'
551 mmcrsnapshot: CommandFilter, mmcrsnapshot, root
552 # manila/share/drivers/ibm/gpfs.py: 'mmdelsnapshot', '%s', '%s', '-j', '%s'
553 mmdelsnapshot: CommandFilter, mmdelsnapshot, root
554 # manila/share/drivers/ibm/gpfs.py: 'rsync', '-rp', '%s', '%s'
555 rsync: CommandFilter, rsync, root
556 # manila/share/drivers/ibm/gpfs.py: 'exportfs'
557 exportfs: CommandFilter, exportfs, root
558 # manila/share/drivers/ibm/gpfs.py: 'stat', '--format=%F', '%s'
559 stat: CommandFilter, stat, root
560 # manila/share/drivers/ibm/gpfs.py: 'df', '-P', '-B', '1', '%s'
561 df: CommandFilter, df, root
562 # manila/share/drivers/ibm/gpfs.py: 'chmod', '777', '%s'
563 chmod: CommandFilter, chmod, root
564 # manila/share/drivers/ibm/gpfs.py: 'mmnfs', 'export', '%s', '%s'
565 mmnfs: CommandFilter, mmnfs, root
566 # manila/share/drivers/ibm/gpfs.py: 'mmlsfileset', '%s', '-J', '%s', '-L'
567 mmlsfileset: CommandFilter, mmlsfileset, root
568 # manila/share/drivers/ibm/gpfs.py: 'mmchfileset', '%s', '-J', '%s', '-j', '%s'
569 mmchfileset: CommandFilter, mmchfileset, root
570 # manila/share/drivers/ibm/gpfs.py: 'mmlsquota', '-j', '-J', '%s', '%s'
571 mmlsquota: CommandFilter, mmlsquota, root
572
573 # manila/share/drivers/ganesha/manager.py: 'mv', '%s', '%s'
574 mv: CommandFilter, mv, root
575
576 # manila/share/drivers/ganesha/manager.py: 'mktemp', '-p', '%s', '-t', '%s'
577 mktemp: CommandFilter, mktemp, root
578
579 # manila/share/drivers/ganesha/manager.py:
580 shcat: RegExpFilter, sh, root, sh, -c, echo '((.|\n)*)' > /.*
581
582 # manila/share/drivers/ganesha/manager.py:
583 dbus-addexport: RegExpFilter, dbus-send, root, dbus-send, --print-reply, --system, --dest=org\.ganesha\.nfsd, /org/ganesha/nfsd/ExportMgr, org\.ganesha\.nfsd\.exportmgr\.(Add|Remove)Export, .*, .*
584
585 # manila/share/drivers/ganesha/manager.py:
586 dbus-removeexport: RegExpFilter, dbus-send, root, dbus-send, --print-reply, --system, --dest=org\.ganesha\.nfsd, /org/ganesha/nfsd/ExportMgr, org\.ganesha\.nfsd\.exportmgr\.(Add|Remove)Export, .*
587
588 # manila/share/drivers/ganesha/manager.py:
589 dbus-updateexport: RegExpFilter, dbus-send, root, dbus-send, --print-reply, --system, --dest=org\.ganesha\.nfsd, /org/ganesha/nfsd/ExportMgr, org\.ganesha\.nfsd\.exportmgr\.UpdateExport, .*, .*
590
591 # manila/share/drivers/ganesha/manager.py:
592 rmconf: RegExpFilter, sh, root, sh, -c, rm -f /.*/\*\.conf$
593
594 # ZFS commands
595 # manila/share/drivers/zfsonlinux/driver.py
596 # manila/share/drivers/zfsonlinux/utils.py
597 zpool: CommandFilter, zpool, root
598
599 # manila/share/drivers/zfsonlinux/driver.py
600 # manila/share/drivers/zfsonlinux/utils.py
601 zfs: CommandFilter, zfs, root
602
603 # manila/share/drivers/zfsonlinux/driver.py
604 kill: CommandFilter, kill, root
605
606 # manila/data/utils.py: 'ls', '-pA1', '--group-directories-first', '%s'
607 ls: CommandFilter, ls, root
608
609 # manila/data/utils.py: 'touch', '--reference=%s', '%s'
610 touch: CommandFilter, touch, root
611
612 # manila/share/drivers/container/container.py: docker <whatever>
613 docker: CommandFilter, docker, root
614
615 # manila/share/drivers/container/container.py: brctl <whatever>
616 brctl: CommandFilter, brctl, root
617
618 # manila/share/drivers/container/storage_helper.py: e2fsck <whatever>
619 # manila/share/drivers/generic.py: e2fsck <whatever>
620 # manila/share/drivers/lvm.py: e2fsck <whatever>
621 e2fsck: CommandFilter, e2fsck, root
622
623 # manila/share/drivers/lvm.py: lvconvert --merge %s
624 lvconvert: CommandFilter, lvconvert, root
625
626 # manila/data/utils.py: 'sha256sum', '%s'
627 sha256sum: CommandFilter, sha256sum, root
628
629 # manila/utils.py: 'tee', '%s'
630 tee: CommandFilter, tee, root
631
632 # manila/share/drivers/container/storage_helper.py: lvs -o lv_size --noheadings --nosuffix --units g <device>
633 lvs: CommandFilter, lvs, root
634
635 # manila/share/drivers/container/storage_helper.py: lvrename --autobackup n <old_name> <new_name>
636 lvrename: CommandFilter, lvrename, root
637 rootwrap: |
638 # Configuration for manila-rootwrap
639 # This file should be owned by (and only-writeable by) the root user
640
641 [DEFAULT]
642 # List of directories to load filter definitions from (separated by ',').
643 # These directories MUST all be only writeable by root !
644 filters_path=/etc/manila/rootwrap.d,/usr/share/manila/rootwrap
645
646 # List of directories to search executables in, in case filters do not
647 # explicitly specify a full path (separated by ',')
648 # If not specified, defaults to system PATH environment variable.
649 # These directories MUST all be only writeable by root !
650 exec_dirs=/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/sbin,/usr/local/bin,/usr/lpp/mmfs/bin
651
652 # Enable logging to syslog
653 # Default value is False
654 use_syslog=False
655
656 # Which syslog facility to use.
657 # Valid values include auth, authpriv, syslog, user0, user1...
658 # Default value is 'syslog'
659 syslog_log_facility=syslog
660
661 # Which messages to log.
662 # INFO means log all usage
663 # ERROR means only log unsuccessful attempts
664 syslog_log_level=ERROR
665 manila:
666 DEFAULT:
667 default_share_type: default
668 default_share_group_type: default
669 share_name_template: share-%s
670 rootwrap_config: /etc/manila/rootwrap.conf
671 api_paste_config: /etc/manila/api-paste.ini
672 enabled_share_backends: generic
673 enabled_share_protocols: NFS
674 keystone_authtoken:
675 auth_type: password
676 auth_version: v3
677 memcache_security_strategy: ENCRYPT
678 endpoint_type: internalURL
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200679 service_type: sharev2
okozachenko120361008f72023-03-23 21:21:09 +1100680 neutron:
681 auth_type: password
682 auth_version: v3
683 memcache_security_strategy: ENCRYPT
684 endpoint_type: internalURL
685 nova:
686 auth_type: password
687 auth_version: v3
688 memcache_security_strategy: ENCRYPT
689 endpoint_type: internalURL
690 cinder:
691 auth_type: password
692 auth_version: v3
693 memcache_security_strategy: ENCRYPT
694 endpoint_type: internalURL
695 glance:
696 auth_type: password
697 auth_version: v3
698 memcache_security_strategy: ENCRYPT
699 endpoint_type: internalURL
700 database:
701 max_retries: -1
702 generic:
703 share_backend_name: GENERIC
704 share_driver: manila.share.drivers.generic.GenericShareDriver
705 driver_handles_share_servers: true
okozachenko120385370ca2023-03-24 23:16:18 +1100706 # manila-service-flavor
707 service_instance_flavor_id: 100
okozachenko120361008f72023-03-23 21:21:09 +1100708 service_image_name: manila-service-image
709 service_instance_user: manila
710 service_instance_password: manila
711 # # Module path to the Virtual Interface (VIF) driver class. This option
712 # # is used only by drivers operating in
713 # # `driver_handles_share_servers=True` mode that provision OpenStack
714 # # compute instances as share servers. This option is only supported
715 # # with Neutron networking. Drivers provided in tree work with Linux
716 # # Bridge (manila.network.linux.interface.BridgeInterfaceDriver) and
717 # # OVS (manila.network.linux.interface.OVSInterfaceDriver). If the
718 # # manila-share service is running on a host that is connected to the
719 # # administrator network, a no-op driver
720 # # (manila.network.linux.interface.NoopInterfaceDriver) may be used.
721 # # (string value)
722 # interface_driver: manila.network.linux.interface.OVSInterfaceDriver
723 oslo_policy:
724 policy_file: /etc/manila/policy.yaml
725 oslo_concurrency:
726 lock_path: /var/lib/manila/tmp
727 oslo_messaging_notifications:
728 driver: messagingv2
729 oslo_middleware:
730 enable_proxy_headers_parsing: true
731 oslo_messaging_rabbit:
732 rabbit_ha_queues: true
733 logging:
734 loggers:
735 keys:
736 - root
737 - manila
738 handlers:
739 keys:
740 - stdout
741 - stderr
742 - "null"
743 formatters:
744 keys:
745 - context
746 - default
747 logger_root:
748 level: WARNING
749 handlers: 'null'
750 logger_manila:
751 level: INFO
752 handlers:
753 - stdout
754 qualname: manila
755 logger_amqp:
756 level: WARNING
757 handlers: stderr
758 qualname: amqp
759 logger_amqplib:
760 level: WARNING
761 handlers: stderr
762 qualname: amqplib
763 logger_eventletwsgi:
764 level: WARNING
765 handlers: stderr
766 qualname: eventlet.wsgi.server
767 logger_sqlalchemy:
768 level: WARNING
769 handlers: stderr
770 qualname: sqlalchemy
771 logger_boto:
772 level: WARNING
773 handlers: stderr
774 qualname: boto
775 handler_null:
776 class: logging.NullHandler
777 formatter: default
778 args: ()
779 handler_stdout:
780 class: StreamHandler
781 args: (sys.stdout,)
782 formatter: context
783 handler_stderr:
784 class: StreamHandler
785 args: (sys.stderr,)
786 formatter: context
787 formatter_context:
788 class: oslo_log.formatters.ContextFormatter
789 datefmt: "%Y-%m-%d %H:%M:%S"
790 formatter_default:
791 format: "%(message)s"
792 datefmt: "%Y-%m-%d %H:%M:%S"
793 rally_tests:
794 tests:
795 ManilaShares.create_and_delete_share:
796 - args:
797 share_proto: "nfs"
798 size: 1
799 share_type: "dhss_false"
800 min_sleep: 1
801 max_sleep: 2
802 context:
803 quotas:
804 manila:
805 shares: 0
806 gigabytes: 0
807 share_networks: 0
808 users:
809 tenants: 2
810 users_per_tenant: 1
811 user_choice_method: "round_robin"
812 manila_share_networks:
813 use_share_networks: true
814 runner:
815 concurrency: 4
816 times: 4
817 type: constant
818 sla:
819 failure_rate:
820 max: 0
Oleksandr Kozachenko103c85e2023-10-04 17:39:45 +0200821 manila_api_uwsgi:
822 uwsgi:
823 add-header: "Connection: close"
824 buffer-size: 65535
Mohammed Nasercb5d9c32024-04-03 16:19:01 -0400825 chunked-input-limit: "4096000"
Oleksandr Kozachenko103c85e2023-10-04 17:39:45 +0200826 die-on-term: true
827 enable-threads: true
828 exit-on-reload: false
829 hook-master-start: unix_signal:15 gracefully_kill_them_all
Mohammed Nasercb5d9c32024-04-03 16:19:01 -0400830 http-auto-chunked: true
831 http-raw-body: true
Oleksandr Kozachenko103c85e2023-10-04 17:39:45 +0200832 lazy-apps: true
833 log-x-forwarded-for: true
834 master: true
Mohammed Nasercb5d9c32024-04-03 16:19:01 -0400835 need-app: true
Oleksandr Kozachenko103c85e2023-10-04 17:39:45 +0200836 procname-prefix-spaced: "manila-api:"
837 route-user-agent: '^kube-probe.* donotlog:'
Mohammed Nasercb5d9c32024-04-03 16:19:01 -0400838 socket-timeout: 10
Oleksandr Kozachenko103c85e2023-10-04 17:39:45 +0200839 thunder-lock: true
840 worker-reload-mercy: 80
841 wsgi-file: /var/lib/openstack/bin/manila-wsgi
842
okozachenko120361008f72023-03-23 21:21:09 +1100843# Names of secrets used by bootstrap and environmental checks
844secrets:
845 identity:
846 admin: manila-keystone-admin
847 manila: manila-keystone-user
Dong Ma41aad172025-02-11 05:18:42 +0000848 test: manila-keystone-test
okozachenko120361008f72023-03-23 21:21:09 +1100849 oslo_db:
850 admin: manila-db-admin
851 manila: manila-db-user
852 oslo_messaging:
853 admin: manila-rabbitmq-admin
854 manila: manila-rabbitmq-user
855 tls:
856 share:
857 api:
858 public: manila-tls-public
859 internal: manila-tls-internal
860 oci_image_registry:
861 manila: manila-oci-image-registry
862
863endpoints:
864 cluster_domain_suffix: cluster.local
865 local_image_registry:
866 name: docker-registry
867 namespace: docker-registry
868 hosts:
869 default: localhost
870 internal: docker-registry
871 node: localhost
872 host_fqdn_override:
873 default: null
874 port:
875 registry:
876 node: 5000
877 oci_image_registry:
878 name: oci-image-registry
879 namespace: oci-image-registry
880 auth:
881 enabled: false
882 manila:
883 username: manila
884 password: password
885 hosts:
886 default: localhost
887 host_fqdn_override:
888 default: null
889 port:
890 registry:
891 default: null
892 identity:
893 name: keystone
894 auth:
895 admin:
896 region_name: RegionOne
897 username: admin
898 password: password
899 project_name: admin
900 user_domain_name: default
901 project_domain_name: default
902 manila:
903 role: admin
904 region_name: RegionOne
905 username: manila
906 password: password
907 project_name: service
908 user_domain_name: service
909 project_domain_name: service
Dong Ma41aad172025-02-11 05:18:42 +0000910 test:
911 role: admin
912 region_name: RegionOne
913 username: manila-test
914 password: password
915 project_name: test
916 user_domain_name: service
917 project_domain_name: service
okozachenko120361008f72023-03-23 21:21:09 +1100918 hosts:
919 default: keystone
920 internal: keystone-api
921 host_fqdn_override:
922 default: null
923 path:
924 default: /v3
925 scheme:
926 default: http
927 port:
928 api:
929 default: 80
930 internal: 5000
931 share:
932 name: manila
933 hosts:
934 default: manila-api
935 public: manila
936 host_fqdn_override:
937 default: null
938 path:
okozachenko12037e7e6e02023-03-25 01:11:05 +1100939 default: '/v1'
940 scheme:
941 default: http
942 service: http
943 port:
944 api:
945 default: 8786
946 public: 80
947 service: 8786
948 sharev2:
okozachenko1203f878b6f2023-03-25 01:43:00 +1100949 name: manilav2
okozachenko12037e7e6e02023-03-25 01:11:05 +1100950 hosts:
951 default: manila-api
952 public: manila
953 host_fqdn_override:
954 default: null
955 path:
okozachenko1203bcd5a412023-03-24 01:54:38 +1100956 default: '/v2'
okozachenko120361008f72023-03-23 21:21:09 +1100957 scheme:
958 default: http
959 service: http
960 port:
961 api:
962 default: 8786
963 public: 80
964 service: 8786
okozachenko120361008f72023-03-23 21:21:09 +1100965 oslo_db:
966 auth:
967 admin:
968 username: root
969 password: password
970 secret:
971 tls:
972 internal: mariadb-tls-direct
973 manila:
974 username: manila
975 password: password
976 hosts:
977 default: mariadb
978 host_fqdn_override:
979 default: null
980 path: /manila
981 scheme: mysql+pymysql
982 port:
983 mysql:
984 default: 3306
985 oslo_messaging:
986 auth:
987 admin:
988 username: rabbitmq
989 password: password
990 secret:
991 tls:
992 internal: rabbitmq-tls-direct
993 manila:
994 username: manila
995 password: password
996 statefulset:
997 replicas: 2
998 name: rabbitmq-rabbitmq
999 hosts:
1000 default: rabbitmq
1001 host_fqdn_override:
1002 default: null
1003 path: /manila
1004 scheme: rabbit
1005 port:
1006 amqp:
1007 default: 5672
1008 http:
1009 default: 15672
1010 oslo_cache:
1011 auth:
1012 # NOTE(portdirect): this is used to define the value for keystone
1013 # authtoken cache encryption key, if not set it will be populated
1014 # automatically with a random value, but to take advantage of
1015 # this feature all services should be set to use the same key,
1016 # and memcache service.
1017 memcache_secret_key: null
1018 hosts:
1019 default: memcached
1020 host_fqdn_override:
1021 default: null
1022 port:
1023 memcache:
1024 default: 11211
1025 fluentd:
1026 namespace: null
1027 name: fluentd
1028 hosts:
1029 default: fluentd-logging
1030 host_fqdn_override:
1031 default: null
1032 path:
1033 default: null
1034 scheme: 'http'
1035 port:
1036 service:
1037 default: 24224
1038 metrics:
1039 default: 24220
1040 # NOTE(tp6510): these endpoints allow for things like DNS lookups and ingress
1041 # They are using to enable the Egress K8s network policy.
1042 kube_dns:
1043 namespace: kube-system
1044 name: kubernetes-dns
1045 hosts:
1046 default: kube-dns
1047 host_fqdn_override:
1048 default: null
1049 path:
1050 default: null
1051 scheme: http
1052 port:
1053 dns:
1054 default: 53
1055 protocol: UDP
1056 ingress:
1057 namespace: null
1058 name: ingress
1059 hosts:
1060 default: ingress
1061 port:
1062 ingress:
1063 default: 80
1064
1065tls:
1066 identity: false
1067 oslo_messaging: false
1068 oslo_db: false
1069
1070manifests:
1071 certificates: false
1072 configmap_bin: true
1073 configmap_etc: true
1074 deployment_api: true
1075 deployment_scheduler: true
okozachenko120385370ca2023-03-24 23:16:18 +11001076 deployment_data: true
okozachenko120361008f72023-03-23 21:21:09 +11001077 deployment_share: true
1078 ingress_api: true
1079 job_bootstrap: true
1080 job_db_init: true
1081 job_db_sync: true
1082 job_db_drop: false
1083 job_image_repo_sync: true
1084 job_rabbit_init: true
1085 job_ks_endpoints: true
1086 job_ks_service: true
1087 job_ks_user: true
1088 pdb_api: true
Dong Ma41aad172025-02-11 05:18:42 +00001089 pod_rally_test: true
okozachenko120361008f72023-03-23 21:21:09 +11001090 secret_db: true
1091 network_policy: false
1092 secret_ingress_tls: true
1093 secret_keystone: true
1094 secret_rabbitmq: true
1095 secret_registry: true
1096 service_ingress_api: true
1097 service_api: true
1098...