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