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