blob: 27605f8aab3c423c59d4861afef04ec32e530e41 [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:
47 bootstrap: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
48 dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
49 db_init: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
50 manila_db_sync: docker.io/openstackhelm/manila:wallaby-ubuntu_focal
51 db_drop: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
52 ks_user: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
53 ks_service: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
54 ks_endpoints: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
55 manila_api: docker.io/openstackhelm/manila:wallaby-ubuntu_focal
okozachenko120385370ca2023-03-24 23:16:18 +110056 manila_data: docker.io/openstackhelm/manila:wallaby-ubuntu_focal
okozachenko120361008f72023-03-23 21:21:09 +110057 manila_scheduler: docker.io/openstackhelm/manila:wallaby-ubuntu_focal
58 manila_share: docker.io/openstackhelm/manila:wallaby-ubuntu_focal
59 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:
408 paste:
409 composite:osapi_share:
410 use: call:manila.api:root_app_factory
411 /: apiversions
412 /healthcheck: healthcheck
413 /v1: openstack_share_api
414 /v2: openstack_share_api_v2
415 composite:openstack_share_api:
416 use: call:manila.api.middleware.auth:pipeline_factory
417 noauth: cors faultwrap http_proxy_to_wsgi sizelimit osprofiler noauth api
418 keystone: cors faultwrap http_proxy_to_wsgi sizelimit osprofiler authtoken keystonecontext api
419 keystone_nolimit: cors faultwrap http_proxy_to_wsgi sizelimit osprofiler authtoken keystonecontext api
420 composite:openstack_share_api_v2:
421 use: call:manila.api.middleware.auth:pipeline_factory
422 noauth: cors faultwrap http_proxy_to_wsgi sizelimit osprofiler noauth apiv2
423 noauthv2: cors faultwrap http_proxy_to_wsgi sizelimit osprofiler noauthv2 apiv2
424 keystone: cors faultwrap http_proxy_to_wsgi sizelimit osprofiler authtoken keystonecontext apiv2
425 keystone_nolimit: cors faultwrap http_proxy_to_wsgi sizelimit osprofiler authtoken keystonecontext apiv2
426 filter:faultwrap:
427 paste.filter_factory: manila.api.middleware.fault:FaultWrapper.factory
428 filter:noauth:
429 paste.filter_factory: manila.api.middleware.auth:NoAuthMiddleware.factory
430 filter:noauthv2:
431 paste.filter_factory: manila.api.middleware.auth:NoAuthMiddlewarev2_60.factory
432 filter:sizelimit:
433 paste.filter_factory: oslo_middleware.sizelimit:RequestBodySizeLimiter.factory
434 filter:osprofiler:
435 paste.filter_factory: osprofiler.web:WsgiMiddleware.factory
436 filter:http_proxy_to_wsgi:
437 paste.filter_factory: oslo_middleware.http_proxy_to_wsgi:HTTPProxyToWSGI.factory
438 app:api:
439 paste.app_factory: manila.api.v1.router:APIRouter.factory
440 app:apiv2:
441 paste.app_factory: manila.api.v2.router:APIRouter.factory
442 pipeline:apiversions:
443 pipeline: cors faultwrap http_proxy_to_wsgi osshareversionapp
444 app:osshareversionapp:
445 paste.app_factory: manila.api.versions:VersionsRouter.factory
446 filter:keystonecontext:
447 paste.filter_factory: manila.api.middleware.auth:ManilaKeystoneContext.factory
448 filter:authtoken:
449 paste.filter_factory: keystonemiddleware.auth_token:filter_factory
450 filter:cors:
451 paste.filter_factory: oslo_middleware.cors:filter_factory
452 oslo_config_project: manila
453 app:healthcheck:
454 paste.app_factory: oslo_middleware:Healthcheck.app_factory
455 backends: disable_by_file
456 disable_by_file_path: /etc/manila/healthcheck_disable
457 policy: {}
458 manila_sudoers: |
459 # This sudoers file supports rootwrap for both Kolla and LOCI Images.
460 Defaults !requiretty
461 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"
462 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 *
463 rootwrap_filters:
464 share:
465 pods:
466 - share
467 content: |
468 # manila-rootwrap command filters for share nodes
469 # This file should be owned by (and only-writeable by) the root user
470
471 [Filters]
472 # manila/utils.py : 'chown', '%s', '%s'
473 chown: CommandFilter, chown, root
474 # manila/utils.py : 'cat', '%s'
475 cat: CommandFilter, cat, root
476
477 # manila/share/drivers/lvm.py: 'mkfs.ext4', '/dev/mapper/%s'
478 mkfs.ext4: CommandFilter, mkfs.ext4, root
479
480 # manila/share/drivers/lvm.py: 'mkfs.ext3', '/dev/mapper/%s'
481 mkfs.ext3: CommandFilter, mkfs.ext3, root
482
483 # manila/share/drivers/lvm.py: 'smbd', '-s', '%s', '-D'
484 smbd: CommandFilter, smbd, root
485 smb: CommandFilter, smb, root
486
487 # manila/share/drivers/lvm.py: 'rmdir', '%s'
488 rmdir: CommandFilter, rmdir, root
489
490 # manila/share/drivers/lvm.py: 'dd' 'count=0', 'if=%s' % srcstr, 'of=%s'
491 dd: CommandFilter, dd, root
492
493 # manila/share/drivers/lvm.py: 'fsck', '-pf', %s
494 fsck: CommandFilter, fsck, root
495
496 # manila/share/drivers/lvm.py: 'resize2fs', %s
497 resize2fs: CommandFilter, resize2fs, root
498
499 # manila/share/drivers/helpers.py: 'smbcontrol', 'all', 'close-share', '%s'
500 smbcontrol: CommandFilter, smbcontrol, root
501
502 # manila/share/drivers/helpers.py: 'net', 'conf', 'addshare', '%s', '%s', 'writeable=y', 'guest_ok=y
503 # manila/share/drivers/helpers.py: 'net', 'conf', 'delshare', '%s'
504 # manila/share/drivers/helpers.py: 'net', 'conf', 'setparm', '%s', '%s', '%s'
505 # manila/share/drivers/helpers.py: 'net', 'conf', 'getparm', '%s', 'hosts allow'
506 net: CommandFilter, net, root
507
508 # manila/share/drivers/helpers.py: 'cp', '%s', '%s'
509 cp: CommandFilter, cp, root
510
511 # manila/share/drivers/helpers.py: 'service', '%s', '%s'
512 service: CommandFilter, service, root
513
514 # manila/share/drivers/lvm.py: 'lvremove', '-f', "%s/%s
515 lvremove: CommandFilter, lvremove, root
516
517 # manila/share/drivers/lvm.py: 'lvextend', '-L', '%sG''-n', %s
518 lvextend: CommandFilter, lvextend, root
519
520 # manila/share/drivers/lvm.py: 'lvcreate', '-L', %s, '-n', %s
521 lvcreate: CommandFilter, lvcreate, root
522
523 # manila/share/drivers/lvm.py: 'vgs', '--noheadings', '-o', 'name'
524 # manila/share/drivers/lvm.py: 'vgs', %s, '--rows', '--units', 'g'
525 vgs: CommandFilter, vgs, root
526
527 # manila/share/drivers/lvm.py: 'tune2fs', '-U', 'random', '%volume-snapshot%'
528 tune2fs: CommandFilter, tune2fs, root
529
530 # manila/share/drivers/generic.py: 'sed', '-i', '\'/%s/d\'', '%s'
531 sed: CommandFilter, sed, root
532
533 # manila/share/drivers/glusterfs.py: 'mkdir', '%s'
534 # manila/share/drivers/ganesha/manager.py: 'mkdir', '-p', '%s'
535 mkdir: CommandFilter, mkdir, root
536
537 # manila/share/drivers/glusterfs.py: 'rm', '-rf', '%s'
538 rm: CommandFilter, rm, root
539
540 # manila/share/drivers/glusterfs.py: 'mount', '-t', 'glusterfs', '%s', '%s'
541 # manila/share/drivers/glusterfs/glusterfs_native.py: 'mount', '-t', 'glusterfs', '%s', '%s'
542 mount: CommandFilter, mount, root
543
544 # manila/share/drivers/glusterfs.py: 'gluster', '--xml', 'volume', 'info', '%s'
545 # manila/share/drivers/glusterfs.py: 'gluster', 'volume', 'set', '%s', 'nfs.export-dir', '%s'
546 gluster: CommandFilter, gluster, root
547
548 # manila/network/linux/ip_lib.py: 'ip', 'netns', 'exec', '%s', '%s'
549 ip: CommandFilter, ip, root
550
551 # manila/network/linux/interface.py: 'ovs-vsctl', 'add-port', '%s', '%s'
552 ovs-vsctl: CommandFilter, ovs-vsctl, root
553
554 # manila/share/drivers/glusterfs/glusterfs_native.py: 'find', '%s', '-mindepth', '1', '!', '-path', '%s', '!', '-path', '%s', '-delete'
555 # manila/share/drivers/glusterfs/glusterfs_native.py: 'find', '%s', '-mindepth', '1', '-delete'
556 find: CommandFilter, find, root
557
558 # manila/share/drivers/glusterfs/glusterfs_native.py: 'umount', '%s'
559 umount: CommandFilter, umount, root
560
561 # GPFS commands
562 # manila/share/drivers/ibm/gpfs.py: 'mmgetstate', '-Y'
563 mmgetstate: CommandFilter, mmgetstate, root
564 # manila/share/drivers/ibm/gpfs.py: 'mmlsattr', '%s'
565 mmlsattr: CommandFilter, mmlsattr, root
566 # manila/share/drivers/ibm/gpfs.py: 'mmcrfileset', '%s', '%s', '--inode-space', 'new'
567 mmcrfileset: CommandFilter, mmcrfileset, root
568 # manila/share/drivers/ibm/gpfs.py: 'mmlinkfileset', '%s', '%s', '-J', '%s'
569 mmlinkfileset: CommandFilter, mmlinkfileset, root
570 # manila/share/drivers/ibm/gpfs.py: 'mmsetquota', '-j', '%s', '-h', '%s', '%s'
571 mmsetquota: CommandFilter, mmsetquota, root
572 # manila/share/drivers/ibm/gpfs.py: 'mmunlinkfileset', '%s', '%s', '-f'
573 mmunlinkfileset: CommandFilter, mmunlinkfileset, root
574 # manila/share/drivers/ibm/gpfs.py: 'mmdelfileset', '%s', '%s', '-f'
575 mmdelfileset: CommandFilter, mmdelfileset, root
576 # manila/share/drivers/ibm/gpfs.py: 'mmcrsnapshot', '%s', '%s', '-j', '%s'
577 mmcrsnapshot: CommandFilter, mmcrsnapshot, root
578 # manila/share/drivers/ibm/gpfs.py: 'mmdelsnapshot', '%s', '%s', '-j', '%s'
579 mmdelsnapshot: CommandFilter, mmdelsnapshot, root
580 # manila/share/drivers/ibm/gpfs.py: 'rsync', '-rp', '%s', '%s'
581 rsync: CommandFilter, rsync, root
582 # manila/share/drivers/ibm/gpfs.py: 'exportfs'
583 exportfs: CommandFilter, exportfs, root
584 # manila/share/drivers/ibm/gpfs.py: 'stat', '--format=%F', '%s'
585 stat: CommandFilter, stat, root
586 # manila/share/drivers/ibm/gpfs.py: 'df', '-P', '-B', '1', '%s'
587 df: CommandFilter, df, root
588 # manila/share/drivers/ibm/gpfs.py: 'chmod', '777', '%s'
589 chmod: CommandFilter, chmod, root
590 # manila/share/drivers/ibm/gpfs.py: 'mmnfs', 'export', '%s', '%s'
591 mmnfs: CommandFilter, mmnfs, root
592 # manila/share/drivers/ibm/gpfs.py: 'mmlsfileset', '%s', '-J', '%s', '-L'
593 mmlsfileset: CommandFilter, mmlsfileset, root
594 # manila/share/drivers/ibm/gpfs.py: 'mmchfileset', '%s', '-J', '%s', '-j', '%s'
595 mmchfileset: CommandFilter, mmchfileset, root
596 # manila/share/drivers/ibm/gpfs.py: 'mmlsquota', '-j', '-J', '%s', '%s'
597 mmlsquota: CommandFilter, mmlsquota, root
598
599 # manila/share/drivers/ganesha/manager.py: 'mv', '%s', '%s'
600 mv: CommandFilter, mv, root
601
602 # manila/share/drivers/ganesha/manager.py: 'mktemp', '-p', '%s', '-t', '%s'
603 mktemp: CommandFilter, mktemp, root
604
605 # manila/share/drivers/ganesha/manager.py:
606 shcat: RegExpFilter, sh, root, sh, -c, echo '((.|\n)*)' > /.*
607
608 # manila/share/drivers/ganesha/manager.py:
609 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, .*, .*
610
611 # manila/share/drivers/ganesha/manager.py:
612 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, .*
613
614 # manila/share/drivers/ganesha/manager.py:
615 dbus-updateexport: RegExpFilter, dbus-send, root, dbus-send, --print-reply, --system, --dest=org\.ganesha\.nfsd, /org/ganesha/nfsd/ExportMgr, org\.ganesha\.nfsd\.exportmgr\.UpdateExport, .*, .*
616
617 # manila/share/drivers/ganesha/manager.py:
618 rmconf: RegExpFilter, sh, root, sh, -c, rm -f /.*/\*\.conf$
619
620 # ZFS commands
621 # manila/share/drivers/zfsonlinux/driver.py
622 # manila/share/drivers/zfsonlinux/utils.py
623 zpool: CommandFilter, zpool, root
624
625 # manila/share/drivers/zfsonlinux/driver.py
626 # manila/share/drivers/zfsonlinux/utils.py
627 zfs: CommandFilter, zfs, root
628
629 # manila/share/drivers/zfsonlinux/driver.py
630 kill: CommandFilter, kill, root
631
632 # manila/data/utils.py: 'ls', '-pA1', '--group-directories-first', '%s'
633 ls: CommandFilter, ls, root
634
635 # manila/data/utils.py: 'touch', '--reference=%s', '%s'
636 touch: CommandFilter, touch, root
637
638 # manila/share/drivers/container/container.py: docker <whatever>
639 docker: CommandFilter, docker, root
640
641 # manila/share/drivers/container/container.py: brctl <whatever>
642 brctl: CommandFilter, brctl, root
643
644 # manila/share/drivers/container/storage_helper.py: e2fsck <whatever>
645 # manila/share/drivers/generic.py: e2fsck <whatever>
646 # manila/share/drivers/lvm.py: e2fsck <whatever>
647 e2fsck: CommandFilter, e2fsck, root
648
649 # manila/share/drivers/lvm.py: lvconvert --merge %s
650 lvconvert: CommandFilter, lvconvert, root
651
652 # manila/data/utils.py: 'sha256sum', '%s'
653 sha256sum: CommandFilter, sha256sum, root
654
655 # manila/utils.py: 'tee', '%s'
656 tee: CommandFilter, tee, root
657
658 # manila/share/drivers/container/storage_helper.py: lvs -o lv_size --noheadings --nosuffix --units g <device>
659 lvs: CommandFilter, lvs, root
660
661 # manila/share/drivers/container/storage_helper.py: lvrename --autobackup n <old_name> <new_name>
662 lvrename: CommandFilter, lvrename, root
663 rootwrap: |
664 # Configuration for manila-rootwrap
665 # This file should be owned by (and only-writeable by) the root user
666
667 [DEFAULT]
668 # List of directories to load filter definitions from (separated by ',').
669 # These directories MUST all be only writeable by root !
670 filters_path=/etc/manila/rootwrap.d,/usr/share/manila/rootwrap
671
672 # List of directories to search executables in, in case filters do not
673 # explicitly specify a full path (separated by ',')
674 # If not specified, defaults to system PATH environment variable.
675 # These directories MUST all be only writeable by root !
676 exec_dirs=/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/sbin,/usr/local/bin,/usr/lpp/mmfs/bin
677
678 # Enable logging to syslog
679 # Default value is False
680 use_syslog=False
681
682 # Which syslog facility to use.
683 # Valid values include auth, authpriv, syslog, user0, user1...
684 # Default value is 'syslog'
685 syslog_log_facility=syslog
686
687 # Which messages to log.
688 # INFO means log all usage
689 # ERROR means only log unsuccessful attempts
690 syslog_log_level=ERROR
691 manila:
692 DEFAULT:
693 default_share_type: default
694 default_share_group_type: default
695 share_name_template: share-%s
696 rootwrap_config: /etc/manila/rootwrap.conf
697 api_paste_config: /etc/manila/api-paste.ini
698 enabled_share_backends: generic
699 enabled_share_protocols: NFS
700 keystone_authtoken:
701 auth_type: password
702 auth_version: v3
703 memcache_security_strategy: ENCRYPT
704 endpoint_type: internalURL
705 neutron:
706 auth_type: password
707 auth_version: v3
708 memcache_security_strategy: ENCRYPT
709 endpoint_type: internalURL
710 nova:
711 auth_type: password
712 auth_version: v3
713 memcache_security_strategy: ENCRYPT
714 endpoint_type: internalURL
715 cinder:
716 auth_type: password
717 auth_version: v3
718 memcache_security_strategy: ENCRYPT
719 endpoint_type: internalURL
720 glance:
721 auth_type: password
722 auth_version: v3
723 memcache_security_strategy: ENCRYPT
724 endpoint_type: internalURL
725 database:
726 max_retries: -1
727 generic:
728 share_backend_name: GENERIC
729 share_driver: manila.share.drivers.generic.GenericShareDriver
730 driver_handles_share_servers: true
okozachenko120385370ca2023-03-24 23:16:18 +1100731 # manila-service-flavor
732 service_instance_flavor_id: 100
okozachenko120361008f72023-03-23 21:21:09 +1100733 service_image_name: manila-service-image
734 service_instance_user: manila
735 service_instance_password: manila
736 # # Module path to the Virtual Interface (VIF) driver class. This option
737 # # is used only by drivers operating in
738 # # `driver_handles_share_servers=True` mode that provision OpenStack
739 # # compute instances as share servers. This option is only supported
740 # # with Neutron networking. Drivers provided in tree work with Linux
741 # # Bridge (manila.network.linux.interface.BridgeInterfaceDriver) and
742 # # OVS (manila.network.linux.interface.OVSInterfaceDriver). If the
743 # # manila-share service is running on a host that is connected to the
744 # # administrator network, a no-op driver
745 # # (manila.network.linux.interface.NoopInterfaceDriver) may be used.
746 # # (string value)
747 # interface_driver: manila.network.linux.interface.OVSInterfaceDriver
748 oslo_policy:
749 policy_file: /etc/manila/policy.yaml
750 oslo_concurrency:
751 lock_path: /var/lib/manila/tmp
752 oslo_messaging_notifications:
753 driver: messagingv2
754 oslo_middleware:
755 enable_proxy_headers_parsing: true
756 oslo_messaging_rabbit:
757 rabbit_ha_queues: true
758 logging:
759 loggers:
760 keys:
761 - root
762 - manila
763 handlers:
764 keys:
765 - stdout
766 - stderr
767 - "null"
768 formatters:
769 keys:
770 - context
771 - default
772 logger_root:
773 level: WARNING
774 handlers: 'null'
775 logger_manila:
776 level: INFO
777 handlers:
778 - stdout
779 qualname: manila
780 logger_amqp:
781 level: WARNING
782 handlers: stderr
783 qualname: amqp
784 logger_amqplib:
785 level: WARNING
786 handlers: stderr
787 qualname: amqplib
788 logger_eventletwsgi:
789 level: WARNING
790 handlers: stderr
791 qualname: eventlet.wsgi.server
792 logger_sqlalchemy:
793 level: WARNING
794 handlers: stderr
795 qualname: sqlalchemy
796 logger_boto:
797 level: WARNING
798 handlers: stderr
799 qualname: boto
800 handler_null:
801 class: logging.NullHandler
802 formatter: default
803 args: ()
804 handler_stdout:
805 class: StreamHandler
806 args: (sys.stdout,)
807 formatter: context
808 handler_stderr:
809 class: StreamHandler
810 args: (sys.stderr,)
811 formatter: context
812 formatter_context:
813 class: oslo_log.formatters.ContextFormatter
814 datefmt: "%Y-%m-%d %H:%M:%S"
815 formatter_default:
816 format: "%(message)s"
817 datefmt: "%Y-%m-%d %H:%M:%S"
818 rally_tests:
819 tests:
820 ManilaShares.create_and_delete_share:
821 - args:
822 share_proto: "nfs"
823 size: 1
824 share_type: "dhss_false"
825 min_sleep: 1
826 max_sleep: 2
827 context:
828 quotas:
829 manila:
830 shares: 0
831 gigabytes: 0
832 share_networks: 0
833 users:
834 tenants: 2
835 users_per_tenant: 1
836 user_choice_method: "round_robin"
837 manila_share_networks:
838 use_share_networks: true
839 runner:
840 concurrency: 4
841 times: 4
842 type: constant
843 sla:
844 failure_rate:
845 max: 0
846# Names of secrets used by bootstrap and environmental checks
847secrets:
848 identity:
849 admin: manila-keystone-admin
850 manila: manila-keystone-user
851 oslo_db:
852 admin: manila-db-admin
853 manila: manila-db-user
854 oslo_messaging:
855 admin: manila-rabbitmq-admin
856 manila: manila-rabbitmq-user
857 tls:
858 share:
859 api:
860 public: manila-tls-public
861 internal: manila-tls-internal
862 oci_image_registry:
863 manila: manila-oci-image-registry
864
865endpoints:
866 cluster_domain_suffix: cluster.local
867 local_image_registry:
868 name: docker-registry
869 namespace: docker-registry
870 hosts:
871 default: localhost
872 internal: docker-registry
873 node: localhost
874 host_fqdn_override:
875 default: null
876 port:
877 registry:
878 node: 5000
879 oci_image_registry:
880 name: oci-image-registry
881 namespace: oci-image-registry
882 auth:
883 enabled: false
884 manila:
885 username: manila
886 password: password
887 hosts:
888 default: localhost
889 host_fqdn_override:
890 default: null
891 port:
892 registry:
893 default: null
894 identity:
895 name: keystone
896 auth:
897 admin:
898 region_name: RegionOne
899 username: admin
900 password: password
901 project_name: admin
902 user_domain_name: default
903 project_domain_name: default
904 manila:
905 role: admin
906 region_name: RegionOne
907 username: manila
908 password: password
909 project_name: service
910 user_domain_name: service
911 project_domain_name: service
912 hosts:
913 default: keystone
914 internal: keystone-api
915 host_fqdn_override:
916 default: null
917 path:
918 default: /v3
919 scheme:
920 default: http
921 port:
922 api:
923 default: 80
924 internal: 5000
925 share:
926 name: manila
927 hosts:
928 default: manila-api
929 public: manila
930 host_fqdn_override:
931 default: null
932 path:
okozachenko1203bcd5a412023-03-24 01:54:38 +1100933 default: '/v2'
okozachenko120361008f72023-03-23 21:21:09 +1100934 scheme:
935 default: http
936 service: http
937 port:
938 api:
939 default: 8786
940 public: 80
941 service: 8786
okozachenko120361008f72023-03-23 21:21:09 +1100942
943 oslo_db:
944 auth:
945 admin:
946 username: root
947 password: password
948 secret:
949 tls:
950 internal: mariadb-tls-direct
951 manila:
952 username: manila
953 password: password
954 hosts:
955 default: mariadb
956 host_fqdn_override:
957 default: null
958 path: /manila
959 scheme: mysql+pymysql
960 port:
961 mysql:
962 default: 3306
963 oslo_messaging:
964 auth:
965 admin:
966 username: rabbitmq
967 password: password
968 secret:
969 tls:
970 internal: rabbitmq-tls-direct
971 manila:
972 username: manila
973 password: password
974 statefulset:
975 replicas: 2
976 name: rabbitmq-rabbitmq
977 hosts:
978 default: rabbitmq
979 host_fqdn_override:
980 default: null
981 path: /manila
982 scheme: rabbit
983 port:
984 amqp:
985 default: 5672
986 http:
987 default: 15672
988 oslo_cache:
989 auth:
990 # NOTE(portdirect): this is used to define the value for keystone
991 # authtoken cache encryption key, if not set it will be populated
992 # automatically with a random value, but to take advantage of
993 # this feature all services should be set to use the same key,
994 # and memcache service.
995 memcache_secret_key: null
996 hosts:
997 default: memcached
998 host_fqdn_override:
999 default: null
1000 port:
1001 memcache:
1002 default: 11211
1003 fluentd:
1004 namespace: null
1005 name: fluentd
1006 hosts:
1007 default: fluentd-logging
1008 host_fqdn_override:
1009 default: null
1010 path:
1011 default: null
1012 scheme: 'http'
1013 port:
1014 service:
1015 default: 24224
1016 metrics:
1017 default: 24220
1018 # NOTE(tp6510): these endpoints allow for things like DNS lookups and ingress
1019 # They are using to enable the Egress K8s network policy.
1020 kube_dns:
1021 namespace: kube-system
1022 name: kubernetes-dns
1023 hosts:
1024 default: kube-dns
1025 host_fqdn_override:
1026 default: null
1027 path:
1028 default: null
1029 scheme: http
1030 port:
1031 dns:
1032 default: 53
1033 protocol: UDP
1034 ingress:
1035 namespace: null
1036 name: ingress
1037 hosts:
1038 default: ingress
1039 port:
1040 ingress:
1041 default: 80
1042
1043tls:
1044 identity: false
1045 oslo_messaging: false
1046 oslo_db: false
1047
1048manifests:
1049 certificates: false
1050 configmap_bin: true
1051 configmap_etc: true
1052 deployment_api: true
1053 deployment_scheduler: true
okozachenko120385370ca2023-03-24 23:16:18 +11001054 deployment_data: true
okozachenko120361008f72023-03-23 21:21:09 +11001055 deployment_share: true
1056 ingress_api: true
1057 job_bootstrap: true
1058 job_db_init: true
1059 job_db_sync: true
1060 job_db_drop: false
1061 job_image_repo_sync: true
1062 job_rabbit_init: true
1063 job_ks_endpoints: true
1064 job_ks_service: true
1065 job_ks_user: true
1066 pdb_api: true
1067 pod_test: true
1068 secret_db: true
1069 network_policy: false
1070 secret_ingress_tls: true
1071 secret_keystone: true
1072 secret_rabbitmq: true
1073 secret_registry: true
1074 service_ingress_api: true
1075 service_api: true
1076...