blob: fa311b40d53d5fbb0cada350e882aa4a3cbd82f0 [file] [log] [blame]
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001# 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 neutron.
14# This is a YAML-formatted file.
15# Declare name/value pairs to be passed into your templates.
16# name: value
17
18---
19release_group: null
20
21images:
22 tags:
23 bootstrap: docker.io/openstackhelm/heat:stein-ubuntu_bionic
24 test: docker.io/xrally/xrally-openstack:2.0.0
25 purge_test: docker.io/openstackhelm/ospurge:latest
26 db_init: docker.io/openstackhelm/heat:stein-ubuntu_bionic
27 neutron_db_sync: docker.io/openstackhelm/neutron:stein-ubuntu_bionic
28 db_drop: docker.io/openstackhelm/heat:stein-ubuntu_bionic
29 rabbit_init: docker.io/rabbitmq:3.7-management
30 ks_user: docker.io/openstackhelm/heat:stein-ubuntu_bionic
31 ks_service: docker.io/openstackhelm/heat:stein-ubuntu_bionic
32 ks_endpoints: docker.io/openstackhelm/heat:stein-ubuntu_bionic
33 neutron_server: docker.io/openstackhelm/neutron:stein-ubuntu_bionic
34 neutron_dhcp: docker.io/openstackhelm/neutron:stein-ubuntu_bionic
35 neutron_metadata: docker.io/openstackhelm/neutron:stein-ubuntu_bionic
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +020036 neutron_ovn_metadata: docker.io/openstackhelm/neutron:stein-ubuntu_bionic
Mohammed Naserf3f59a72023-01-15 21:02:04 -050037 neutron_l3: docker.io/openstackhelm/neutron:stein-ubuntu_bionic
38 neutron_l2gw: docker.io/openstackhelm/neutron:stein-ubuntu_bionic
39 neutron_openvswitch_agent: docker.io/openstackhelm/neutron:stein-ubuntu_bionic
40 neutron_linuxbridge_agent: docker.io/openstackhelm/neutron:stein-ubuntu_bionic
41 neutron_sriov_agent: docker.io/openstackhelm/neutron:stein-18.04-sriov
42 neutron_sriov_agent_init: docker.io/openstackhelm/neutron:stein-18.04-sriov
43 neutron_bagpipe_bgp: docker.io/openstackhelm/neutron:stein-ubuntu_bionic
44 neutron_ironic_agent: docker.io/openstackhelm/neutron:stein-ubuntu_bionic
45 neutron_netns_cleanup_cron: docker.io/openstackhelm/neutron:stein-ubuntu_bionic
46 dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
47 image_repo_sync: docker.io/docker:17.07.0
48 pull_policy: "IfNotPresent"
49 local_registry:
50 active: false
51 exclude:
52 - dep_check
53 - image_repo_sync
54
55labels:
56 agent:
57 dhcp:
58 node_selector_key: openstack-control-plane
59 node_selector_value: enabled
60 l3:
61 node_selector_key: openstack-control-plane
62 node_selector_value: enabled
63 metadata:
64 node_selector_key: openstack-control-plane
65 node_selector_value: enabled
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +020066 ovn_metadata:
67 node_selector_key: openstack-compute-node
68 node_selector_value: enabled
Mohammed Naserf3f59a72023-01-15 21:02:04 -050069 l2gw:
70 node_selector_key: openstack-control-plane
71 node_selector_value: enabled
72 job:
73 node_selector_key: openstack-control-plane
74 node_selector_value: enabled
75 lb:
76 node_selector_key: linuxbridge
77 node_selector_value: enabled
78 # openvswitch is a special case, requiring a special
79 # label that can apply to both control hosts
80 # and compute hosts, until we get more sophisticated
81 # with our daemonset scheduling
82 ovs:
83 node_selector_key: openvswitch
84 node_selector_value: enabled
85 sriov:
86 node_selector_key: sriov
87 node_selector_value: enabled
88 bagpipe_bgp:
89 node_selector_key: openstack-compute-node
90 node_selector_value: enabled
91 server:
92 node_selector_key: openstack-control-plane
93 node_selector_value: enabled
94 ironic_agent:
95 node_selector_key: openstack-control-plane
96 node_selector_value: enabled
97 netns_cleanup_cron:
98 node_selector_key: openstack-control-plane
99 node_selector_value: enabled
100 test:
101 node_selector_key: openstack-control-plane
102 node_selector_value: enabled
103
104network:
105 # provide what type of network wiring will be used
106 backend:
107 - openvswitch
108 # NOTE(Portdirect): Share network namespaces with the host,
109 # allowing agents to be restarted without packet loss and simpler
110 # debugging. This feature requires mount propagation support.
111 share_namespaces: true
112 interface:
113 # Tunnel interface will be used for VXLAN tunneling.
114 tunnel: null
115 # If tunnel is null there is a fallback mechanism to search
116 # for interface with routing using tunnel network cidr.
117 tunnel_network_cidr: "0/0"
118 # To perform setup of network interfaces using the SR-IOV init
119 # container you can use a section similar to:
120 # sriov:
121 # - device: ${DEV}
122 # num_vfs: 8
123 # mtu: 9214
124 # promisc: false
125 # qos:
126 # - vf_num: 0
127 # share: 10
128 # queues_per_vf:
129 # - num_queues: 16
130 # exclude_vf: 0,11,21
131 server:
132 ingress:
133 public: true
134 classes:
135 namespace: "nginx"
136 cluster: "nginx-cluster"
137 annotations:
138 nginx.ingress.kubernetes.io/rewrite-target: /
139 external_policy_local: false
140 node_port:
141 enabled: false
142 port: 30096
143
144bootstrap:
145 enabled: false
146 ks_user: neutron
147 script: |
148 openstack token issue
149
150dependencies:
151 dynamic:
152 common:
153 local_image_registry:
154 jobs:
155 - neutron-image-repo-sync
156 services:
157 - endpoint: node
158 service: local_image_registry
159 targeted:
160 sriov: {}
161 l2gateway: {}
162 bagpipe_bgp: {}
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200163 ovn: {}
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500164 openvswitch:
165 dhcp:
166 pod:
167 - requireSameNode: true
168 labels:
169 application: neutron
170 component: neutron-ovs-agent
171 l3:
172 pod:
173 - requireSameNode: true
174 labels:
175 application: neutron
176 component: neutron-ovs-agent
177 metadata:
178 pod:
179 - requireSameNode: true
180 labels:
181 application: neutron
182 component: neutron-ovs-agent
183 linuxbridge:
184 dhcp:
185 pod:
186 - requireSameNode: true
187 labels:
188 application: neutron
189 component: neutron-lb-agent
190 l3:
191 pod:
192 - requireSameNode: true
193 labels:
194 application: neutron
195 component: neutron-lb-agent
196 metadata:
197 pod:
198 - requireSameNode: true
199 labels:
200 application: neutron
201 component: neutron-lb-agent
202 lb_agent:
203 pod: null
204 static:
205 bootstrap:
206 services:
207 - endpoint: internal
208 service: network
209 - endpoint: internal
210 service: compute
211 db_drop:
212 services:
213 - endpoint: internal
214 service: oslo_db
215 db_init:
216 services:
217 - endpoint: internal
218 service: oslo_db
219 db_sync:
220 jobs:
221 - neutron-db-init
222 services:
223 - endpoint: internal
224 service: oslo_db
225 dhcp:
226 pod: null
227 jobs:
228 - neutron-rabbit-init
229 services:
230 - endpoint: internal
231 service: oslo_messaging
232 - endpoint: internal
233 service: network
234 - endpoint: internal
235 service: compute
236 ks_endpoints:
237 jobs:
238 - neutron-ks-service
239 services:
240 - endpoint: internal
241 service: identity
242 ks_service:
243 services:
244 - endpoint: internal
245 service: identity
246 ks_user:
247 services:
248 - endpoint: internal
249 service: identity
250 rabbit_init:
251 services:
252 - service: oslo_messaging
253 endpoint: internal
254 l3:
255 pod: null
256 jobs:
257 - neutron-rabbit-init
258 services:
259 - endpoint: internal
260 service: oslo_messaging
261 - endpoint: internal
262 service: network
263 - endpoint: internal
264 service: compute
265 lb_agent:
266 pod: null
267 jobs:
268 - neutron-rabbit-init
269 services:
270 - endpoint: internal
271 service: oslo_messaging
272 - endpoint: internal
273 service: network
274 metadata:
275 pod: null
276 jobs:
277 - neutron-rabbit-init
278 services:
279 - endpoint: internal
280 service: oslo_messaging
281 - endpoint: internal
282 service: network
283 - endpoint: internal
284 service: compute
285 - endpoint: public
286 service: compute_metadata
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200287 ovn_metadata:
288 pod: null
289 jobs:
290 - neutron-rabbit-init
291 services:
292 - endpoint: internal
293 service: oslo_messaging
294 - endpoint: internal
295 service: network
296 - endpoint: internal
297 service: compute
298 - endpoint: public
299 service: compute_metadata
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500300 ovs_agent:
301 jobs:
302 - neutron-rabbit-init
303 pod:
304 - requireSameNode: true
305 labels:
306 application: openvswitch
307 component: server
308 services:
309 - endpoint: internal
310 service: oslo_messaging
311 - endpoint: internal
312 service: network
313 server:
314 jobs:
315 - neutron-db-sync
316 - neutron-ks-user
317 - neutron-ks-endpoints
318 - neutron-rabbit-init
319 services:
320 - endpoint: internal
321 service: oslo_db
322 - endpoint: internal
323 service: oslo_messaging
324 - endpoint: internal
325 service: oslo_cache
326 - endpoint: internal
327 service: identity
328 ironic_agent:
329 jobs:
330 - neutron-db-sync
331 - neutron-ks-user
332 - neutron-ks-endpoints
333 - neutron-rabbit-init
334 services:
335 - endpoint: internal
336 service: oslo_db
337 - endpoint: internal
338 service: oslo_messaging
339 - endpoint: internal
340 service: oslo_cache
341 - endpoint: internal
342 service: identity
343 tests:
344 services:
345 - endpoint: internal
346 service: network
347 - endpoint: internal
348 service: compute
349 image_repo_sync:
350 services:
351 - endpoint: internal
352 service: local_image_registry
353
354pod:
355 use_fqdn:
356 neutron_agent: true
357 probes:
358 rpc_timeout: 60
359 rpc_retries: 2
360 dhcp_agent:
361 dhcp_agent:
362 readiness:
363 enabled: true
364 params:
365 initialDelaySeconds: 30
366 periodSeconds: 190
367 timeoutSeconds: 185
368 liveness:
369 enabled: true
370 params:
371 initialDelaySeconds: 120
372 periodSeconds: 600
373 timeoutSeconds: 580
374 l3_agent:
375 l3_agent:
376 readiness:
377 enabled: true
378 params:
379 initialDelaySeconds: 30
380 periodSeconds: 190
381 timeoutSeconds: 185
382 liveness:
383 enabled: true
384 params:
385 initialDelaySeconds: 120
386 periodSeconds: 600
387 timeoutSeconds: 580
388 lb_agent:
389 lb_agent:
390 readiness:
391 enabled: true
392 metadata_agent:
393 metadata_agent:
394 readiness:
395 enabled: true
396 params:
397 initialDelaySeconds: 30
398 periodSeconds: 190
399 timeoutSeconds: 185
400 liveness:
401 enabled: true
402 params:
403 initialDelaySeconds: 120
404 periodSeconds: 600
405 timeoutSeconds: 580
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200406 ovn_metadata_agent:
407 ovn_metadata_agent:
408 readiness:
409 enabled: true
410 params:
411 initialDelaySeconds: 30
412 periodSeconds: 190
413 timeoutSeconds: 185
414 liveness:
415 enabled: true
416 params:
417 initialDelaySeconds: 120
418 periodSeconds: 600
419 timeoutSeconds: 580
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500420 ovs_agent:
421 ovs_agent:
422 readiness:
423 enabled: true
424 params:
425 liveness:
426 enabled: true
427 params:
428 initialDelaySeconds: 120
429 periodSeconds: 600
430 timeoutSeconds: 580
431 sriov_agent:
432 sriov_agent:
433 readiness:
434 enabled: true
435 params:
436 initialDelaySeconds: 30
437 periodSeconds: 190
438 timeoutSeconds: 185
439 bagpipe_bgp:
440 bagpipe_bgp:
441 readiness:
442 enabled: true
443 params:
444 liveness:
445 enabled: true
446 params:
447 initialDelaySeconds: 60
448 l2gw_agent:
449 l2gw_agent:
450 readiness:
451 enabled: true
452 params:
453 initialDelaySeconds: 30
454 periodSeconds: 15
455 timeoutSeconds: 65
456 liveness:
457 enabled: true
458 params:
459 initialDelaySeconds: 120
460 periodSeconds: 90
461 timeoutSeconds: 70
462 server:
463 server:
464 readiness:
465 enabled: true
466 params:
467 liveness:
468 enabled: true
469 params:
470 initialDelaySeconds: 60
471 security_context:
472 neutron_dhcp_agent:
473 pod:
474 runAsUser: 42424
475 container:
476 neutron_dhcp_agent:
477 readOnlyRootFilesystem: true
478 privileged: true
479 neutron_l2gw_agent:
480 pod:
481 runAsUser: 42424
482 container:
483 neutron_l2gw_agent:
484 readOnlyRootFilesystem: true
485 privileged: true
486 neutron_bagpipe_bgp:
487 pod:
488 runAsUser: 42424
489 container:
490 neutron_bagpipe_bgp:
491 readOnlyRootFilesystem: true
492 privileged: true
493 neutron_l3_agent:
494 pod:
495 runAsUser: 42424
496 container:
497 neutron_l3_agent:
498 readOnlyRootFilesystem: true
499 privileged: true
500 neutron_lb_agent:
501 pod:
502 runAsUser: 42424
503 container:
504 neutron_lb_agent_kernel_modules:
505 capabilities:
506 add:
507 - SYS_MODULE
508 - SYS_CHROOT
509 runAsUser: 0
510 readOnlyRootFilesystem: true
511 neutron_lb_agent_init:
512 privileged: true
513 runAsUser: 0
514 readOnlyRootFilesystem: true
515 neutron_lb_agent:
516 readOnlyRootFilesystem: true
517 privileged: true
518 neutron_metadata_agent:
519 pod:
520 runAsUser: 42424
521 container:
522 neutron_metadata_agent_init:
523 runAsUser: 0
524 readOnlyRootFilesystem: true
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200525 neutron_ovn_metadata_agent:
526 pod:
527 runAsUser: 42424
528 container:
529 neutron_ovn_metadata_agent_init:
530 runAsUser: 0
531 readOnlyRootFilesystem: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500532 neutron_ovs_agent:
533 pod:
534 runAsUser: 42424
535 container:
536 neutron_openvswitch_agent_kernel_modules:
537 capabilities:
538 add:
539 - SYS_MODULE
540 - SYS_CHROOT
541 runAsUser: 0
542 readOnlyRootFilesystem: true
543 neutron_ovs_agent_init:
544 privileged: true
545 runAsUser: 0
546 readOnlyRootFilesystem: true
547 neutron_ovs_agent:
548 readOnlyRootFilesystem: true
549 privileged: true
550 neutron_server:
551 pod:
552 runAsUser: 42424
553 container:
554 nginx:
555 runAsUser: 0
556 readOnlyRootFilesystem: false
557 neutron_server:
558 allowPrivilegeEscalation: false
559 readOnlyRootFilesystem: true
560 neutron_sriov_agent:
561 pod:
562 runAsUser: 42424
563 container:
564 neutron_sriov_agent_init:
565 privileged: true
566 runAsUser: 0
567 readOnlyRootFilesystem: false
568 neutron_sriov_agent:
569 readOnlyRootFilesystem: true
570 privileged: true
571 neutron_ironic_agent:
572 pod:
573 runAsUser: 42424
574 container:
575 neutron_ironic_agent:
576 allowPrivilegeEscalation: false
577 readOnlyRootFilesystem: true
578 neutron_netns_cleanup_cron:
579 pod:
580 runAsUser: 42424
581 container:
582 neutron_netns_cleanup_cron:
583 readOnlyRootFilesystem: true
584 privileged: true
585 affinity:
586 anti:
587 type:
588 default: preferredDuringSchedulingIgnoredDuringExecution
589 topologyKey:
590 default: kubernetes.io/hostname
591 weight:
592 default: 10
593 tolerations:
594 neutron:
595 enabled: false
596 tolerations:
597 - key: node-role.kubernetes.io/master
598 operator: Exists
599 effect: NoSchedule
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200600 - key: node-role.kubernetes.io/control-plane
601 operator: Exists
602 effect: NoSchedule
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500603 mounts:
604 neutron_server:
605 init_container: null
606 neutron_server:
607 volumeMounts:
608 volumes:
609 neutron_dhcp_agent:
610 init_container: null
611 neutron_dhcp_agent:
612 volumeMounts:
613 volumes:
614 neutron_l3_agent:
615 init_container: null
616 neutron_l3_agent:
617 volumeMounts:
618 volumes:
619 neutron_lb_agent:
620 init_container: null
621 neutron_lb_agent:
622 volumeMounts:
623 volumes:
624 neutron_metadata_agent:
625 init_container: null
626 neutron_metadata_agent:
627 volumeMounts:
628 volumes:
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200629 neutron_ovn_metadata_agent:
630 init_container: null
631 neutron_ovn_metadata_agent:
632 volumeMounts:
633 volumes:
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500634 neutron_ovs_agent:
635 init_container: null
636 neutron_ovs_agent:
637 volumeMounts:
638 volumes:
639 neutron_sriov_agent:
640 init_container: null
641 neutron_sriov_agent:
642 volumeMounts:
643 volumes:
644 neutron_l2gw_agent:
645 init_container: null
646 neutron_l2gw_agent:
647 volumeMounts:
648 volumes:
649 bagpipe_bgp:
650 init_container: null
651 bagpipe_bgp:
652 volumeMounts:
653 volumes:
654 neutron_ironic_agent:
655 init_container: null
656 neutron_ironic_agent:
657 volumeMounts:
658 volumes:
659 neutron_netns_cleanup_cron:
660 init_container: null
661 neutron_netns_cleanup_cron:
662 volumeMounts:
663 volumes:
664 neutron_tests:
665 init_container: null
666 neutron_tests:
667 volumeMounts:
668 volumes:
669 neutron_bootstrap:
670 init_container: null
671 neutron_bootstrap:
672 volumeMounts:
673 volumes:
674 neutron_db_sync:
675 neutron_db_sync:
676 volumeMounts:
677 - name: db-sync-conf
678 mountPath: /etc/neutron/plugins/ml2/ml2_conf.ini
679 subPath: ml2_conf.ini
680 readOnly: true
681 volumes:
682 replicas:
683 server: 1
684 ironic_agent: 1
685 lifecycle:
686 upgrades:
687 deployments:
688 revision_history: 3
689 pod_replacement_strategy: RollingUpdate
690 rolling_update:
691 max_unavailable: 1
692 max_surge: 3
693 daemonsets:
694 pod_replacement_strategy: RollingUpdate
695 dhcp_agent:
696 enabled: true
697 min_ready_seconds: 0
698 max_unavailable: 1
699 l3_agent:
700 enabled: true
701 min_ready_seconds: 0
702 max_unavailable: 1
703 lb_agent:
704 enabled: true
705 min_ready_seconds: 0
706 max_unavailable: 1
707 metadata_agent:
708 enabled: true
709 min_ready_seconds: 0
710 max_unavailable: 1
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200711 ovn_metadata_agent:
712 enabled: true
713 min_ready_seconds: 0
714 max_unavailable: 1
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500715 ovs_agent:
716 enabled: true
717 min_ready_seconds: 0
718 max_unavailable: 1
719 sriov_agent:
720 enabled: true
721 min_ready_seconds: 0
722 max_unavailable: 1
723 netns_cleanup_cron:
724 enabled: true
725 min_ready_seconds: 0
726 max_unavailable: 1
727 disruption_budget:
728 server:
729 min_available: 0
730 termination_grace_period:
731 server:
732 timeout: 30
733 ironic_agent:
734 timeout: 30
735 resources:
736 enabled: false
737 agent:
738 dhcp:
739 requests:
740 memory: "128Mi"
741 cpu: "100m"
742 limits:
743 memory: "1024Mi"
744 cpu: "2000m"
745 l3:
746 requests:
747 memory: "128Mi"
748 cpu: "100m"
749 limits:
750 memory: "1024Mi"
751 cpu: "2000m"
752 lb:
753 requests:
754 memory: "128Mi"
755 cpu: "100m"
756 limits:
757 memory: "1024Mi"
758 cpu: "2000m"
759 metadata:
760 requests:
761 memory: "128Mi"
762 cpu: "100m"
763 limits:
764 memory: "1024Mi"
765 cpu: "2000m"
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200766 ovn_metadata:
767 requests:
768 memory: "128Mi"
769 cpu: "100m"
770 limits:
771 memory: "1024Mi"
772 cpu: "2000m"
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500773 ovs:
774 requests:
775 memory: "128Mi"
776 cpu: "100m"
777 limits:
778 memory: "1024Mi"
779 cpu: "2000m"
780 sriov:
781 requests:
782 memory: "128Mi"
783 cpu: "100m"
784 limits:
785 memory: "1024Mi"
786 cpu: "2000m"
787 l2gw:
788 requests:
789 memory: "128Mi"
790 cpu: "100m"
791 limits:
792 memory: "1024Mi"
793 cpu: "2000m"
794 bagpipe_bgp:
795 requests:
796 memory: "128Mi"
797 cpu: "100m"
798 limits:
799 memory: "1024Mi"
800 cpu: "2000m"
801 server:
802 requests:
803 memory: "128Mi"
804 cpu: "100m"
805 limits:
806 memory: "1024Mi"
807 cpu: "2000m"
808 ironic_agent:
809 requests:
810 memory: "128Mi"
811 cpu: "100m"
812 limits:
813 memory: "1024Mi"
814 cpu: "2000m"
815 netns_cleanup_cron:
816 requests:
817 memory: "128Mi"
818 cpu: "100m"
819 limits:
820 memory: "1024Mi"
821 cpu: "2000m"
822 jobs:
823 bootstrap:
824 requests:
825 memory: "128Mi"
826 cpu: "100m"
827 limits:
828 memory: "1024Mi"
829 cpu: "2000m"
830 db_init:
831 requests:
832 memory: "128Mi"
833 cpu: "100m"
834 limits:
835 memory: "1024Mi"
836 cpu: "2000m"
837 rabbit_init:
838 requests:
839 memory: "128Mi"
840 cpu: "100m"
841 limits:
842 memory: "1024Mi"
843 cpu: "2000m"
844 db_sync:
845 requests:
846 memory: "128Mi"
847 cpu: "100m"
848 limits:
849 memory: "1024Mi"
850 cpu: "2000m"
851 db_drop:
852 requests:
853 memory: "128Mi"
854 cpu: "100m"
855 limits:
856 memory: "1024Mi"
857 cpu: "2000m"
858 ks_endpoints:
859 requests:
860 memory: "128Mi"
861 cpu: "100m"
862 limits:
863 memory: "1024Mi"
864 cpu: "2000m"
865 ks_service:
866 requests:
867 memory: "128Mi"
868 cpu: "100m"
869 limits:
870 memory: "1024Mi"
871 cpu: "2000m"
872 ks_user:
873 requests:
874 memory: "128Mi"
875 cpu: "100m"
876 limits:
877 memory: "1024Mi"
878 cpu: "2000m"
879 tests:
880 requests:
881 memory: "128Mi"
882 cpu: "100m"
883 limits:
884 memory: "1024Mi"
885 cpu: "2000m"
886 image_repo_sync:
887 requests:
888 memory: "128Mi"
889 cpu: "100m"
890 limits:
891 memory: "1024Mi"
892 cpu: "2000m"
893
894conf:
895 rally_tests:
896 force_project_purge: false
897 run_tempest: false
898 clean_up: |
899 # NOTE: We will make the best effort to clean up rally generated networks and routers,
900 # but should not block further automated deployment.
901 set +e
902 PATTERN="^[sc]_rally_"
903
904 ROUTERS=$(openstack router list --format=value -c Name | grep -e $PATTERN | sort | tr -d '\r')
905 NETWORKS=$(openstack network list --format=value -c Name | grep -e $PATTERN | sort | tr -d '\r')
906
907 for ROUTER in $ROUTERS
908 do
909 openstack router unset --external-gateway $ROUTER
910 openstack router set --disable --no-ha $ROUTER
911
912 SUBNS=$(openstack router show $ROUTER -c interfaces_info --format=value | python -m json.tool | grep -oP '(?<="subnet_id": ")[a-f0-9\-]{36}(?=")' | sort | uniq)
913 for SUBN in $SUBNS
914 do
915 openstack router remove subnet $ROUTER $SUBN
916 done
917
918 for PORT in $(openstack port list --router $ROUTER --format=value -c ID | tr -d '\r')
919 do
920 openstack router remove port $ROUTER $PORT
921 done
922
923 openstack router delete $ROUTER
924 done
925
926 for NETWORK in $NETWORKS
927 do
928 for PORT in $(openstack port list --network $NETWORK --format=value -c ID | tr -d '\r')
929 do
930 openstack port delete $PORT
931 done
932 openstack network delete $NETWORK
933 done
934 set -e
935 tests:
936 NeutronNetworks.create_and_delete_networks:
937 - args:
938 network_create_args: {}
939 context:
940 quotas:
941 neutron:
942 network: -1
943 runner:
944 concurrency: 1
945 times: 1
946 type: constant
947 sla:
948 failure_rate:
949 max: 0
950 NeutronNetworks.create_and_delete_ports:
951 - args:
952 network_create_args: {}
953 port_create_args: {}
954 ports_per_network: 10
955 context:
956 network: {}
957 quotas:
958 neutron:
959 network: -1
960 port: -1
961 runner:
962 concurrency: 1
963 times: 1
964 type: constant
965 sla:
966 failure_rate:
967 max: 0
968 NeutronNetworks.create_and_delete_routers:
969 - args:
970 network_create_args: {}
971 router_create_args: {}
972 subnet_cidr_start: 1.1.0.0/30
973 subnet_create_args: {}
974 subnets_per_network: 2
975 context:
976 network: {}
977 quotas:
978 neutron:
979 network: -1
980 router: -1
981 subnet: -1
982 runner:
983 concurrency: 1
984 times: 1
985 type: constant
986 sla:
987 failure_rate:
988 max: 0
989 NeutronNetworks.create_and_delete_subnets:
990 - args:
991 network_create_args: {}
992 subnet_cidr_start: 1.1.0.0/30
993 subnet_create_args: {}
994 subnets_per_network: 2
995 context:
996 network: {}
997 quotas:
998 neutron:
999 network: -1
1000 subnet: -1
1001 runner:
1002 concurrency: 1
1003 times: 1
1004 type: constant
1005 sla:
1006 failure_rate:
1007 max: 0
1008 NeutronNetworks.create_and_list_routers:
1009 - args:
1010 network_create_args: {}
1011 router_create_args: {}
1012 subnet_cidr_start: 1.1.0.0/30
1013 subnet_create_args: {}
1014 subnets_per_network: 2
1015 context:
1016 network: {}
1017 quotas:
1018 neutron:
1019 network: -1
1020 router: -1
1021 subnet: -1
1022 runner:
1023 concurrency: 1
1024 times: 1
1025 type: constant
1026 sla:
1027 failure_rate:
1028 max: 0
1029 NeutronNetworks.create_and_list_subnets:
1030 - args:
1031 network_create_args: {}
1032 subnet_cidr_start: 1.1.0.0/30
1033 subnet_create_args: {}
1034 subnets_per_network: 2
1035 context:
1036 network: {}
1037 quotas:
1038 neutron:
1039 network: -1
1040 subnet: -1
1041 runner:
1042 concurrency: 1
1043 times: 1
1044 type: constant
1045 sla:
1046 failure_rate:
1047 max: 0
1048 NeutronNetworks.create_and_show_network:
1049 - args:
1050 network_create_args: {}
1051 context:
1052 quotas:
1053 neutron:
1054 network: -1
1055 runner:
1056 concurrency: 1
1057 times: 1
1058 type: constant
1059 sla:
1060 failure_rate:
1061 max: 0
1062 NeutronNetworks.create_and_update_networks:
1063 - args:
1064 network_create_args: {}
1065 network_update_args:
1066 admin_state_up: false
1067 context:
1068 quotas:
1069 neutron:
1070 network: -1
1071 runner:
1072 concurrency: 1
1073 times: 1
1074 type: constant
1075 sla:
1076 failure_rate:
1077 max: 0
1078 NeutronNetworks.create_and_update_ports:
1079 - args:
1080 network_create_args: {}
1081 port_create_args: {}
1082 port_update_args:
1083 admin_state_up: false
1084 device_id: dummy_id
1085 device_owner: dummy_owner
1086 ports_per_network: 5
1087 context:
1088 network: {}
1089 quotas:
1090 neutron:
1091 network: -1
1092 port: -1
1093 runner:
1094 concurrency: 1
1095 times: 1
1096 type: constant
1097 sla:
1098 failure_rate:
1099 max: 0
1100 NeutronNetworks.create_and_update_routers:
1101 - args:
1102 network_create_args: {}
1103 router_create_args: {}
1104 router_update_args:
1105 admin_state_up: false
1106 subnet_cidr_start: 1.1.0.0/30
1107 subnet_create_args: {}
1108 subnets_per_network: 2
1109 context:
1110 network: {}
1111 quotas:
1112 neutron:
1113 network: -1
1114 router: -1
1115 subnet: -1
1116 runner:
1117 concurrency: 1
1118 times: 1
1119 type: constant
1120 sla:
1121 failure_rate:
1122 max: 0
1123 NeutronNetworks.create_and_update_subnets:
1124 - args:
1125 network_create_args: {}
1126 subnet_cidr_start: 1.4.0.0/16
1127 subnet_create_args: {}
1128 subnet_update_args:
1129 enable_dhcp: false
1130 subnets_per_network: 2
1131 context:
1132 network: {}
1133 quotas:
1134 neutron:
1135 network: -1
1136 subnet: -1
1137 runner:
1138 concurrency: 1
1139 times: 1
1140 type: constant
1141 sla:
1142 failure_rate:
1143 max: 0
1144 NeutronNetworks.list_agents:
1145 - args:
1146 agent_args: {}
1147 runner:
1148 concurrency: 1
1149 times: 1
1150 type: constant
1151 sla:
1152 failure_rate:
1153 max: 0
1154 NeutronSecurityGroup.create_and_list_security_groups:
1155 - args:
1156 security_group_create_args: {}
1157 context:
1158 quotas:
1159 neutron:
1160 security_group: -1
1161 runner:
1162 concurrency: 1
1163 times: 1
1164 type: constant
1165 sla:
1166 failure_rate:
1167 max: 0
1168 NeutronSecurityGroup.create_and_update_security_groups:
1169 - args:
1170 security_group_create_args: {}
1171 security_group_update_args: {}
1172 context:
1173 quotas:
1174 neutron:
1175 security_group: -1
1176 runner:
1177 concurrency: 1
1178 times: 1
1179 type: constant
1180 sla:
1181 failure_rate:
1182 max: 0
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001183 paste: {}
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001184 policy: {}
1185 api_audit_map:
1186 DEFAULT:
1187 target_endpoint_type: None
1188 custom_actions:
1189 add_router_interface: update/add
1190 remove_router_interface: update/remove
1191 path_keywords:
1192 floatingips: ip
1193 healthmonitors: healthmonitor
1194 health_monitors: health_monitor
1195 lb: None
1196 members: member
1197 metering-labels: label
1198 metering-label-rules: rule
1199 networks: network
1200 pools: pool
1201 ports: port
1202 routers: router
1203 quotas: quota
1204 security-groups: security-group
1205 security-group-rules: rule
1206 subnets: subnet
1207 vips: vip
1208 service_endpoints:
1209 network: service/network
1210 neutron_sudoers: |
1211 # This sudoers file supports rootwrap for both Kolla and LOCI Images.
1212 Defaults !requiretty
1213 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"
1214 neutron ALL = (root) NOPASSWD: /var/lib/kolla/venv/bin/neutron-rootwrap /etc/neutron/rootwrap.conf *, /var/lib/openstack/bin/neutron-rootwrap /etc/neutron/rootwrap.conf *
1215 neutron ALL = (root) NOPASSWD: /var/lib/kolla/venv/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf, /var/lib/openstack/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf
1216 rootwrap: |
1217 # Configuration for neutron-rootwrap
1218 # This file should be owned by (and only-writeable by) the root user
1219
1220 [DEFAULT]
1221 # List of directories to load filter definitions from (separated by ',').
1222 # These directories MUST all be only writeable by root !
1223 filters_path=/etc/neutron/rootwrap.d,/usr/share/neutron/rootwrap,/var/lib/openstack/etc/neutron/rootwrap.d
1224
1225 # List of directories to search executables in, in case filters do not
1226 # explicitely specify a full path (separated by ',')
1227 # If not specified, defaults to system PATH environment variable.
1228 # These directories MUST all be only writeable by root !
1229 exec_dirs=/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin,/var/lib/openstack/bin,/var/lib/kolla/venv/bin
1230
1231 # Enable logging to syslog
1232 # Default value is False
1233 use_syslog=False
1234
1235 # Which syslog facility to use.
1236 # Valid values include auth, authpriv, syslog, local0, local1...
1237 # Default value is 'syslog'
1238 syslog_log_facility=syslog
1239
1240 # Which messages to log.
1241 # INFO means log all usage
1242 # ERROR means only log unsuccessful attempts
1243 syslog_log_level=ERROR
1244
1245 [xenapi]
1246 # XenAPI configuration is only required by the L2 agent if it is to
1247 # target a XenServer/XCP compute host's dom0.
1248 xenapi_connection_url=<None>
1249 xenapi_connection_username=root
1250 xenapi_connection_password=<None>
1251 rootwrap_filters:
1252 debug:
1253 pods:
1254 - dhcp_agent
1255 - l3_agent
1256 - lb_agent
1257 - metadata_agent
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001258 - ovn_metadata_agent
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001259 - ovs_agent
1260 - sriov_agent
1261 content: |
1262 # neutron-rootwrap command filters for nodes on which neutron is
1263 # expected to control network
1264 #
1265 # This file should be owned by (and only-writeable by) the root user
1266
1267 # format seems to be
1268 # cmd-name: filter-name, raw-command, user, args
1269
1270 [Filters]
1271
1272 # This is needed because we should ping
1273 # from inside a namespace which requires root
1274 # _alt variants allow to match -c and -w in any order
1275 # (used by NeutronDebugAgent.ping_all)
1276 ping: RegExpFilter, ping, root, ping, -w, \d+, -c, \d+, [0-9\.]+
1277 ping_alt: RegExpFilter, ping, root, ping, -c, \d+, -w, \d+, [0-9\.]+
1278 ping6: RegExpFilter, ping6, root, ping6, -w, \d+, -c, \d+, [0-9A-Fa-f:]+
1279 ping6_alt: RegExpFilter, ping6, root, ping6, -c, \d+, -w, \d+, [0-9A-Fa-f:]+
1280 dibbler:
1281 pods:
1282 - dhcp_agent
1283 - l3_agent
1284 - lb_agent
1285 - metadata_agent
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001286 - ovn_metadata_agent
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001287 - ovs_agent
1288 - sriov_agent
1289 content: |
1290 # neutron-rootwrap command filters for nodes on which neutron is
1291 # expected to control network
1292 #
1293 # This file should be owned by (and only-writeable by) the root user
1294
1295 # format seems to be
1296 # cmd-name: filter-name, raw-command, user, args
1297
1298 [Filters]
1299
1300 # Filters for the dibbler-based reference implementation of the pluggable
1301 # Prefix Delegation driver. Other implementations using an alternative agent
1302 # should include a similar filter in this folder.
1303
1304 # prefix_delegation_agent
1305 dibbler-client: CommandFilter, dibbler-client, root
1306 ipset_firewall:
1307 pods:
1308 - dhcp_agent
1309 - l3_agent
1310 - lb_agent
1311 - metadata_agent
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001312 - ovn_metadata_agent
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001313 - ovs_agent
1314 - sriov_agent
1315 content: |
1316 # neutron-rootwrap command filters for nodes on which neutron is
1317 # expected to control network
1318 #
1319 # This file should be owned by (and only-writeable by) the root user
1320
1321 # format seems to be
1322 # cmd-name: filter-name, raw-command, user, args
1323
1324 [Filters]
1325 # neutron/agent/linux/iptables_firewall.py
1326 # "ipset", "-A", ...
1327 ipset: CommandFilter, ipset, root
1328 l3:
1329 pods:
1330 - dhcp_agent
1331 - l3_agent
1332 - lb_agent
1333 - metadata_agent
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001334 - ovn_metadata_agent
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001335 - ovs_agent
1336 - sriov_agent
1337 content: |
1338 # neutron-rootwrap command filters for nodes on which neutron is
1339 # expected to control network
1340 #
1341 # This file should be owned by (and only-writeable by) the root user
1342
1343 # format seems to be
1344 # cmd-name: filter-name, raw-command, user, args
1345
1346 [Filters]
1347
1348 # arping
1349 arping: CommandFilter, arping, root
1350
1351 # l3_agent
1352 sysctl: CommandFilter, sysctl, root
1353 route: CommandFilter, route, root
1354 radvd: CommandFilter, radvd, root
1355
1356 # haproxy
1357 haproxy: RegExpFilter, haproxy, root, haproxy, -f, .*
1358 kill_haproxy: KillFilter, root, haproxy, -15, -9, -HUP
1359
1360 # metadata proxy
1361 metadata_proxy: CommandFilter, neutron-ns-metadata-proxy, root
1362 # RHEL invocation of the metadata proxy will report /usr/bin/python
1363 kill_metadata: KillFilter, root, python, -15, -9
1364 kill_metadata2: KillFilter, root, python2, -15, -9
1365 kill_metadata7: KillFilter, root, python2.7, -15, -9
1366 kill_metadata3: KillFilter, root, python3, -15, -9
1367 kill_metadata35: KillFilter, root, python3.5, -15, -9
1368 kill_metadata36: KillFilter, root, python3.6, -15, -9
1369 kill_metadata37: KillFilter, root, python3.7, -15, -9
1370 kill_radvd_usr: KillFilter, root, /usr/sbin/radvd, -15, -9, -HUP
1371 kill_radvd: KillFilter, root, /sbin/radvd, -15, -9, -HUP
1372
1373 # ip_lib
1374 ip: IpFilter, ip, root
1375 find: RegExpFilter, find, root, find, /sys/class/net, -maxdepth, 1, -type, l, -printf, %.*
1376 ip_exec: IpNetnsExecFilter, ip, root
1377
1378 # l3_tc_lib
1379 l3_tc_show_qdisc: RegExpFilter, tc, root, tc, qdisc, show, dev, .+
1380 l3_tc_add_qdisc_ingress: RegExpFilter, tc, root, tc, qdisc, add, dev, .+, ingress
1381 l3_tc_add_qdisc_egress: RegExpFilter, tc, root, tc, qdisc, add, dev, .+, root, handle, 1:, htb
1382 l3_tc_show_filters: RegExpFilter, tc, root, tc, -p, -s, -d, filter, show, dev, .+, parent, .+, prio, 1
1383 l3_tc_delete_filters: RegExpFilter, tc, root, tc, filter, del, dev, .+, parent, .+, prio, 1, handle, .+, u32
1384 l3_tc_add_filter_ingress: RegExpFilter, tc, root, tc, filter, add, dev, .+, parent, .+, protocol, ip, prio, 1, u32, match, ip, dst, .+, police, rate, .+, burst, .+, drop, flowid, :1
1385 l3_tc_add_filter_egress: RegExpFilter, tc, root, tc, filter, add, dev, .+, parent, .+, protocol, ip, prio, 1, u32, match, ip, src, .+, police, rate, .+, burst, .+, drop, flowid, :1
1386
1387 # For ip monitor
1388 kill_ip_monitor: KillFilter, root, ip, -9
1389
1390 # ovs_lib (if OVSInterfaceDriver is used)
1391 ovs-vsctl: CommandFilter, ovs-vsctl, root
1392
1393 # iptables_manager
1394 iptables-save: CommandFilter, iptables-save, root
1395 iptables-restore: CommandFilter, iptables-restore, root
1396 ip6tables-save: CommandFilter, ip6tables-save, root
1397 ip6tables-restore: CommandFilter, ip6tables-restore, root
1398
1399 # Keepalived
1400 keepalived: CommandFilter, keepalived, root
1401 kill_keepalived: KillFilter, root, keepalived, -HUP, -15, -9
1402
1403 # l3 agent to delete floatingip's conntrack state
1404 conntrack: CommandFilter, conntrack, root
1405
1406 # keepalived state change monitor
1407 keepalived_state_change: CommandFilter, neutron-keepalived-state-change, root
1408 # The following filters are used to kill the keepalived state change monitor.
1409 # Since the monitor runs as a Python script, the system reports that the
1410 # command of the process to be killed is python.
1411 # TODO(mlavalle) These kill filters will be updated once we come up with a
1412 # mechanism to kill using the name of the script being executed by Python
1413 kill_keepalived_monitor_py: KillFilter, root, python, -15
1414 kill_keepalived_monitor_py27: KillFilter, root, python2.7, -15
1415 kill_keepalived_monitor_py3: KillFilter, root, python3, -15
1416 kill_keepalived_monitor_py35: KillFilter, root, python3.5, -15
1417 kill_keepalived_monitor_py36: KillFilter, root, python3.6, -15
1418 kill_keepalived_monitor_py37: KillFilter, root, python3.7, -15
1419 netns_cleanup:
1420 pods:
1421 - dhcp_agent
1422 - l3_agent
1423 - lb_agent
1424 - metadata_agent
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001425 - ovn_metadata_agent
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001426 - ovs_agent
1427 - sriov_agent
1428 - netns_cleanup_cron
1429 content: |
1430 # neutron-rootwrap command filters for nodes on which neutron is
1431 # expected to control network
1432 #
1433 # This file should be owned by (and only-writeable by) the root user
1434
1435 # format seems to be
1436 # cmd-name: filter-name, raw-command, user, args
1437
1438 [Filters]
1439
1440 # netns-cleanup
1441 netstat: CommandFilter, netstat, root
1442 dhcp:
1443 pods:
1444 - dhcp_agent
1445 - l3_agent
1446 - lb_agent
1447 - metadata_agent
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001448 - ovn_metadata_agent
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001449 - ovs_agent
1450 - sriov_agent
1451 - netns_cleanup_cron
1452 content: |
1453 # neutron-rootwrap command filters for nodes on which neutron is
1454 # expected to control network
1455 #
1456 # This file should be owned by (and only-writeable by) the root user
1457
1458 # format seems to be
1459 # cmd-name: filter-name, raw-command, user, args
1460
1461 [Filters]
1462
1463 # dhcp-agent
1464 dnsmasq: CommandFilter, dnsmasq, root
1465 # dhcp-agent uses kill as well, that's handled by the generic KillFilter
1466 # it looks like these are the only signals needed, per
1467 # neutron/agent/linux/dhcp.py
1468 kill_dnsmasq: KillFilter, root, /sbin/dnsmasq, -9, -HUP, -15
1469 kill_dnsmasq_usr: KillFilter, root, /usr/sbin/dnsmasq, -9, -HUP, -15
1470
1471 ovs-vsctl: CommandFilter, ovs-vsctl, root
1472 ivs-ctl: CommandFilter, ivs-ctl, root
1473 mm-ctl: CommandFilter, mm-ctl, root
1474 dhcp_release: CommandFilter, dhcp_release, root
1475 dhcp_release6: CommandFilter, dhcp_release6, root
1476
1477 # metadata proxy
1478 metadata_proxy: CommandFilter, neutron-ns-metadata-proxy, root
1479 # RHEL invocation of the metadata proxy will report /usr/bin/python
1480 kill_metadata: KillFilter, root, python, -9
1481 kill_metadata2: KillFilter, root, python2, -9
1482 kill_metadata7: KillFilter, root, python2.7, -9
1483 kill_metadata3: KillFilter, root, python3, -9
1484 kill_metadata35: KillFilter, root, python3.5, -9
1485 kill_metadata36: KillFilter, root, python3.6, -9
1486 kill_metadata37: KillFilter, root, python3.7, -9
1487
1488 # ip_lib
1489 ip: IpFilter, ip, root
1490 find: RegExpFilter, find, root, find, /sys/class/net, -maxdepth, 1, -type, l, -printf, %.*
1491 ip_exec: IpNetnsExecFilter, ip, root
1492 ebtables:
1493 pods:
1494 - dhcp_agent
1495 - l3_agent
1496 - lb_agent
1497 - metadata_agent
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001498 - ovn_metadata_agent
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001499 - ovs_agent
1500 - sriov_agent
1501 content: |
1502 # neutron-rootwrap command filters for nodes on which neutron is
1503 # expected to control network
1504 #
1505 # This file should be owned by (and only-writeable by) the root user
1506
1507 # format seems to be
1508 # cmd-name: filter-name, raw-command, user, args
1509
1510 [Filters]
1511
1512 ebtables: CommandFilter, ebtables, root
1513 iptables_firewall:
1514 pods:
1515 - dhcp_agent
1516 - l3_agent
1517 - lb_agent
1518 - metadata_agent
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001519 - ovn_metadata_agent
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001520 - ovs_agent
1521 - sriov_agent
1522 content: |
1523 # neutron-rootwrap command filters for nodes on which neutron is
1524 # expected to control network
1525 #
1526 # This file should be owned by (and only-writeable by) the root user
1527
1528 # format seems to be
1529 # cmd-name: filter-name, raw-command, user, args
1530
1531 [Filters]
1532
1533 # neutron/agent/linux/iptables_firewall.py
1534 # "iptables-save", ...
1535 iptables-save: CommandFilter, iptables-save, root
1536 iptables-restore: CommandFilter, iptables-restore, root
1537 ip6tables-save: CommandFilter, ip6tables-save, root
1538 ip6tables-restore: CommandFilter, ip6tables-restore, root
1539
1540 # neutron/agent/linux/iptables_firewall.py
1541 # "iptables", "-A", ...
1542 iptables: CommandFilter, iptables, root
1543 ip6tables: CommandFilter, ip6tables, root
1544
1545 # neutron/agent/linux/iptables_firewall.py
1546 sysctl: CommandFilter, sysctl, root
1547
1548 # neutron/agent/linux/ip_conntrack.py
1549 conntrack: CommandFilter, conntrack, root
1550 linuxbridge_plugin:
1551 pods:
1552 - dhcp_agent
1553 - l3_agent
1554 - lb_agent
1555 - metadata_agent
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001556 - ovn_metadata_agent
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001557 - ovs_agent
1558 - sriov_agent
1559 content: |
1560 # neutron-rootwrap command filters for nodes on which neutron is
1561 # expected to control network
1562 #
1563 # This file should be owned by (and only-writeable by) the root user
1564
1565 # format seems to be
1566 # cmd-name: filter-name, raw-command, user, args
1567
1568 [Filters]
1569
1570 # linuxbridge-agent
1571 # unclear whether both variants are necessary, but I'm transliterating
1572 # from the old mechanism
1573 brctl: CommandFilter, brctl, root
1574 bridge: CommandFilter, bridge, root
1575
1576 # ip_lib
1577 ip: IpFilter, ip, root
1578 find: RegExpFilter, find, root, find, /sys/class/net, -maxdepth, 1, -type, l, -printf, %.*
1579 ip_exec: IpNetnsExecFilter, ip, root
1580
1581 # tc commands needed for QoS support
1582 tc_replace_tbf: RegExpFilter, tc, root, tc, qdisc, replace, dev, .+, root, tbf, rate, .+, latency, .+, burst, .+
1583 tc_add_ingress: RegExpFilter, tc, root, tc, qdisc, add, dev, .+, ingress, handle, .+
1584 tc_delete: RegExpFilter, tc, root, tc, qdisc, del, dev, .+, .+
1585 tc_show_qdisc: RegExpFilter, tc, root, tc, qdisc, show, dev, .+
1586 tc_show_filters: RegExpFilter, tc, root, tc, filter, show, dev, .+, parent, .+
1587 tc_add_filter: RegExpFilter, tc, root, tc, filter, add, dev, .+, parent, .+, protocol, all, prio, .+, basic, police, rate, .+, burst, .+, mtu, .+, drop
1588 openvswitch_plugin:
1589 pods:
1590 - dhcp_agent
1591 - l3_agent
1592 - lb_agent
1593 - metadata_agent
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001594 - ovn_metadata_agent
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001595 - ovs_agent
1596 - sriov_agent
1597 content: |
1598 # neutron-rootwrap command filters for nodes on which neutron is
1599 # expected to control network
1600 #
1601 # This file should be owned by (and only-writeable by) the root user
1602
1603 # format seems to be
1604 # cmd-name: filter-name, raw-command, user, args
1605
1606 [Filters]
1607
1608 # openvswitch-agent
1609 # unclear whether both variants are necessary, but I'm transliterating
1610 # from the old mechanism
1611 ovs-vsctl: CommandFilter, ovs-vsctl, root
1612 # NOTE(yamamoto): of_interface=native doesn't use ovs-ofctl
1613 ovs-ofctl: CommandFilter, ovs-ofctl, root
1614 ovs-appctl: CommandFilter, ovs-appctl, root
1615 kill_ovsdb_client: KillFilter, root, /usr/bin/ovsdb-client, -9
1616 ovsdb-client: CommandFilter, ovsdb-client, root
1617 xe: CommandFilter, xe, root
1618
1619 # ip_lib
1620 ip: IpFilter, ip, root
1621 find: RegExpFilter, find, root, find, /sys/class/net, -maxdepth, 1, -type, l, -printf, %.*
1622 ip_exec: IpNetnsExecFilter, ip, root
1623
1624 # needed for FDB extension
1625 bridge: CommandFilter, bridge, root
1626 privsep:
1627 pods:
1628 - dhcp_agent
1629 - l3_agent
1630 - lb_agent
1631 - metadata_agent
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001632 - ovn_metadata_agent
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001633 - ovs_agent
1634 - sriov_agent
1635 - netns_cleanup_cron
1636 content: |
1637 # Command filters to allow privsep daemon to be started via rootwrap.
1638 #
1639 # This file should be owned by (and only-writeable by) the root user
1640
1641 [Filters]
1642
1643 # By installing the following, the local admin is asserting that:
1644 #
1645 # 1. The python module load path used by privsep-helper
1646 # command as root (as started by sudo/rootwrap) is trusted.
1647 # 2. Any oslo.config files matching the --config-file
1648 # arguments below are trusted.
1649 # 3. Users allowed to run sudo/rootwrap with this configuration(*) are
1650 # also allowed to invoke python "entrypoint" functions from
1651 # --privsep_context with the additional (possibly root) privileges
1652 # configured for that context.
1653 #
1654 # (*) ie: the user is allowed by /etc/sudoers to run rootwrap as root
1655 #
1656 # In particular, the oslo.config and python module path must not
1657 # be writeable by the unprivileged user.
1658
1659 # oslo.privsep default neutron context
1660 privsep: PathFilter, privsep-helper, root,
1661 --config-file, /etc,
1662 --privsep_context, neutron.privileged.default,
1663 --privsep_sock_path, /
1664
1665 # NOTE: A second `--config-file` arg can also be added above. Since
1666 # many neutron components are installed like that (eg: by devstack).
1667 # Adjust to suit local requirements.
1668 linux_vxlan:
1669 pods:
1670 - bagpipe_bgp
1671 content: |
1672 # bagpipe-bgp-rootwrap command filters for nodes on which bagpipe-bgp is
1673 # expected to control VXLAN Linux Bridge dataplane
1674 #
1675 # This file should be owned by (and only-writeable by) the root user
1676
1677 # format seems to be
1678 # cmd-name: filter-name, raw-command, user, args
1679
1680 [Filters]
1681
1682 #
1683 modprobe: CommandFilter, modprobe, root
1684
1685 #
1686 brctl: CommandFilter, brctl, root
1687 bridge: CommandFilter, bridge, root
1688
1689 # ip_lib
1690 ip: IpFilter, ip, root
1691 ip_exec: IpNetnsExecFilter, ip, root
1692
1693 # shell (for piped commands)
1694 sh: CommandFilter, sh, root
1695 mpls_ovs_dataplane:
1696 pods:
1697 - bagpipe_bgp
1698 content: |
1699 # bagpipe-bgp-rootwrap command filters for nodes on which bagpipe-bgp is
1700 # expected to control MPLS OpenVSwitch dataplane
1701 #
1702 # This file should be owned by (and only-writeable by) the root user
1703
1704 # format seems to be
1705 # cmd-name: filter-name, raw-command, user, args
1706
1707 [Filters]
1708
1709 # openvswitch
1710 ovs-vsctl: CommandFilter, ovs-vsctl, root
1711 ovs-ofctl: CommandFilter, ovs-ofctl, root
1712
1713 # ip_lib
1714 ip: IpFilter, ip, root
1715 ip_exec: IpNetnsExecFilter, ip, root
1716
1717 # shell (for piped commands)
1718 sh: CommandFilter, sh, root
1719 neutron:
1720 DEFAULT:
1721 metadata_proxy_socket: /var/lib/neutron/openstack-helm/metadata_proxy
1722 log_config_append: /etc/neutron/logging.conf
1723 # NOTE(portdirect): the bind port should not be defined, and is manipulated
1724 # via the endpoints section.
1725 bind_port: null
1726 default_availability_zones: nova
1727 api_workers: 1
1728 rpc_workers: 4
1729 allow_overlapping_ips: True
1730 state_path: /var/lib/neutron
1731 # core_plugin can be: ml2, calico
1732 core_plugin: ml2
1733 # service_plugin can be: router, odl-router, empty for calico,
1734 # networking_ovn.l3.l3_ovn.OVNL3RouterPlugin for OVN
1735 service_plugins: router
1736 allow_automatic_l3agent_failover: True
1737 l3_ha: True
1738 max_l3_agents_per_router: 2
1739 l3_ha_network_type: vxlan
1740 network_auto_schedule: True
1741 router_auto_schedule: True
1742 # (NOTE)portdirect: if unset this is populated dynamically from the value in
1743 # 'network.backend' to sane defaults.
1744 interface_driver: null
1745 oslo_concurrency:
1746 lock_path: /var/lib/neutron/tmp
1747 database:
1748 max_retries: -1
1749 agent:
1750 root_helper: sudo /var/lib/openstack/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
1751 root_helper_daemon: sudo /var/lib/openstack/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf
1752 oslo_messaging_notifications:
1753 driver: messagingv2
1754 oslo_messaging_rabbit:
1755 rabbit_ha_queues: true
1756 oslo_middleware:
1757 enable_proxy_headers_parsing: true
1758 oslo_policy:
1759 policy_file: /etc/neutron/policy.yaml
1760 nova:
1761 auth_type: password
1762 auth_version: v3
1763 endpoint_type: internal
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001764 placement:
1765 auth_type: password
1766 auth_version: v3
1767 endpoint_type: internal
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001768 designate:
1769 auth_type: password
1770 auth_version: v3
1771 endpoint_type: internal
1772 allow_reverse_dns_lookup: true
1773 ironic:
1774 endpoint_type: internal
1775 keystone_authtoken:
1776 memcache_security_strategy: ENCRYPT
1777 auth_type: password
1778 auth_version: v3
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001779 service_type: network
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001780 octavia:
1781 request_poll_timeout: 3000
1782 logging:
1783 loggers:
1784 keys:
1785 - root
1786 - neutron
1787 - neutron_taas
1788 handlers:
1789 keys:
1790 - stdout
1791 - stderr
1792 - "null"
1793 formatters:
1794 keys:
1795 - context
1796 - default
1797 logger_root:
1798 level: WARNING
1799 handlers: 'null'
1800 logger_neutron:
1801 level: INFO
1802 handlers:
1803 - stdout
1804 qualname: neutron
1805 logger_neutron_taas:
1806 level: INFO
1807 handlers:
1808 - stdout
1809 qualname: neutron_taas
1810 logger_amqp:
1811 level: WARNING
1812 handlers: stderr
1813 qualname: amqp
1814 logger_amqplib:
1815 level: WARNING
1816 handlers: stderr
1817 qualname: amqplib
1818 logger_eventletwsgi:
1819 level: WARNING
1820 handlers: stderr
1821 qualname: eventlet.wsgi.server
1822 logger_sqlalchemy:
1823 level: WARNING
1824 handlers: stderr
1825 qualname: sqlalchemy
1826 logger_boto:
1827 level: WARNING
1828 handlers: stderr
1829 qualname: boto
1830 handler_null:
1831 class: logging.NullHandler
1832 formatter: default
1833 args: ()
1834 handler_stdout:
1835 class: StreamHandler
1836 args: (sys.stdout,)
1837 formatter: context
1838 handler_stderr:
1839 class: StreamHandler
1840 args: (sys.stderr,)
1841 formatter: context
1842 formatter_context:
1843 class: oslo_log.formatters.ContextFormatter
1844 datefmt: "%Y-%m-%d %H:%M:%S"
1845 formatter_default:
1846 format: "%(message)s"
1847 datefmt: "%Y-%m-%d %H:%M:%S"
1848 plugins:
1849 ml2_conf:
1850 ml2:
1851 extension_drivers: port_security
1852 # (NOTE)portdirect: if unset this is populated dyanmicly from the value
1853 # in 'network.backend' to sane defaults.
1854 mechanism_drivers: null
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001855 type_drivers: flat,vlan,vxlan,local
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001856 tenant_network_types: vxlan
1857 ml2_type_vxlan:
1858 vni_ranges: 1:1000
1859 vxlan_group: 239.1.1.1
1860 ml2_type_flat:
1861 flat_networks: "*"
1862 # If you want to use the external network as a tagged provider network,
1863 # a range should be specified including the intended VLAN target
1864 # using ml2_type_vlan.network_vlan_ranges:
1865 # ml2_type_vlan:
1866 # network_vlan_ranges: "external:1100:1110"
1867 agent:
1868 extensions: ""
1869 ml2_conf_sriov: null
1870 taas:
1871 taas:
1872 enabled: False
1873 openvswitch_agent:
1874 agent:
1875 tunnel_types: vxlan
1876 l2_population: True
1877 arp_responder: True
1878 ovs:
1879 bridge_mappings: "external:br-ex"
1880 securitygroup:
1881 firewall_driver: neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
1882 linuxbridge_agent:
1883 linux_bridge:
1884 # To define Flat and VLAN connections, in LB we can assign
1885 # specific interface to the flat/vlan network name using:
1886 # physical_interface_mappings: "external:eth3"
1887 # Or we can set the mapping between the network and bridge:
1888 bridge_mappings: "external:br-ex"
1889 # The two above options are exclusive, do not use both of them at once
1890 securitygroup:
1891 firewall_driver: iptables
1892 vxlan:
1893 l2_population: True
1894 arp_responder: True
1895 macvtap_agent: null
1896 sriov_agent:
1897 securitygroup:
1898 firewall_driver: neutron.agent.firewall.NoopFirewallDriver
1899 sriov_nic:
1900 physical_device_mappings: physnet2:enp3s0f1
1901 # NOTE: do not use null here, use an empty string
1902 exclude_devices: ""
1903 dhcp_agent:
1904 DEFAULT:
1905 # (NOTE)portdirect: if unset this is populated dyanmicly from the value in
1906 # 'network.backend' to sane defaults.
1907 interface_driver: null
1908 dnsmasq_config_file: /etc/neutron/dnsmasq.conf
1909 force_metadata: True
1910 dnsmasq: |
1911 #no-hosts
1912 #port=5353
1913 #cache-size=500
1914 #no-negcache
1915 #dns-forward-max=100
1916 #resolve-file=
1917 #strict-order
1918 #bind-interface
1919 #bind-dynamic
1920 #domain=
1921 #dhcp-range=10.10.10.10,10.10.10.100,24h
1922 #dhcp-lease-max=150
1923 #dhcp-host=11:22:33:44:55:66,ignore
1924 #dhcp-option=3,10.10.10.1
1925 #dhcp-option-force=26,1450
1926
1927 l3_agent:
1928 DEFAULT:
1929 # (NOTE)portdirect: if unset this is populated dyanmicly from the value in
1930 # 'network.backend' to sane defaults.
1931 interface_driver: null
1932 agent_mode: legacy
1933 metering_agent: null
1934 metadata_agent:
1935 DEFAULT:
1936 # we cannot change the proxy socket path as it is declared
1937 # as a hostPath volume from agent daemonsets
1938 metadata_proxy_socket: /var/lib/neutron/openstack-helm/metadata_proxy
1939 metadata_proxy_shared_secret: "password"
1940 cache:
1941 enabled: true
1942 backend: dogpile.cache.memcached
1943 bagpipe_bgp: {}
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001944 ovn_metadata_agent: {}
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001945
1946 rabbitmq:
1947 # NOTE(rk760n): adding rmq policy to mirror messages from notification queues and set expiration time for the ones
1948 policies:
1949 - vhost: "neutron"
1950 name: "ha_ttl_neutron"
1951 definition:
1952 # mirror messges to other nodes in rmq cluster
1953 ha-mode: "all"
1954 ha-sync-mode: "automatic"
1955 # 70s
1956 message-ttl: 70000
1957 priority: 0
1958 apply-to: all
1959 pattern: '^(?!(amq\.|reply_)).*'
1960 ## NOTE: "besteffort" is meant for dev env with mixed compute type only.
1961 ## This helps prevent sriov init script from failing due to mis-matched NIC
1962 ## For prod env, target NIC should match and init script should fail otherwise.
1963 ## sriov_init:
1964 ## - besteffort
1965 sriov_init:
1966 -
1967 # auto_bridge_add is a table of "bridge: interface" pairs
1968 # To automatically add a physical interfaces to a specific bridges,
1969 # for example eth3 to bridge br-physnet1, if0 to br0 and iface_two
1970 # to br1 do something like:
1971 #
1972 # auto_bridge_add:
1973 # br-physnet1: eth3
1974 # br0: if0
1975 # br1: iface_two
1976 # br-ex will be added by default
1977 auto_bridge_add:
1978 br-ex: null
1979
1980 # configuration of OVS DPDK bridges and NICs
1981 # this is a separate section and not part of the auto_bridge_add section
1982 # because additional parameters are needed
1983 ovs_dpdk:
1984 enabled: false
1985 # setting update_dpdk_bond_config to true will have default behavior,
1986 # which may cause disruptions in ovs dpdk traffic in case of neutron
1987 # ovs agent restart or when dpdk nic/bond configurations are changed.
1988 # Setting this to false will configure dpdk in the first run and
1989 # disable nic/bond config on event of restart or config update.
1990 update_dpdk_bond_config: true
1991 driver: uio_pci_generic
1992 # In case bonds are configured, the nics which are part of those bonds
1993 # must NOT be provided here.
1994 nics:
1995 - name: dpdk0
1996 pci_id: '0000:05:00.0'
1997 # Set VF Index in case some particular VF(s) need to be
1998 # used with ovs-dpdk.
1999 # vf_index: 0
2000 bridge: br-phy
2001 migrate_ip: true
2002 n_rxq: 2
2003 n_txq: 2
2004 pmd_rxq_affinity: "0:3,1:27"
2005 ofport_request: 1
2006 # optional parameters for tuning the OVS DPDK config
2007 # in alignment with the available hardware resources
2008 # mtu: 2000
2009 # n_rxq_size: 1024
2010 # n_txq_size: 1024
2011 # vhost-iommu-support: true
2012 bridges:
2013 - name: br-phy
2014 # optional parameter, in case tunnel traffic needs to be transported over a vlan underlay
2015 # - tunnel_underlay_vlan: 45
2016 # Optional parameter for configuring bonding in OVS-DPDK
2017 # - name: br-phy-bond0
2018 # bonds:
2019 # - name: dpdkbond0
2020 # bridge: br-phy-bond0
2021 # # The IP from the first nic in nics list shall be used
2022 # migrate_ip: true
2023 # mtu: 2000
2024 # # Please note that n_rxq is set for each NIC individually
2025 # # rather than denoting the total number of rx queues for
2026 # # the bond as a whole. So setting n_rxq = 2 below for ex.
2027 # # would be 4 rx queues in total for the bond.
2028 # # Same for n_txq
2029 # n_rxq: 2
2030 # n_txq: 2
2031 # ofport_request: 1
2032 # n_rxq_size: 1024
2033 # n_txq_size: 1024
2034 # vhost-iommu-support: true
2035 # ovs_options: "bond_mode=active-backup"
2036 # nics:
2037 # - name: dpdk_b0s0
2038 # pci_id: '0000:06:00.0'
2039 # pmd_rxq_affinity: "0:3,1:27"
2040 # # Set VF Index in case some particular VF(s) need to be
2041 # # used with ovs-dpdk. In which case pci_id of PF must be
2042 # # provided above.
2043 # # vf_index: 0
2044 # - name: dpdk_b0s1
2045 # pci_id: '0000:07:00.0'
2046 # pmd_rxq_affinity: "0:3,1:27"
2047 # # Set VF Index in case some particular VF(s) need to be
2048 # # used with ovs-dpdk. In which case pci_id of PF must be
2049 # # provided above.
2050 # # vf_index: 0
2051 #
2052 # Set the log level for each target module (default level is always dbg)
2053 # Supported log levels are: off, emer, err, warn, info, dbg
2054 #
2055 # modules:
2056 # - name: dpdk
2057 # log_level: info
2058
2059# Names of secrets used by bootstrap and environmental checks
2060secrets:
2061 identity:
2062 admin: neutron-keystone-admin
2063 neutron: neutron-keystone-user
2064 test: neutron-keystone-test
2065 oslo_db:
2066 admin: neutron-db-admin
2067 neutron: neutron-db-user
2068 oslo_messaging:
2069 admin: neutron-rabbitmq-admin
2070 neutron: neutron-rabbitmq-user
2071 tls:
2072 compute_metadata:
2073 metadata:
2074 internal: metadata-tls-metadata
2075 network:
2076 server:
2077 public: neutron-tls-public
2078 internal: neutron-tls-server
2079 oci_image_registry:
2080 neutron: neutron-oci-image-registry
2081
2082# typically overridden by environmental
2083# values, but should include all endpoints
2084# required by this chart
2085endpoints:
2086 cluster_domain_suffix: cluster.local
2087 local_image_registry:
2088 name: docker-registry
2089 namespace: docker-registry
2090 hosts:
2091 default: localhost
2092 internal: docker-registry
2093 node: localhost
2094 host_fqdn_override:
2095 default: null
2096 port:
2097 registry:
2098 node: 5000
2099 oci_image_registry:
2100 name: oci-image-registry
2101 namespace: oci-image-registry
2102 auth:
2103 enabled: false
2104 neutron:
2105 username: neutron
2106 password: password
2107 hosts:
2108 default: localhost
2109 host_fqdn_override:
2110 default: null
2111 port:
2112 registry:
2113 default: null
2114 oslo_db:
2115 auth:
2116 admin:
2117 username: root
2118 password: password
2119 secret:
2120 tls:
2121 internal: mariadb-tls-direct
2122 neutron:
2123 username: neutron
2124 password: password
2125 hosts:
2126 default: mariadb
2127 host_fqdn_override:
2128 default: null
2129 path: /neutron
2130 scheme: mysql+pymysql
2131 port:
2132 mysql:
2133 default: 3306
2134 oslo_messaging:
2135 auth:
2136 admin:
2137 username: rabbitmq
2138 password: password
2139 secret:
2140 tls:
2141 internal: rabbitmq-tls-direct
2142 neutron:
2143 username: neutron
2144 password: password
2145 statefulset:
2146 replicas: 2
2147 name: rabbitmq-rabbitmq
2148 hosts:
2149 default: rabbitmq
2150 host_fqdn_override:
2151 default: null
2152 path: /neutron
2153 scheme: rabbit
2154 port:
2155 amqp:
2156 default: 5672
2157 http:
2158 default: 15672
2159 oslo_cache:
2160 auth:
2161 # NOTE(portdirect): this is used to define the value for keystone
2162 # authtoken cache encryption key, if not set it will be populated
2163 # automatically with a random value, but to take advantage of
2164 # this feature all services should be set to use the same key,
2165 # and memcache service.
2166 memcache_secret_key: null
2167 hosts:
2168 default: memcached
2169 host_fqdn_override:
2170 default: null
2171 port:
2172 memcache:
2173 default: 11211
2174 compute:
2175 name: nova
2176 hosts:
2177 default: nova-api
2178 public: nova
2179 host_fqdn_override:
2180 default: null
2181 path:
2182 default: "/v2.1/%(tenant_id)s"
2183 scheme:
2184 default: 'http'
2185 port:
2186 api:
2187 default: 8774
2188 public: 80
2189 novncproxy:
2190 default: 6080
2191 compute_metadata:
2192 name: nova
2193 hosts:
2194 default: nova-metadata
2195 public: metadata
2196 host_fqdn_override:
2197 default: null
2198 path:
2199 default: /
2200 scheme:
2201 default: 'http'
2202 port:
2203 metadata:
2204 default: 8775
2205 public: 80
2206 identity:
2207 name: keystone
2208 auth:
2209 admin:
2210 region_name: RegionOne
2211 username: admin
2212 password: password
2213 project_name: admin
2214 user_domain_name: default
2215 project_domain_name: default
2216 neutron:
2217 role: admin
2218 region_name: RegionOne
2219 username: neutron
2220 password: password
2221 project_name: service
2222 user_domain_name: service
2223 project_domain_name: service
2224 nova:
2225 region_name: RegionOne
2226 project_name: service
2227 username: nova
2228 password: password
2229 user_domain_name: service
2230 project_domain_name: service
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01002231 placement:
2232 region_name: RegionOne
2233 project_name: service
2234 username: placement
2235 password: password
2236 user_domain_name: service
2237 project_domain_name: service
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002238 designate:
2239 region_name: RegionOne
2240 project_name: service
2241 username: designate
2242 password: password
2243 user_domain_name: service
2244 project_domain_name: service
2245 ironic:
2246 region_name: RegionOne
2247 project_name: service
2248 username: ironic
2249 password: password
2250 user_domain_name: service
2251 project_domain_name: service
2252 test:
2253 role: admin
2254 region_name: RegionOne
2255 username: neutron-test
2256 password: password
2257 # NOTE: this project will be purged and reset if
2258 # conf.rally_tests.force_project_purge is set to true
2259 # which may be required upon test failure, but be aware that this will
2260 # expunge all openstack objects, so if this is used a seperate project
2261 # should be used for each helm test, and also it should be ensured
2262 # that this project is not in use by other tenants
2263 project_name: test
2264 user_domain_name: service
2265 project_domain_name: service
2266 hosts:
2267 default: keystone
2268 internal: keystone-api
2269 host_fqdn_override:
2270 default: null
2271 path:
2272 default: /v3
2273 scheme:
2274 default: http
2275 port:
2276 api:
2277 default: 80
2278 internal: 5000
2279 network:
2280 name: neutron
2281 hosts:
2282 default: neutron-server
2283 public: neutron
2284 host_fqdn_override:
2285 default: null
2286 # NOTE(portdirect): this chart supports TLS for fqdn over-ridden public
2287 # endpoints using the following format:
2288 # public:
2289 # host: null
2290 # tls:
2291 # crt: null
2292 # key: null
2293 path:
2294 default: null
2295 scheme:
2296 default: 'http'
2297 service: 'http'
2298 port:
2299 api:
2300 default: 9696
2301 public: 80
2302 service: 9696
2303 load_balancer:
2304 name: octavia
2305 hosts:
2306 default: octavia-api
2307 public: octavia
2308 host_fqdn_override:
2309 default: null
2310 path:
2311 default: null
2312 scheme:
2313 default: http
2314 port:
2315 api:
2316 default: 9876
2317 public: 80
2318 fluentd:
2319 namespace: osh-infra
2320 name: fluentd
2321 hosts:
2322 default: fluentd-logging
2323 host_fqdn_override:
2324 default: null
2325 path:
2326 default: null
2327 scheme: 'http'
2328 port:
2329 service:
2330 default: 24224
2331 metrics:
2332 default: 24220
2333 dns:
2334 name: designate
2335 hosts:
2336 default: designate-api
2337 public: designate
2338 host_fqdn_override:
2339 default: null
2340 path:
2341 default: /
2342 scheme:
2343 default: 'http'
2344 port:
2345 api:
2346 default: 9001
2347 public: 80
2348 baremetal:
2349 name: ironic
2350 hosts:
2351 default: ironic-api
2352 public: ironic
2353 host_fqdn_override:
2354 default: null
2355 path:
2356 default: null
2357 scheme:
2358 default: 'http'
2359 port:
2360 api:
2361 default: 6385
2362 public: 80
2363 # NOTE(tp6510): these endpoints allow for things like DNS lookups and ingress
2364 # They are using to enable the Egress K8s network policy.
2365 kube_dns:
2366 namespace: kube-system
2367 name: kubernetes-dns
2368 hosts:
2369 default: kube-dns
2370 host_fqdn_override:
2371 default: null
2372 path:
2373 default: null
2374 scheme: http
2375 port:
2376 dns:
2377 default: 53
2378 protocol: UDP
2379 ingress:
2380 namespace: null
2381 name: ingress
2382 hosts:
2383 default: ingress
2384 port:
2385 ingress:
2386 default: 80
2387
2388network_policy:
2389 neutron:
2390 # TODO(lamt): Need to tighten this ingress for security.
2391 ingress:
2392 - {}
2393 egress:
2394 - {}
2395
2396helm3_hook: true
2397
2398health_probe:
2399 logging:
2400 level: ERROR
2401
2402tls:
2403 identity: false
2404 oslo_messaging: false
2405 oslo_db: false
2406
2407manifests:
2408 certificates: false
2409 configmap_bin: true
2410 configmap_etc: true
2411 daemonset_dhcp_agent: true
2412 daemonset_l3_agent: true
2413 daemonset_lb_agent: true
2414 daemonset_metadata_agent: true
2415 daemonset_ovs_agent: true
2416 daemonset_sriov_agent: true
2417 daemonset_l2gw_agent: false
2418 daemonset_bagpipe_bgp: false
2419 daemonset_netns_cleanup_cron: true
2420 deployment_ironic_agent: false
2421 deployment_server: true
2422 ingress_server: true
2423 job_bootstrap: true
2424 job_db_init: true
2425 job_db_sync: true
2426 job_db_drop: false
2427 job_image_repo_sync: true
2428 job_ks_endpoints: true
2429 job_ks_service: true
2430 job_ks_user: true
2431 job_rabbit_init: true
2432 pdb_server: true
2433 pod_rally_test: true
2434 network_policy: false
2435 secret_db: true
2436 secret_ingress_tls: true
2437 secret_keystone: true
2438 secret_rabbitmq: true
2439 secret_registry: true
2440 service_ingress_server: true
2441 service_server: true
2442...