blob: 7f897eebe1b8e1226cea469391bd667d7b21ed98 [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 nova.
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
21labels:
22 agent:
23 compute:
24 node_selector_key: openstack-compute-node
25 node_selector_value: enabled
26 compute_ironic:
27 node_selector_key: openstack-compute-node
28 node_selector_value: enabled
29 api_metadata:
30 node_selector_key: openstack-control-plane
31 node_selector_value: enabled
32 conductor:
33 node_selector_key: openstack-control-plane
34 node_selector_value: enabled
Mohammed Naserf3f59a72023-01-15 21:02:04 -050035 job:
36 node_selector_key: openstack-control-plane
37 node_selector_value: enabled
38 novncproxy:
39 node_selector_key: openstack-control-plane
40 node_selector_value: enabled
41 osapi:
42 node_selector_key: openstack-control-plane
43 node_selector_value: enabled
Mohammed Naserf3f59a72023-01-15 21:02:04 -050044 scheduler:
45 node_selector_key: openstack-control-plane
46 node_selector_value: enabled
47 spiceproxy:
48 node_selector_key: openstack-control-plane
49 node_selector_value: enabled
50 test:
51 node_selector_key: openstack-control-plane
52 node_selector_value: enabled
53
54images:
55 pull_policy: IfNotPresent
56 tags:
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +010057 bootstrap: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
58 db_drop: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
59 db_init: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
Mohammed Naserf3f59a72023-01-15 21:02:04 -050060 dep_check: 'quay.io/airshipit/kubernetes-entrypoint:v1.0.0'
61 rabbit_init: docker.io/rabbitmq:3.7-management
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +010062 ks_user: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
63 ks_service: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
64 nova_archive_deleted_rows: docker.io/openstackhelm/nova:wallaby-ubuntu_focal
65 ks_endpoints: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
66 nova_api: docker.io/openstackhelm/nova:wallaby-ubuntu_focal
67 nova_cell_setup: docker.io/openstackhelm/nova:wallaby-ubuntu_focal
68 nova_cell_setup_init: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
69 nova_compute: docker.io/openstackhelm/nova:wallaby-ubuntu_focal
70 nova_compute_ironic: 'docker.io/kolla/ubuntu-source-nova-compute-ironic:wallaby'
71 nova_compute_ssh: docker.io/openstackhelm/nova:wallaby-ubuntu_focal
72 nova_conductor: docker.io/openstackhelm/nova:wallaby-ubuntu_focal
73 nova_db_sync: docker.io/openstackhelm/nova:wallaby-ubuntu_focal
74 nova_novncproxy: docker.io/openstackhelm/nova:wallaby-ubuntu_focal
75 nova_novncproxy_assets: 'docker.io/kolla/ubuntu-source-nova-novncproxy:wallaby'
76 nova_scheduler: docker.io/openstackhelm/nova:wallaby-ubuntu_focal
Mohammed Naserf3f59a72023-01-15 21:02:04 -050077 # NOTE(portdirect): we simply use the ceph config helper here,
78 # as it has both oscli and jq.
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +010079 nova_service_cleaner: 'docker.io/openstackhelm/ceph-config-helper:latest-ubuntu_focal'
80 nova_spiceproxy: docker.io/openstackhelm/nova:wallaby-ubuntu_focal
81 nova_spiceproxy_assets: docker.io/openstackhelm/nova:wallaby-ubuntu_focal
Mohammed Naserf3f59a72023-01-15 21:02:04 -050082 test: docker.io/xrally/xrally-openstack:2.0.0
83 image_repo_sync: docker.io/docker:17.07.0
84 nova_wait_for_computes_init: gcr.io/google_containers/hyperkube-amd64:v1.11.6
85 local_registry:
86 active: false
87 exclude:
88 - dep_check
89 - image_repo_sync
90
91jobs:
92 # NOTE(portdirect): When using cells new nodes will be added to the cell on the hour by default.
93 # TODO(portdirect): Add a post-start action to nova compute pods that registers themselves.
94 cell_setup:
95 cron: "0 */1 * * *"
96 starting_deadline: 600
97 history:
98 success: 3
99 failed: 1
100 extended_wait:
101 enabled: false
102 iteration: 3
103 duration: 5
104 service_cleaner:
105 cron: "0 */1 * * *"
106 starting_deadline: 600
107 history:
108 success: 3
109 failed: 1
110 sleep_time: 60
111 archive_deleted_rows:
112 cron: "0 */1 * * *"
113 starting_deadline: 600
114 history:
115 success: 3
116 failed: 1
117
118bootstrap:
119 enabled: true
120 ks_user: admin
121 script: null
122 structured:
123 flavors:
124 enabled: true
125 options:
126 m1_tiny:
127 name: "m1.tiny"
128 ram: 512
129 disk: 1
130 vcpus: 1
131 m1_small:
132 name: "m1.small"
133 ram: 2048
134 disk: 20
135 vcpus: 1
136 m1_medium:
137 name: "m1.medium"
138 ram: 4096
139 disk: 40
140 vcpus: 2
141 m1_large:
142 name: "m1.large"
143 ram: 8192
144 disk: 80
145 vcpus: 4
146 m1_xlarge:
147 name: "m1.xlarge"
148 ram: 16384
149 disk: 160
150 vcpus: 8
151 wait_for_computes:
152 enabled: false
153 # Wait percentage is the minimum percentage of compute hypervisors which
154 # must be available before the remainder of the bootstrap script can be run.
155 wait_percentage: 70
156 # Once the wait_percentage above is achieved, the remaining_wait is the
157 # amount of time in seconds to wait before executing the remainder of the
158 # boostrap script.
159 remaining_wait: 300
160 scripts:
161 init_script: |
162 # This runs in a bootstrap init container. It counts the number of compute nodes.
163 COMPUTE_NODES=$(kubectl get nodes -o custom-columns=NAME:.metadata.name -l openstack-compute-node=enabled --no-headers | sort)
164 /bin/echo $COMPUTE_NODES > /tmp/compute_nodes.txt
165 wait_script: |
166 # This script runs in the main bootstrap container just before the
167 # bootstrap.script is called.
168 COMPUTE_HOSTS=`cat /tmp/compute_nodes.txt | wc -w`
169 if [[ $COMPUTE_HOSTS == 0 ]]; then
170 echo "There are no compute hosts found!"
171 exit 1
172 fi
173
174 # Wait for all hypervisors to come up before moving on with the deployment
175 HYPERVISOR_WAIT=true
176 WAIT_AFTER_READY=0
177 SLEEP=5
178 while [[ $HYPERVISOR_WAIT == true ]]; do
179 # Its possible that openstack command may fail due to not being able to
180 # reach the compute service
181 set +e
182 HYPERVISORS=$(openstack hypervisor list -f value -c 'Hypervisor Hostname' | wc -w)
183 set -e
184
185 PERCENT_READY=$(( $HYPERVISORS * 100 / $COMPUTE_HOSTS ))
186 if [[ $PERCENT_READY -ge $WAIT_PERCENTAGE ]]; then
187 echo "Hypervisor ready percentage is $PERCENT_READY"
188 if [[ $PERCENT_READY == 100 ]]; then
189 HYPERVISOR_WAIT=false
190 echo "All hypervisors are ready."
191 elif [[ WAIT_AFTER_READY -ge $REMAINING_WAIT ]]; then
192 HYPERVISOR_WAIT=false
193 echo "Waited the configured time -- $HYPERVISORS out of $COMPUTE_HOSTS hypervisor(s) ready -- proceeding with the bootstrap."
194 else
195 sleep $SLEEP
196 WAIT_AFTER_READY=$(( $WAIT_AFTER_READY + $SLEEP ))
197 fi
198 else
199 echo "Waiting $SLEEP seconds for enough hypervisors to be discovered..."
200 sleep $SLEEP
201 fi
202 done
203
204network:
205 # provide what type of network wiring will be used
206 # possible options: openvswitch, linuxbridge, sriov
207 backend:
208 - openvswitch
209 osapi:
210 port: 8774
211 ingress:
212 public: true
213 classes:
214 namespace: "nginx"
215 cluster: "nginx-cluster"
216 annotations:
217 nginx.ingress.kubernetes.io/rewrite-target: /
218 external_policy_local: false
219 node_port:
220 enabled: false
221 port: 30774
222 metadata:
223 port: 8775
224 ingress:
225 public: true
226 classes:
227 namespace: "nginx"
228 cluster: "nginx-cluster"
229 annotations:
230 nginx.ingress.kubernetes.io/rewrite-target: /
231 external_policy_local: false
232 node_port:
233 enabled: false
234 port: 30775
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500235 novncproxy:
236 ingress:
237 public: true
238 classes:
239 namespace: "nginx"
240 cluster: "nginx-cluster"
241 annotations:
242 nginx.ingress.kubernetes.io/rewrite-target: /
243 node_port:
244 enabled: false
245 port: 30680
246 spiceproxy:
247 node_port:
248 enabled: false
249 port: 30682
250 ssh:
251 enabled: false
252 port: 8022
253 from_subnet: 0.0.0.0/0
254 key_types:
255 - rsa
256 - dsa
257 - ecdsa
258 - ed25519
259 private_key: 'null'
260 public_key: 'null'
261
262dependencies:
263 dynamic:
264 common:
265 local_image_registry:
266 jobs:
267 - nova-image-repo-sync
268 services:
269 - endpoint: node
270 service: local_image_registry
271 targeted:
Mohammed Naserd6db2452023-07-23 14:34:59 +0000272 ovn:
okozachenko1203567fc082023-08-21 22:50:02 +1000273 compute:
Mohammed Naserd6db2452023-07-23 14:34:59 +0000274 pod:
275 - requireSameNode: true
276 labels:
277 application: ovn
278 component: ovn-controller
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500279 openvswitch:
280 compute:
281 pod:
282 - requireSameNode: true
283 labels:
284 application: neutron
285 component: neutron-ovs-agent
286 linuxbridge:
287 compute:
288 pod:
289 - requireSameNode: true
290 labels:
291 application: neutron
292 component: neutron-lb-agent
293 sriov:
294 compute:
295 pod:
296 - requireSameNode: true
297 labels:
298 application: neutron
299 component: neutron-sriov-agent
300 static:
301 api:
302 jobs:
303 - nova-db-sync
304 - nova-ks-user
305 - nova-ks-endpoints
306 - nova-rabbit-init
307 services:
308 - endpoint: internal
309 service: oslo_messaging
310 - endpoint: internal
311 service: oslo_db
312 - endpoint: internal
313 service: identity
314 api_metadata:
315 jobs:
316 - nova-db-sync
317 - nova-ks-user
318 - nova-ks-endpoints
319 - nova-rabbit-init
320 services:
321 - endpoint: internal
322 service: oslo_messaging
323 - endpoint: internal
324 service: oslo_db
325 - endpoint: internal
326 service: identity
327 bootstrap:
328 services:
329 - endpoint: internal
330 service: identity
331 - endpoint: internal
332 service: compute
333 cell_setup:
334 jobs:
335 - nova-db-sync
336 - nova-rabbit-init
337 services:
338 - endpoint: internal
339 service: oslo_messaging
340 - endpoint: internal
341 service: oslo_db
342 - endpoint: internal
343 service: identity
344 - endpoint: internal
345 service: compute
346 pod:
347 - requireSameNode: false
348 labels:
349 application: nova
350 component: compute
351 service_cleaner:
352 jobs:
353 - nova-db-sync
354 - nova-rabbit-init
355 services:
356 - endpoint: internal
357 service: oslo_messaging
358 - endpoint: internal
359 service: oslo_db
360 - endpoint: internal
361 service: identity
362 - endpoint: internal
363 service: compute
364 compute:
365 pod:
366 - requireSameNode: true
367 labels:
368 application: libvirt
369 component: libvirt
370 jobs:
371 - nova-db-sync
372 - nova-rabbit-init
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500373 services:
374 - endpoint: internal
375 service: oslo_messaging
376 - endpoint: internal
377 service: image
378 - endpoint: internal
379 service: compute
380 - endpoint: internal
381 service: network
382 - endpoint: internal
383 service: compute_metadata
384 compute_ironic:
385 jobs:
386 - nova-db-sync
387 - nova-rabbit-init
388 services:
389 - endpoint: internal
390 service: oslo_messaging
391 - endpoint: internal
392 service: image
393 - endpoint: internal
394 service: compute
395 - endpoint: internal
396 service: network
397 - endpoint: internal
398 service: baremetal
399 conductor:
400 jobs:
401 - nova-db-sync
402 - nova-rabbit-init
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500403 services:
404 - endpoint: internal
405 service: oslo_messaging
406 - endpoint: internal
407 service: oslo_db
408 - endpoint: internal
409 service: identity
410 - endpoint: internal
411 service: compute
412 db_drop:
413 services:
414 - endpoint: internal
415 service: oslo_db
416 archive_deleted_rows:
417 jobs:
418 - nova-db-init
419 - nova-db-sync
420 db_init:
421 services:
422 - endpoint: internal
423 service: oslo_db
424 db_sync:
425 jobs:
426 - nova-db-init
427 services:
428 - endpoint: internal
429 service: oslo_db
430 ks_endpoints:
431 jobs:
432 - nova-ks-service
433 services:
434 - endpoint: internal
435 service: identity
436 ks_service:
437 services:
438 - endpoint: internal
439 service: identity
440 ks_user:
441 services:
442 - endpoint: internal
443 service: identity
444 rabbit_init:
445 services:
446 - service: oslo_messaging
447 endpoint: internal
448 novncproxy:
449 jobs:
450 - nova-db-sync
451 services:
452 - endpoint: internal
453 service: oslo_db
454 spiceproxy:
455 jobs:
456 - nova-db-sync
457 services:
458 - endpoint: internal
459 service: oslo_db
460 scheduler:
461 jobs:
462 - nova-db-sync
463 - nova-rabbit-init
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500464 services:
465 - endpoint: internal
466 service: oslo_messaging
467 - endpoint: internal
468 service: oslo_db
469 - endpoint: internal
470 service: identity
471 - endpoint: internal
472 service: compute
473 tests:
474 services:
475 - endpoint: internal
476 service: image
477 - endpoint: internal
478 service: compute
479 - endpoint: internal
480 service: network
481 - endpoint: internal
482 service: compute_metadata
483 image_repo_sync:
484 services:
485 - endpoint: internal
486 service: local_image_registry
487
488console:
489 # serial | spice | novnc | none
490 console_kind: novnc
491 serial:
492 spice:
493 compute:
494 # IF blank, search default routing interface
495 server_proxyclient_interface:
496 proxy:
497 # IF blank, search default routing interface
498 server_proxyclient_interface:
499 novnc:
500 compute:
501 # IF blank, search default routing interface
502 vncserver_proxyclient_interface:
503 vncproxy:
504 # IF blank, search default routing interface
505 vncserver_proxyclient_interface:
506
507ceph_client:
508 configmap: ceph-etc
509 user_secret_name: pvc-ceph-client-key
510
511conf:
512 security: |
513 #
514 # Disable access to the entire file system except for the directories that
515 # are explicitly allowed later.
516 #
517 # This currently breaks the configurations that come with some web application
518 # Debian packages.
519 #
520 #<Directory />
521 # AllowOverride None
522 # Require all denied
523 #</Directory>
524
525 # Changing the following options will not really affect the security of the
526 # server, but might make attacks slightly more difficult in some cases.
527
528 #
529 # ServerTokens
530 # This directive configures what you return as the Server HTTP response
531 # Header. The default is 'Full' which sends information about the OS-Type
532 # and compiled in modules.
533 # Set to one of: Full | OS | Minimal | Minor | Major | Prod
534 # where Full conveys the most information, and Prod the least.
535 ServerTokens Prod
536
537 #
538 # Optionally add a line containing the server version and virtual host
539 # name to server-generated pages (internal error documents, FTP directory
540 # listings, mod_status and mod_info output etc., but not CGI generated
541 # documents or custom error documents).
542 # Set to "EMail" to also include a mailto: link to the ServerAdmin.
543 # Set to one of: On | Off | EMail
544 ServerSignature Off
545
546 #
547 # Allow TRACE method
548 #
549 # Set to "extended" to also reflect the request body (only for testing and
550 # diagnostic purposes).
551 #
552 # Set to one of: On | Off | extended
553 TraceEnable Off
554
555 #
556 # Forbid access to version control directories
557 #
558 # If you use version control systems in your document root, you should
559 # probably deny access to their directories. For example, for subversion:
560 #
561 #<DirectoryMatch "/\.svn">
562 # Require all denied
563 #</DirectoryMatch>
564
565 #
566 # Setting this header will prevent MSIE from interpreting files as something
567 # else than declared by the content type in the HTTP headers.
568 # Requires mod_headers to be enabled.
569 #
570 #Header set X-Content-Type-Options: "nosniff"
571
572 #
573 # Setting this header will prevent other sites from embedding pages from this
574 # site as frames. This defends against clickjacking attacks.
575 # Requires mod_headers to be enabled.
576 #
577 #Header set X-Frame-Options: "sameorigin"
578 software:
579 apache2:
580 binary: apache2
581 start_parameters: -DFOREGROUND
582 conf_dir: /etc/apache2/conf-enabled
583 site_dir: /etc/apache2/sites-enable
584 mods_dir: /etc/apache2/mods-available
585 a2enmod: null
586 a2dismod: null
587 ceph:
588 enabled: true
589 admin_keyring: null
590 cinder:
591 user: "cinder"
592 keyring: null
593 secret_uuid: 457eb676-33da-42ec-9a8c-9293d545c337
594 rally_tests:
595 run_tempest: false
596 clean_up: |
597 FLAVORS=$(openstack flavor list -f value --all | awk '$2 ~ /^s_rally_/ { print $1 }')
598 if [ -n "$FLAVORS" ]; then
599 echo $FLAVORS | xargs openstack flavor delete
600 fi
601 SERVERS=$(openstack server list -f value --all | awk '$2 ~ /^s_rally_/ { print $1 }')
602 if [ -n "$SERVERS" ]; then
603 echo $SERVERS | xargs openstack server delete
604 fi
605 IMAGES=$(openstack image list -f value | awk '$2 ~ /^c_rally_/ { print $1 }')
606 if [ -n "$IMAGES" ]; then
607 echo $IMAGES | xargs openstack image delete
608 fi
609 tests:
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500610 NovaAggregates.create_and_get_aggregate_details:
611 - args:
612 availability_zone: nova
613 runner:
614 concurrency: 1
615 times: 1
616 type: constant
617 sla:
618 failure_rate:
619 max: 0
620 NovaAggregates.create_and_update_aggregate:
621 - args:
622 availability_zone: nova
623 runner:
624 concurrency: 1
625 times: 1
626 type: constant
627 sla:
628 failure_rate:
629 max: 0
630 NovaAggregates.list_aggregates:
631 - runner:
632 concurrency: 1
633 times: 1
634 type: constant
635 sla:
636 failure_rate:
637 max: 0
638 NovaAvailabilityZones.list_availability_zones:
639 - args:
640 detailed: true
641 runner:
642 concurrency: 1
643 times: 1
644 type: constant
645 sla:
646 failure_rate:
647 max: 0
648 NovaFlavors.create_and_delete_flavor:
649 - args:
650 disk: 1
651 ram: 500
652 vcpus: 1
653 runner:
654 concurrency: 1
655 times: 1
656 type: constant
657 sla:
658 failure_rate:
659 max: 0
660 NovaFlavors.create_and_list_flavor_access:
661 - args:
662 disk: 1
663 ram: 500
664 vcpus: 1
665 runner:
666 concurrency: 1
667 times: 1
668 type: constant
669 sla:
670 failure_rate:
671 max: 0
672 NovaFlavors.create_flavor:
673 - args:
674 disk: 1
675 ram: 500
676 vcpus: 1
677 runner:
678 concurrency: 1
679 times: 1
680 type: constant
681 sla:
682 failure_rate:
683 max: 0
684 NovaFlavors.create_flavor_and_add_tenant_access:
685 - args:
686 disk: 1
687 ram: 500
688 vcpus: 1
689 runner:
690 concurrency: 1
691 times: 1
692 type: constant
693 sla:
694 failure_rate:
695 max: 0
696 NovaFlavors.create_flavor_and_set_keys:
697 - args:
698 disk: 1
699 extra_specs:
700 'quota:disk_read_bytes_sec': 10240
701 ram: 500
702 vcpus: 1
703 runner:
704 concurrency: 1
705 times: 1
706 type: constant
707 sla:
708 failure_rate:
709 max: 0
710 NovaFlavors.list_flavors:
711 - args:
712 detailed: true
713 runner:
714 concurrency: 1
715 times: 1
716 type: constant
717 sla:
718 failure_rate:
719 max: 0
720 NovaHypervisors.list_and_get_hypervisors:
721 - args:
722 detailed: true
723 runner:
724 concurrency: 1
725 times: 1
726 type: constant
727 sla:
728 failure_rate:
729 max: 0
730 NovaHypervisors.list_and_get_uptime_hypervisors:
731 - args:
732 detailed: true
733 runner:
734 concurrency: 1
735 times: 1
736 type: constant
737 sla:
738 failure_rate:
739 max: 0
740 NovaHypervisors.list_and_search_hypervisors:
741 - args:
742 detailed: true
743 runner:
744 concurrency: 1
745 times: 1
746 type: constant
747 sla:
748 failure_rate:
749 max: 0
750 NovaHypervisors.list_hypervisors:
751 - args:
752 detailed: true
753 runner:
754 concurrency: 1
755 times: 1
756 type: constant
757 sla:
758 failure_rate:
759 max: 0
760 NovaHypervisors.statistics_hypervisors:
761 - args: {}
762 runner:
763 concurrency: 1
764 times: 1
765 type: constant
766 sla:
767 failure_rate:
768 max: 0
769 NovaKeypair.create_and_delete_keypair:
770 - runner:
771 concurrency: 1
772 times: 1
773 type: constant
774 sla:
775 failure_rate:
776 max: 0
777 NovaKeypair.create_and_list_keypairs:
778 - runner:
779 concurrency: 1
780 times: 1
781 type: constant
782 sla:
783 failure_rate:
784 max: 0
785 NovaServerGroups.create_and_list_server_groups:
786 - args:
787 all_projects: false
788 kwargs:
789 policies:
790 - affinity
791 runner:
792 concurrency: 1
793 times: 1
794 type: constant
795 sla:
796 failure_rate:
797 max: 0
798 NovaServices.list_services:
799 - runner:
800 concurrency: 1
801 times: 1
802 type: constant
803 sla:
804 failure_rate:
805 max: 0
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200806 paste: {}
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500807 policy: {}
808 nova_sudoers: |
809 # This sudoers file supports rootwrap for both Kolla and LOCI Images.
810 Defaults !requiretty
811 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"
812 nova ALL = (root) NOPASSWD: /var/lib/kolla/venv/bin/nova-rootwrap /etc/nova/rootwrap.conf *, /var/lib/openstack/bin/nova-rootwrap /etc/nova/rootwrap.conf *
813 api_audit_map:
814 DEFAULT:
815 target_endpoint_type: None
816 custom_actions:
817 enable: enable
818 disable: disable
819 delete: delete
820 startup: start/startup
821 shutdown: stop/shutdown
822 reboot: start/reboot
823 os-migrations/get: read
824 os-server-password/post: update
825 path_keywords:
826 add: None
827 action: None
828 enable: None
829 disable: None
830 configure-project: None
831 defaults: None
832 delete: None
833 detail: None
834 diagnostics: None
835 entries: entry
836 extensions: alias
837 flavors: flavor
838 images: image
839 ips: label
840 limits: None
841 metadata: key
842 os-agents: os-agent
843 os-aggregates: os-aggregate
844 os-availability-zone: None
845 os-certificates: None
846 os-cloudpipe: None
847 os-fixed-ips: ip
848 os-extra_specs: key
849 os-flavor-access: None
850 os-floating-ip-dns: domain
851 os-floating-ips-bulk: host
852 os-floating-ip-pools: None
853 os-floating-ips: floating-ip
854 os-hosts: host
855 os-hypervisors: hypervisor
856 os-instance-actions: instance-action
857 os-keypairs: keypair
858 os-migrations: None
859 os-networks: network
860 os-quota-sets: tenant
861 os-security-groups: security_group
862 os-security-group-rules: rule
863 os-server-password: None
864 os-services: None
865 os-simple-tenant-usage: tenant
866 os-virtual-interfaces: None
867 os-volume_attachments: attachment
868 os-volumes_boot: None
869 os-volumes: volume
870 os-volume-types: volume-type
871 os-snapshots: snapshot
872 reboot: None
873 servers: server
874 shutdown: None
875 startup: None
876 statistics: None
877 service_endpoints:
878 compute: service/compute
879 rootwrap: |
880 # Configuration for nova-rootwrap
881 # This file should be owned by (and only-writeable by) the root user
882
883 [DEFAULT]
884 # List of directories to load filter definitions from (separated by ',').
885 # These directories MUST all be only writeable by root !
886 filters_path=/etc/nova/rootwrap.d,/usr/share/nova/rootwrap
887
888 # List of directories to search executables in, in case filters do not
889 # explicitely specify a full path (separated by ',')
890 # If not specified, defaults to system PATH environment variable.
891 # These directories MUST all be only writeable by root !
892 exec_dirs=/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin,/var/lib/openstack/bin,/var/lib/kolla/venv/bin
893
894 # Enable logging to syslog
895 # Default value is False
896 use_syslog=False
897
898 # Which syslog facility to use.
899 # Valid values include auth, authpriv, syslog, local0, local1...
900 # Default value is 'syslog'
901 syslog_log_facility=syslog
902
903 # Which messages to log.
904 # INFO means log all usage
905 # ERROR means only log unsuccessful attempts
906 syslog_log_level=ERROR
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500907 rootwrap_filters:
908 api_metadata:
909 pods:
910 - metadata
911 content: |
912 # nova-rootwrap command filters for api-metadata nodes
913 # This is needed on nova-api hosts running with "metadata" in enabled_apis
914 # or when running nova-api-metadata
915 # This file should be owned by (and only-writeable by) the root user
916
917 [Filters]
918 # nova/network/linux_net.py: 'ip[6]tables-save' % (cmd, '-t', ...
919 iptables-save: CommandFilter, iptables-save, root
920 ip6tables-save: CommandFilter, ip6tables-save, root
921
922 # nova/network/linux_net.py: 'ip[6]tables-restore' % (cmd,)
923 iptables-restore: CommandFilter, iptables-restore, root
924 ip6tables-restore: CommandFilter, ip6tables-restore, root
925 compute:
926 pods:
927 - compute
928 content: |
929 # nova-rootwrap command filters for compute nodes
930 # This file should be owned by (and only-writeable by) the root user
931
932 [Filters]
933 # nova/virt/disk/mount/api.py: 'kpartx', '-a', device
934 # nova/virt/disk/mount/api.py: 'kpartx', '-d', device
935 kpartx: CommandFilter, kpartx, root
936
937 # nova/virt/xenapi/vm_utils.py: tune2fs, -O ^has_journal, part_path
938 # nova/virt/xenapi/vm_utils.py: tune2fs, -j, partition_path
939 tune2fs: CommandFilter, tune2fs, root
940
941 # nova/virt/disk/mount/api.py: 'mount', mapped_device
942 # nova/virt/disk/api.py: 'mount', '-o', 'bind', src, target
943 # nova/virt/xenapi/vm_utils.py: 'mount', '-t', 'ext2,ext3,ext4,reiserfs'..
944 # nova/virt/configdrive.py: 'mount', device, mountdir
945 # nova/virt/libvirt/volume.py: 'mount', '-t', 'sofs' ...
946 mount: CommandFilter, mount, root
947
948 # nova/virt/disk/mount/api.py: 'umount', mapped_device
949 # nova/virt/disk/api.py: 'umount' target
950 # nova/virt/xenapi/vm_utils.py: 'umount', dev_path
951 # nova/virt/configdrive.py: 'umount', mountdir
952 umount: CommandFilter, umount, root
953
954 # nova/virt/disk/mount/nbd.py: 'qemu-nbd', '-c', device, image
955 # nova/virt/disk/mount/nbd.py: 'qemu-nbd', '-d', device
956 qemu-nbd: CommandFilter, qemu-nbd, root
957
958 # nova/virt/disk/mount/loop.py: 'losetup', '--find', '--show', image
959 # nova/virt/disk/mount/loop.py: 'losetup', '--detach', device
960 losetup: CommandFilter, losetup, root
961
962 # nova/virt/disk/vfs/localfs.py: 'blkid', '-o', 'value', '-s', 'TYPE', device
963 blkid: CommandFilter, blkid, root
964
965 # nova/virt/libvirt/utils.py: 'blockdev', '--getsize64', path
966 # nova/virt/disk/mount/nbd.py: 'blockdev', '--flushbufs', device
967 blockdev: RegExpFilter, blockdev, root, blockdev, (--getsize64|--flushbufs), /dev/.*
968
969 # nova/virt/disk/vfs/localfs.py: 'tee', canonpath
970 tee: CommandFilter, tee, root
971
972 # nova/virt/disk/vfs/localfs.py: 'mkdir', canonpath
973 mkdir: CommandFilter, mkdir, root
974
975 # nova/virt/disk/vfs/localfs.py: 'chown'
976 # nova/virt/libvirt/connection.py: 'chown', os.getuid( console_log
977 # nova/virt/libvirt/connection.py: 'chown', os.getuid( console_log
978 # nova/virt/libvirt/connection.py: 'chown', 'root', basepath('disk')
979 chown: CommandFilter, chown, root
980
981 # nova/virt/disk/vfs/localfs.py: 'chmod'
982 chmod: CommandFilter, chmod, root
983
984 # nova/virt/libvirt/vif.py: 'ip', 'tuntap', 'add', dev, 'mode', 'tap'
985 # nova/virt/libvirt/vif.py: 'ip', 'link', 'set', dev, 'up'
986 # nova/virt/libvirt/vif.py: 'ip', 'link', 'delete', dev
987 # nova/network/linux_net.py: 'ip', 'addr', 'add', str(floating_ip)+'/32'i..
988 # nova/network/linux_net.py: 'ip', 'addr', 'del', str(floating_ip)+'/32'..
989 # nova/network/linux_net.py: 'ip', 'addr', 'add', '169.254.169.254/32',..
990 # nova/network/linux_net.py: 'ip', 'addr', 'show', 'dev', dev, 'scope',..
991 # nova/network/linux_net.py: 'ip', 'addr', 'del/add', ip_params, dev)
992 # nova/network/linux_net.py: 'ip', 'addr', 'del', params, fields[-1]
993 # nova/network/linux_net.py: 'ip', 'addr', 'add', params, bridge
994 # nova/network/linux_net.py: 'ip', '-f', 'inet6', 'addr', 'change', ..
995 # nova/network/linux_net.py: 'ip', 'link', 'set', 'dev', dev, 'promisc',..
996 # nova/network/linux_net.py: 'ip', 'link', 'add', 'link', bridge_if ...
997 # nova/network/linux_net.py: 'ip', 'link', 'set', interface, address,..
998 # nova/network/linux_net.py: 'ip', 'link', 'set', interface, 'up'
999 # nova/network/linux_net.py: 'ip', 'link', 'set', bridge, 'up'
1000 # nova/network/linux_net.py: 'ip', 'addr', 'show', 'dev', interface, ..
1001 # nova/network/linux_net.py: 'ip', 'link', 'set', dev, address, ..
1002 # nova/network/linux_net.py: 'ip', 'link', 'set', dev, 'up'
1003 # nova/network/linux_net.py: 'ip', 'route', 'add', ..
1004 # nova/network/linux_net.py: 'ip', 'route', 'del', .
1005 # nova/network/linux_net.py: 'ip', 'route', 'show', 'dev', dev
1006 ip: CommandFilter, ip, root
1007
1008 # nova/virt/libvirt/vif.py: 'tunctl', '-b', '-t', dev
1009 # nova/network/linux_net.py: 'tunctl', '-b', '-t', dev
1010 tunctl: CommandFilter, tunctl, root
1011
1012 # nova/virt/libvirt/vif.py: 'ovs-vsctl', ...
1013 # nova/virt/libvirt/vif.py: 'ovs-vsctl', 'del-port', ...
1014 # nova/network/linux_net.py: 'ovs-vsctl', ....
1015 ovs-vsctl: CommandFilter, ovs-vsctl, root
1016
1017 # nova/virt/libvirt/vif.py: 'vrouter-port-control', ...
1018 vrouter-port-control: CommandFilter, vrouter-port-control, root
1019
1020 # nova/virt/libvirt/vif.py: 'ebrctl', ...
1021 ebrctl: CommandFilter, ebrctl, root
1022
1023 # nova/virt/libvirt/vif.py: 'mm-ctl', ...
1024 mm-ctl: CommandFilter, mm-ctl, root
1025
1026 # nova/network/linux_net.py: 'ovs-ofctl', ....
1027 ovs-ofctl: CommandFilter, ovs-ofctl, root
1028
1029 # nova/virt/libvirt/connection.py: 'dd', if=%s % virsh_output, ...
1030 dd: CommandFilter, dd, root
1031
1032 # nova/virt/xenapi/volume_utils.py: 'iscsiadm', '-m', ...
1033 iscsiadm: CommandFilter, iscsiadm, root
1034
1035 # nova/virt/libvirt/volume/aoe.py: 'aoe-revalidate', aoedev
1036 # nova/virt/libvirt/volume/aoe.py: 'aoe-discover'
1037 aoe-revalidate: CommandFilter, aoe-revalidate, root
1038 aoe-discover: CommandFilter, aoe-discover, root
1039
1040 # nova/virt/xenapi/vm_utils.py: parted, --script, ...
1041 # nova/virt/xenapi/vm_utils.py: 'parted', '--script', dev_path, ..*.
1042 parted: CommandFilter, parted, root
1043
1044 # nova/virt/xenapi/vm_utils.py: 'pygrub', '-qn', dev_path
1045 pygrub: CommandFilter, pygrub, root
1046
1047 # nova/virt/xenapi/vm_utils.py: fdisk %(dev_path)s
1048 fdisk: CommandFilter, fdisk, root
1049
1050 # nova/virt/xenapi/vm_utils.py: e2fsck, -f, -p, partition_path
1051 # nova/virt/disk/api.py: e2fsck, -f, -p, image
1052 e2fsck: CommandFilter, e2fsck, root
1053
1054 # nova/virt/xenapi/vm_utils.py: resize2fs, partition_path
1055 # nova/virt/disk/api.py: resize2fs, image
1056 resize2fs: CommandFilter, resize2fs, root
1057
1058 # nova/network/linux_net.py: 'ip[6]tables-save' % (cmd, '-t', ...
1059 iptables-save: CommandFilter, iptables-save, root
1060 ip6tables-save: CommandFilter, ip6tables-save, root
1061
1062 # nova/network/linux_net.py: 'ip[6]tables-restore' % (cmd,)
1063 iptables-restore: CommandFilter, iptables-restore, root
1064 ip6tables-restore: CommandFilter, ip6tables-restore, root
1065
1066 # nova/network/linux_net.py: 'arping', '-U', floating_ip, '-A', '-I', ...
1067 # nova/network/linux_net.py: 'arping', '-U', network_ref['dhcp_server'],..
1068 arping: CommandFilter, arping, root
1069
1070 # nova/network/linux_net.py: 'dhcp_release', dev, address, mac_address
1071 dhcp_release: CommandFilter, dhcp_release, root
1072
1073 # nova/network/linux_net.py: 'kill', '-9', pid
1074 # nova/network/linux_net.py: 'kill', '-HUP', pid
1075 kill_dnsmasq: KillFilter, root, /usr/sbin/dnsmasq, -9, -HUP
1076
1077 # nova/network/linux_net.py: 'kill', pid
1078 kill_radvd: KillFilter, root, /usr/sbin/radvd
1079
1080 # nova/network/linux_net.py: dnsmasq call
1081 dnsmasq: EnvFilter, env, root, CONFIG_FILE=, NETWORK_ID=, dnsmasq
1082
1083 # nova/network/linux_net.py: 'radvd', '-C', '%s' % _ra_file(dev, 'conf'..
1084 radvd: CommandFilter, radvd, root
1085
1086 # nova/network/linux_net.py: 'brctl', 'addbr', bridge
1087 # nova/network/linux_net.py: 'brctl', 'setfd', bridge, 0
1088 # nova/network/linux_net.py: 'brctl', 'stp', bridge, 'off'
1089 # nova/network/linux_net.py: 'brctl', 'addif', bridge, interface
1090 brctl: CommandFilter, brctl, root
1091
1092 # nova/virt/libvirt/utils.py: 'mkswap'
1093 # nova/virt/xenapi/vm_utils.py: 'mkswap'
1094 mkswap: CommandFilter, mkswap, root
1095
1096 # nova/virt/libvirt/utils.py: 'nova-idmapshift'
1097 nova-idmapshift: CommandFilter, nova-idmapshift, root
1098
1099 # nova/virt/xenapi/vm_utils.py: 'mkfs'
1100 # nova/utils.py: 'mkfs', fs, path, label
1101 mkfs: CommandFilter, mkfs, root
1102
1103 # nova/virt/libvirt/utils.py: 'qemu-img'
1104 qemu-img: CommandFilter, qemu-img, root
1105
1106 # nova/virt/disk/vfs/localfs.py: 'readlink', '-e'
1107 readlink: CommandFilter, readlink, root
1108
1109 # nova/virt/disk/api.py:
1110 mkfs.ext3: CommandFilter, mkfs.ext3, root
1111 mkfs.ext4: CommandFilter, mkfs.ext4, root
1112 mkfs.ntfs: CommandFilter, mkfs.ntfs, root
1113
1114 # nova/virt/libvirt/connection.py:
1115 lvremove: CommandFilter, lvremove, root
1116
1117 # nova/virt/libvirt/utils.py:
1118 lvcreate: CommandFilter, lvcreate, root
1119
1120 # nova/virt/libvirt/utils.py:
1121 lvs: CommandFilter, lvs, root
1122
1123 # nova/virt/libvirt/utils.py:
1124 vgs: CommandFilter, vgs, root
1125
1126 # nova/utils.py:read_file_as_root: 'cat', file_path
1127 # (called from nova/virt/disk/vfs/localfs.py:VFSLocalFS.read_file)
1128 read_passwd: RegExpFilter, cat, root, cat, (/var|/usr)?/tmp/openstack-vfs-localfs[^/]+/etc/passwd
1129 read_shadow: RegExpFilter, cat, root, cat, (/var|/usr)?/tmp/openstack-vfs-localfs[^/]+/etc/shadow
1130
1131 # os-brick needed commands
1132 read_initiator: ReadFileFilter, /etc/iscsi/initiatorname.iscsi
1133 multipath: CommandFilter, multipath, root
1134 # multipathd show status
1135 multipathd: CommandFilter, multipathd, root
1136 systool: CommandFilter, systool, root
1137 vgc-cluster: CommandFilter, vgc-cluster, root
1138 # os_brick/initiator/connector.py
1139 drv_cfg: CommandFilter, /opt/emc/scaleio/sdc/bin/drv_cfg, root, /opt/emc/scaleio/sdc/bin/drv_cfg, --query_guid
1140
1141 # TODO(smcginnis) Temporary fix.
1142 # Need to pull in os-brick os-brick.filters file instead and clean
1143 # out stale brick values from this file.
1144 scsi_id: CommandFilter, /lib/udev/scsi_id, root
1145 # os_brick.privileged.default oslo.privsep context
1146 # This line ties the superuser privs with the config files, context name,
1147 # and (implicitly) the actual python code invoked.
1148 privsep-rootwrap: RegExpFilter, privsep-helper, root, privsep-helper, --config-file, /etc/(?!\.\.).*, --privsep_context, os_brick.privileged.default, --privsep_sock_path, /tmp/.*
1149
1150 # nova/storage/linuxscsi.py: sg_scan device
1151 sg_scan: CommandFilter, sg_scan, root
1152
1153 # nova/volume/encryptors/cryptsetup.py:
1154 # nova/volume/encryptors/luks.py:
1155 ln: RegExpFilter, ln, root, ln, --symbolic, --force, /dev/mapper/crypt-.+, .+
1156
1157 # nova/volume/encryptors.py:
1158 # nova/virt/libvirt/dmcrypt.py:
1159 cryptsetup: CommandFilter, cryptsetup, root
1160
1161 # nova/virt/xenapi/vm_utils.py:
1162 xenstore-read: CommandFilter, xenstore-read, root
1163
1164 # nova/virt/libvirt/utils.py:
1165 rbd: CommandFilter, rbd, root
1166
1167 # nova/virt/libvirt/utils.py: 'shred', '-n3', '-s%d' % volume_size, path
1168 shred: CommandFilter, shred, root
1169
1170 # nova/virt/libvirt/volume.py: 'cp', '/dev/stdin', delete_control..
1171 cp: CommandFilter, cp, root
1172
1173 # nova/virt/xenapi/vm_utils.py:
1174 sync: CommandFilter, sync, root
1175
1176 # nova/virt/libvirt/imagebackend.py:
1177 ploop: RegExpFilter, ploop, root, ploop, restore-descriptor, .*
1178 prl_disk_tool: RegExpFilter, prl_disk_tool, root, prl_disk_tool, resize, --size, .*M$, --resize_partition, --hdd, .*
1179
1180 # nova/virt/libvirt/utils.py: 'xend', 'status'
1181 xend: CommandFilter, xend, root
1182
1183 # nova/virt/libvirt/utils.py:
1184 touch: CommandFilter, touch, root
1185
1186 # nova/virt/libvirt/volume/vzstorage.py
1187 pstorage-mount: CommandFilter, pstorage-mount, root
1188 network:
1189 pods:
1190 - compute
1191 content: |
1192 # nova-rootwrap command filters for network nodes
1193 # This file should be owned by (and only-writeable by) the root user
1194
1195 [Filters]
1196 # nova/virt/libvirt/vif.py: 'ip', 'tuntap', 'add', dev, 'mode', 'tap'
1197 # nova/virt/libvirt/vif.py: 'ip', 'link', 'set', dev, 'up'
1198 # nova/virt/libvirt/vif.py: 'ip', 'link', 'delete', dev
1199 # nova/network/linux_net.py: 'ip', 'addr', 'add', str(floating_ip)+'/32'i..
1200 # nova/network/linux_net.py: 'ip', 'addr', 'del', str(floating_ip)+'/32'..
1201 # nova/network/linux_net.py: 'ip', 'addr', 'add', '169.254.169.254/32',..
1202 # nova/network/linux_net.py: 'ip', 'addr', 'show', 'dev', dev, 'scope',..
1203 # nova/network/linux_net.py: 'ip', 'addr', 'del/add', ip_params, dev)
1204 # nova/network/linux_net.py: 'ip', 'addr', 'del', params, fields[-1]
1205 # nova/network/linux_net.py: 'ip', 'addr', 'add', params, bridge
1206 # nova/network/linux_net.py: 'ip', '-f', 'inet6', 'addr', 'change', ..
1207 # nova/network/linux_net.py: 'ip', 'link', 'set', 'dev', dev, 'promisc',..
1208 # nova/network/linux_net.py: 'ip', 'link', 'add', 'link', bridge_if ...
1209 # nova/network/linux_net.py: 'ip', 'link', 'set', interface, address,..
1210 # nova/network/linux_net.py: 'ip', 'link', 'set', interface, 'up'
1211 # nova/network/linux_net.py: 'ip', 'link', 'set', bridge, 'up'
1212 # nova/network/linux_net.py: 'ip', 'addr', 'show', 'dev', interface, ..
1213 # nova/network/linux_net.py: 'ip', 'link', 'set', dev, address, ..
1214 # nova/network/linux_net.py: 'ip', 'link', 'set', dev, 'up'
1215 # nova/network/linux_net.py: 'ip', 'route', 'add', ..
1216 # nova/network/linux_net.py: 'ip', 'route', 'del', .
1217 # nova/network/linux_net.py: 'ip', 'route', 'show', 'dev', dev
1218 ip: CommandFilter, ip, root
1219
1220 # nova/virt/libvirt/vif.py: 'ovs-vsctl', ...
1221 # nova/virt/libvirt/vif.py: 'ovs-vsctl', 'del-port', ...
1222 # nova/network/linux_net.py: 'ovs-vsctl', ....
1223 ovs-vsctl: CommandFilter, ovs-vsctl, root
1224
1225 # nova/network/linux_net.py: 'ovs-ofctl', ....
1226 ovs-ofctl: CommandFilter, ovs-ofctl, root
1227
1228 # nova/virt/libvirt/vif.py: 'ivs-ctl', ...
1229 # nova/virt/libvirt/vif.py: 'ivs-ctl', 'del-port', ...
1230 # nova/network/linux_net.py: 'ivs-ctl', ....
1231 ivs-ctl: CommandFilter, ivs-ctl, root
1232
1233 # nova/virt/libvirt/vif.py: 'ifc_ctl', ...
1234 ifc_ctl: CommandFilter, /opt/pg/bin/ifc_ctl, root
1235
1236 # nova/network/linux_net.py: 'ebtables', '-D' ...
1237 # nova/network/linux_net.py: 'ebtables', '-I' ...
1238 ebtables: CommandFilter, ebtables, root
1239 ebtables_usr: CommandFilter, ebtables, root
1240
1241 # nova/network/linux_net.py: 'ip[6]tables-save' % (cmd, '-t', ...
1242 iptables-save: CommandFilter, iptables-save, root
1243 ip6tables-save: CommandFilter, ip6tables-save, root
1244
1245 # nova/network/linux_net.py: 'ip[6]tables-restore' % (cmd,)
1246 iptables-restore: CommandFilter, iptables-restore, root
1247 ip6tables-restore: CommandFilter, ip6tables-restore, root
1248
1249 # nova/network/linux_net.py: 'arping', '-U', floating_ip, '-A', '-I', ...
1250 # nova/network/linux_net.py: 'arping', '-U', network_ref['dhcp_server'],..
1251 arping: CommandFilter, arping, root
1252
1253 # nova/network/linux_net.py: 'dhcp_release', dev, address, mac_address
1254 dhcp_release: CommandFilter, dhcp_release, root
1255
1256 # nova/network/linux_net.py: 'kill', '-9', pid
1257 # nova/network/linux_net.py: 'kill', '-HUP', pid
1258 kill_dnsmasq: KillFilter, root, /usr/sbin/dnsmasq, -9, -HUP
1259
1260 # nova/network/linux_net.py: 'kill', pid
1261 kill_radvd: KillFilter, root, /usr/sbin/radvd
1262
1263 # nova/network/linux_net.py: dnsmasq call
1264 dnsmasq: EnvFilter, env, root, CONFIG_FILE=, NETWORK_ID=, dnsmasq
1265
1266 # nova/network/linux_net.py: 'radvd', '-C', '%s' % _ra_file(dev, 'conf'..
1267 radvd: CommandFilter, radvd, root
1268
1269 # nova/network/linux_net.py: 'brctl', 'addbr', bridge
1270 # nova/network/linux_net.py: 'brctl', 'setfd', bridge, 0
1271 # nova/network/linux_net.py: 'brctl', 'stp', bridge, 'off'
1272 # nova/network/linux_net.py: 'brctl', 'addif', bridge, interface
1273 brctl: CommandFilter, brctl, root
1274
1275 # nova/network/linux_net.py: 'sysctl', ....
1276 sysctl: CommandFilter, sysctl, root
1277
1278 # nova/network/linux_net.py: 'conntrack'
1279 conntrack: CommandFilter, conntrack, root
1280
1281 # nova/network/linux_net.py: 'fp-vdev'
1282 fp-vdev: CommandFilter, fp-vdev, root
1283 nova_ironic:
1284 DEFAULT:
1285 scheduler_host_manager: ironic_host_manager
1286 compute_driver: ironic.IronicDriver
1287 ram_allocation_ratio: 1.0
1288 cpu_allocation_ratio: 1.0
1289 reserved_host_memory_mb: 0
1290 libvirt:
1291 # Get the IP address to be used as the target for live migration traffic using interface name.
1292 # If this option is set to None, the hostname of the migration target compute node will be used.
1293 live_migration_interface:
1294 hypervisor:
1295 # my_ip can be set automatically through this interface name.
1296 host_interface:
1297 # This list is the keys to exclude from the config file ingested by nova-compute
1298 nova_compute_redactions:
1299 - database
1300 - api_database
1301 - cell0_database
1302 nova:
1303 DEFAULT:
1304 log_config_append: /etc/nova/logging.conf
1305 default_ephemeral_format: ext4
1306 ram_allocation_ratio: 1.0
1307 disk_allocation_ratio: 1.0
1308 cpu_allocation_ratio: 3.0
1309 state_path: /var/lib/nova
1310 osapi_compute_listen: 0.0.0.0
1311 # NOTE(portdirect): the bind port should not be defined, and is manipulated
1312 # via the endpoints section.
1313 osapi_compute_listen_port: null
1314 osapi_compute_workers: 1
1315 metadata_workers: 1
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001316 compute_driver: libvirt.LibvirtDriver
1317 my_ip: 0.0.0.0
1318 instance_usage_audit: True
1319 instance_usage_audit_period: hour
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001320 resume_guests_state_on_host_boot: True
1321 vnc:
Mohammed Naser56484d72023-07-10 17:08:26 -04001322 auth_schemes: none
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001323 novncproxy_host: 0.0.0.0
Mohammed Nasere4c14ad2023-03-24 19:50:39 +00001324 server_listen: 0.0.0.0
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001325 # This would be set by each compute nodes's ip
1326 # server_proxyclient_address: 127.0.0.1
1327 spice:
1328 html5proxy_host: 0.0.0.0
1329 server_listen: 0.0.0.0
1330 # This would be set by each compute nodes's ip
1331 # server_proxyclient_address: 127.0.0.1
1332 conductor:
1333 workers: 1
1334 oslo_policy:
1335 policy_file: /etc/nova/policy.yaml
1336 oslo_concurrency:
1337 lock_path: /var/lib/nova/tmp
1338 oslo_middleware:
1339 enable_proxy_headers_parsing: true
1340 glance:
1341 num_retries: 3
1342 ironic:
1343 api_endpoint: null
1344 auth_url: null
1345 neutron:
1346 metadata_proxy_shared_secret: "password"
1347 service_metadata_proxy: True
1348 auth_type: password
1349 auth_version: v3
okozachenko1203567fc082023-08-21 22:50:02 +10001350 cinder:
1351 catalog_info: volumev3::internalURL
1352 auth_url: null
1353 auth_type: password
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001354 database:
1355 max_retries: -1
1356 api_database:
1357 max_retries: -1
1358 cell0_database:
1359 max_retries: -1
1360 keystone_authtoken:
okozachenko1203567fc082023-08-21 22:50:02 +10001361 service_token_roles: service
1362 service_token_roles_required: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001363 auth_type: password
1364 auth_version: v3
1365 memcache_security_strategy: ENCRYPT
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001366 service_type: compute
Mohammed Naser0a13cee2023-03-02 11:28:29 +01001367 notifications:
1368 notify_on_state_change: vm_and_task_state
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001369 service_user:
1370 auth_type: password
okozachenko1203567fc082023-08-21 22:50:02 +10001371 send_service_user_token: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001372 libvirt:
1373 connection_uri: "qemu+unix:///system?socket=/run/libvirt/libvirt-sock"
1374 images_type: qcow2
1375 images_rbd_pool: vms
1376 images_rbd_ceph_conf: /etc/ceph/ceph.conf
1377 rbd_user: cinder
1378 rbd_secret_uuid: 457eb676-33da-42ec-9a8c-9293d545c337
1379 disk_cachemodes: "network=writeback"
1380 hw_disk_discard: unmap
1381 upgrade_levels:
1382 compute: auto
1383 cache:
1384 enabled: true
1385 backend: dogpile.cache.memcached
1386 wsgi:
1387 api_paste_config: /etc/nova/api-paste.ini
1388 oslo_messaging_notifications:
1389 driver: messagingv2
1390 oslo_messaging_rabbit:
1391 rabbit_ha_queues: true
1392 placement:
1393 auth_type: password
1394 auth_version: v3
1395 logging:
1396 loggers:
1397 keys:
1398 - root
1399 - nova
1400 - os.brick
1401 handlers:
1402 keys:
1403 - stdout
1404 - stderr
1405 - "null"
1406 formatters:
1407 keys:
1408 - context
1409 - default
1410 logger_root:
1411 level: WARNING
1412 handlers: 'null'
1413 logger_nova:
1414 level: INFO
1415 handlers:
1416 - stdout
1417 qualname: nova
1418 logger_os.brick:
1419 level: INFO
1420 handlers:
1421 - stdout
1422 qualname: os.brick
1423 logger_amqp:
1424 level: WARNING
1425 handlers: stderr
1426 qualname: amqp
1427 logger_amqplib:
1428 level: WARNING
1429 handlers: stderr
1430 qualname: amqplib
1431 logger_eventletwsgi:
1432 level: WARNING
1433 handlers: stderr
1434 qualname: eventlet.wsgi.server
1435 logger_sqlalchemy:
1436 level: WARNING
1437 handlers: stderr
1438 qualname: sqlalchemy
1439 logger_boto:
1440 level: WARNING
1441 handlers: stderr
1442 qualname: boto
1443 handler_null:
1444 class: logging.NullHandler
1445 formatter: default
1446 args: ()
1447 handler_stdout:
1448 class: StreamHandler
1449 args: (sys.stdout,)
1450 formatter: context
1451 handler_stderr:
1452 class: StreamHandler
1453 args: (sys.stderr,)
1454 formatter: context
1455 formatter_context:
1456 class: oslo_log.formatters.ContextFormatter
1457 datefmt: "%Y-%m-%d %H:%M:%S"
1458 formatter_default:
1459 format: "%(message)s"
1460 datefmt: "%Y-%m-%d %H:%M:%S"
1461 rabbitmq:
1462 # NOTE(rk760n): adding rmq policy to mirror messages from notification queues and set expiration time for the ones
1463 policies:
1464 - vhost: "nova"
1465 name: "ha_ttl_nova"
1466 definition:
1467 # mirror messges to other nodes in rmq cluster
1468 ha-mode: "all"
1469 ha-sync-mode: "automatic"
1470 # 70s
1471 message-ttl: 70000
1472 priority: 0
1473 apply-to: all
1474 pattern: '^(?!(amq\.|reply_)).*'
1475 enable_iscsi: false
1476 archive_deleted_rows:
1477 purge_deleted_rows: false
1478 until_completion: true
1479 all_cells: false
1480 max_rows:
1481 enabled: False
1482 rows: 1000
1483 before:
1484 enabled: false
1485 date: 'nil'
1486
1487# Names of secrets used by bootstrap and environmental checks
1488secrets:
1489 identity:
1490 admin: nova-keystone-admin
1491 nova: nova-keystone-user
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001492 test: nova-keystone-test
1493 oslo_db:
1494 admin: nova-db-admin
1495 nova: nova-db-user
1496 oslo_db_api:
1497 admin: nova-db-api-admin
1498 nova: nova-db-api-user
1499 oslo_db_cell0:
1500 admin: nova-db-cell0-admin
1501 nova: nova-db-cell0-user
1502 oslo_messaging:
1503 admin: nova-rabbitmq-admin
1504 nova: nova-rabbitmq-user
1505 tls:
1506 compute:
1507 osapi:
1508 public: nova-tls-public
1509 internal: nova-tls-api
1510 compute_novnc_proxy:
1511 novncproxy:
1512 public: nova-novncproxy-tls-public
1513 internal: nova-novncproxy-tls-proxy
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001514 compute_metadata:
1515 metadata:
1516 public: metadata-tls-public
1517 internal: metadata-tls-metadata
1518 compute_spice_proxy:
1519 spiceproxy:
1520 internal: nova-tls-spiceproxy
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001521 oci_image_registry:
1522 nova: nova-oci-image-registry
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001523
1524# typically overridden by environmental
1525# values, but should include all endpoints
1526# required by this chart
1527endpoints:
1528 cluster_domain_suffix: cluster.local
1529 local_image_registry:
1530 name: docker-registry
1531 namespace: docker-registry
1532 hosts:
1533 default: localhost
1534 internal: docker-registry
1535 node: localhost
1536 host_fqdn_override:
1537 default: null
1538 port:
1539 registry:
1540 node: 5000
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001541 oci_image_registry:
1542 name: oci-image-registry
1543 namespace: oci-image-registry
1544 auth:
1545 enabled: false
1546 nova:
1547 username: nova
1548 password: password
1549 hosts:
1550 default: localhost
1551 host_fqdn_override:
1552 default: null
1553 port:
1554 registry:
1555 default: null
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001556 oslo_db:
1557 auth:
1558 admin:
1559 username: root
1560 password: password
1561 secret:
1562 tls:
1563 internal: mariadb-tls-direct
1564 nova:
1565 username: nova
1566 password: password
1567 hosts:
1568 default: mariadb
1569 host_fqdn_override:
1570 default: null
1571 path: /nova
1572 scheme: mysql+pymysql
1573 port:
1574 mysql:
1575 default: 3306
1576 oslo_db_api:
1577 auth:
1578 admin:
1579 username: root
1580 password: password
1581 nova:
1582 username: nova
1583 password: password
1584 hosts:
1585 default: mariadb
1586 host_fqdn_override:
1587 default: null
1588 path: /nova_api
1589 scheme: mysql+pymysql
1590 port:
1591 mysql:
1592 default: 3306
1593 oslo_db_cell0:
1594 auth:
1595 admin:
1596 username: root
1597 password: password
1598 nova:
1599 username: nova
1600 password: password
1601 hosts:
1602 default: mariadb
1603 host_fqdn_override:
1604 default: null
1605 path: /nova_cell0
1606 scheme: mysql+pymysql
1607 port:
1608 mysql:
1609 default: 3306
1610 oslo_messaging:
1611 auth:
1612 admin:
1613 username: rabbitmq
1614 password: password
1615 secret:
1616 tls:
1617 internal: rabbitmq-tls-direct
1618 nova:
1619 username: nova
1620 password: password
1621 statefulset:
1622 replicas: 2
1623 name: rabbitmq-rabbitmq
1624 hosts:
1625 default: rabbitmq
1626 host_fqdn_override:
1627 default: null
1628 path: /nova
1629 scheme: rabbit
1630 port:
1631 amqp:
1632 default: 5672
1633 http:
1634 default: 15672
1635 oslo_cache:
1636 auth:
1637 # NOTE(portdirect): this is used to define the value for keystone
1638 # authtoken cache encryption key, if not set it will be populated
1639 # automatically with a random value, but to take advantage of
1640 # this feature all services should be set to use the same key,
1641 # and memcache service.
1642 memcache_secret_key: null
1643 hosts:
1644 default: memcached
1645 host_fqdn_override:
1646 default: null
1647 port:
1648 memcache:
1649 default: 11211
1650 identity:
1651 name: keystone
1652 auth:
1653 admin:
1654 region_name: RegionOne
1655 username: admin
1656 password: password
1657 project_name: admin
1658 user_domain_name: default
1659 project_domain_name: default
1660 nova:
okozachenko1203567fc082023-08-21 22:50:02 +10001661 role: admin,service
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001662 region_name: RegionOne
1663 username: nova
1664 password: password
1665 project_name: service
1666 user_domain_name: service
1667 project_domain_name: service
1668 # NOTE(portdirect): the neutron user is not managed by the nova chart
1669 # these values should match those set in the neutron chart.
1670 neutron:
1671 region_name: RegionOne
1672 project_name: service
1673 user_domain_name: service
1674 project_domain_name: service
1675 username: neutron
1676 password: password
1677 # NOTE(portdirect): the ironic user is not managed by the nova chart
1678 # these values should match those set in the ironic chart.
1679 ironic:
1680 auth_type: password
1681 auth_version: v3
1682 region_name: RegionOne
1683 project_name: service
1684 user_domain_name: service
1685 project_domain_name: service
1686 username: ironic
1687 password: password
1688 placement:
1689 role: admin
1690 region_name: RegionOne
1691 username: placement
1692 password: password
1693 project_name: service
1694 user_domain_name: service
1695 project_domain_name: service
okozachenko1203567fc082023-08-21 22:50:02 +10001696 cinder:
1697 role: admin,service
1698 region_name: RegionOne
1699 username: cinder
1700 password: password
1701 project_name: service
1702 user_domain_name: service
1703 project_domain_name: service
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001704 test:
1705 role: admin
1706 region_name: RegionOne
1707 username: nova-test
1708 password: password
1709 project_name: test
1710 user_domain_name: service
1711 project_domain_name: service
1712 hosts:
1713 default: keystone
1714 internal: keystone-api
1715 host_fqdn_override:
1716 default: null
1717 path:
1718 default: /v3
1719 scheme:
1720 default: http
1721 port:
1722 api:
1723 default: 80
1724 internal: 5000
1725 image:
1726 name: glance
1727 hosts:
1728 default: glance-api
1729 public: glance
1730 host_fqdn_override:
1731 default: null
1732 path:
1733 default: null
1734 scheme:
1735 default: http
1736 port:
1737 api:
1738 default: 9292
1739 public: 80
1740 compute:
1741 name: nova
1742 hosts:
1743 default: nova-api
1744 public: nova
1745 host_fqdn_override:
1746 default: null
1747 # NOTE(portdirect): this chart supports TLS for fqdn over-ridden public
1748 # endpoints using the following format:
1749 # public:
1750 # host: null
1751 # tls:
1752 # crt: null
1753 # key: null
1754 path:
1755 default: "/v2.1/%(tenant_id)s"
1756 scheme:
1757 default: 'http'
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001758 service: 'http'
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001759 port:
1760 api:
1761 default: 8774
1762 public: 80
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001763 service: 8774
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001764 novncproxy:
1765 default: 6080
1766 compute_metadata:
1767 name: nova
1768 ip:
1769 # IF blank, set clusterIP and metadata_host dynamically
1770 ingress: null
1771 hosts:
1772 default: nova-metadata
1773 public: metadata
1774 host_fqdn_override:
1775 default: null
1776 path:
1777 default: /
1778 scheme:
1779 default: 'http'
1780 port:
1781 metadata:
1782 default: 8775
1783 public: 80
1784 compute_novnc_proxy:
1785 name: nova
1786 hosts:
1787 default: nova-novncproxy
1788 public: novncproxy
1789 host_fqdn_override:
1790 default: null
1791 # NOTE(portdirect): this chart supports TLS for fqdn over-ridden public
1792 # endpoints using the following format:
1793 # public:
1794 # host: null
1795 # tls:
1796 # crt: null
1797 # key: null
1798 path:
1799 default: /vnc_auto.html
1800 scheme:
1801 default: 'http'
1802 port:
1803 novnc_proxy:
1804 default: 6080
1805 public: 80
1806 compute_spice_proxy:
1807 name: nova
1808 hosts:
1809 default: nova-spiceproxy
1810 public: placement
1811 host_fqdn_override:
1812 default: null
1813 path:
1814 default: /spice_auto.html
1815 scheme:
1816 default: 'http'
1817 port:
1818 spice_proxy:
1819 default: 6082
1820 placement:
1821 name: placement
1822 hosts:
1823 default: placement-api
1824 public: placement
1825 host_fqdn_override:
1826 default: null
1827 path:
1828 default: /
1829 scheme:
1830 default: 'http'
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001831 service: 'http'
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001832 port:
1833 api:
1834 default: 8778
1835 public: 80
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001836 service: 8778
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001837 network:
1838 name: neutron
1839 hosts:
1840 default: neutron-server
1841 public: neutron
1842 host_fqdn_override:
1843 default: null
1844 path:
1845 default: null
1846 scheme:
1847 default: 'http'
1848 port:
1849 api:
1850 default: 9696
1851 public: 80
1852 baremetal:
1853 name: ironic
1854 hosts:
1855 default: ironic-api
1856 public: ironic
1857 host_fqdn_override:
1858 default: null
1859 path:
1860 default: null
1861 scheme:
1862 default: http
1863 port:
1864 api:
1865 default: 6385
1866 public: 80
1867 fluentd:
1868 namespace: null
1869 name: fluentd
1870 hosts:
1871 default: fluentd-logging
1872 host_fqdn_override:
1873 default: null
1874 path:
1875 default: null
1876 scheme: 'http'
1877 port:
1878 service:
1879 default: 24224
1880 metrics:
1881 default: 24220
1882 # NOTE(tp6510): these endpoints allow for things like DNS lookups and ingress
1883 # They are using to enable the Egress K8s network policy.
1884 kube_dns:
1885 namespace: kube-system
1886 name: kubernetes-dns
1887 hosts:
1888 default: kube-dns
1889 host_fqdn_override:
1890 default: null
1891 path:
1892 default: null
1893 scheme: http
1894 port:
1895 dns:
1896 default: 53
1897 protocol: UDP
1898 ingress:
1899 namespace: null
1900 name: ingress
1901 hosts:
1902 default: ingress
1903 port:
1904 ingress:
1905 default: 80
1906
1907pod:
1908 probes:
1909 rpc_timeout: 60
1910 rpc_retries: 2
1911 compute:
1912 default:
1913 liveness:
1914 enabled: True
1915 params:
1916 initialDelaySeconds: 120
1917 periodSeconds: 90
1918 timeoutSeconds: 70
1919 readiness:
1920 enabled: True
1921 params:
1922 initialDelaySeconds: 80
1923 periodSeconds: 90
1924 timeoutSeconds: 70
1925 api-metadata:
1926 default:
1927 liveness:
1928 enabled: True
1929 params:
1930 initialDelaySeconds: 30
1931 periodSeconds: 60
1932 timeoutSeconds: 15
1933 readiness:
1934 enabled: True
1935 params:
1936 initialDelaySeconds: 30
1937 periodSeconds: 60
1938 timeoutSeconds: 15
1939 api-osapi:
1940 default:
1941 liveness:
1942 enabled: True
1943 params:
1944 initialDelaySeconds: 30
1945 periodSeconds: 60
1946 timeoutSeconds: 15
1947 readiness:
1948 enabled: True
1949 params:
1950 initialDelaySeconds: 30
1951 periodSeconds: 60
1952 timeoutSeconds: 15
1953 conductor:
1954 default:
1955 liveness:
1956 enabled: True
1957 params:
1958 initialDelaySeconds: 120
1959 periodSeconds: 90
1960 timeoutSeconds: 70
1961 readiness:
1962 enabled: True
1963 params:
1964 initialDelaySeconds: 80
1965 periodSeconds: 90
1966 timeoutSeconds: 70
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001967 novncproxy:
1968 default:
1969 liveness:
1970 enabled: True
1971 params:
1972 initialDelaySeconds: 30
1973 periodSeconds: 60
1974 timeoutSeconds: 15
1975 readiness:
1976 enabled: True
1977 params:
1978 initialDelaySeconds: 30
1979 periodSeconds: 60
1980 timeoutSeconds: 15
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001981 scheduler:
1982 default:
1983 liveness:
1984 enabled: True
1985 params:
1986 initialDelaySeconds: 120
1987 periodSeconds: 90
1988 timeoutSeconds: 70
1989 readiness:
1990 enabled: True
1991 params:
1992 initialDelaySeconds: 80
1993 periodSeconds: 90
1994 timeoutSeconds: 70
1995 compute-spice-proxy:
1996 default:
1997 liveness:
1998 enabled: True
1999 params:
2000 initialDelaySeconds: 30
2001 periodSeconds: 60
2002 timeoutSeconds: 15
2003 readiness:
2004 enabled: True
2005 params:
2006 initialDelaySeconds: 30
2007 periodSeconds: 60
2008 timeoutSeconds: 15
2009 security_context:
2010 nova:
2011 pod:
2012 runAsUser: 42424
2013 container:
2014 nova_compute_init:
2015 readOnlyRootFilesystem: true
2016 runAsUser: 0
2017 tungstenfabric_compute_init:
2018 readOnlyRootFilesystem: true
2019 allowPrivilegeEscalation: false
2020 ceph_perms:
2021 readOnlyRootFilesystem: true
2022 runAsUser: 0
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002023 nova_compute_vnc_init:
2024 readOnlyRootFilesystem: true
2025 allowPrivilegeEscalation: false
2026 nova_compute_spice_init:
2027 readOnlyRootFilesystem: true
2028 allowPrivilegeEscalation: false
2029 nova_compute:
2030 readOnlyRootFilesystem: true
2031 privileged: true
2032 nova_compute_ssh:
2033 privileged: true
2034 runAsUser: 0
2035 nova_compute_ssh_init:
2036 runAsUser: 0
2037 nova_api_metadata_init:
2038 readOnlyRootFilesystem: true
2039 allowPrivilegeEscalation: false
2040 nova_api:
2041 readOnlyRootFilesystem: true
2042 allowPrivilegeEscalation: false
2043 nova_osapi:
2044 readOnlyRootFilesystem: true
2045 allowPrivilegeEscalation: false
2046 nova_conductor:
2047 readOnlyRootFilesystem: true
2048 allowPrivilegeEscalation: false
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002049 nova_novncproxy_init:
2050 readOnlyRootFilesystem: true
2051 allowPrivilegeEscalation: false
2052 nova_novncproxy_init_assests:
2053 readOnlyRootFilesystem: true
2054 allowPrivilegeEscalation: false
2055 nova_novncproxy:
2056 readOnlyRootFilesystem: true
2057 allowPrivilegeEscalation: false
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002058 nova_scheduler:
2059 readOnlyRootFilesystem: true
2060 allowPrivilegeEscalation: false
2061 nova_spiceproxy_init:
2062 readOnlyRootFilesystem: true
2063 allowPrivilegeEscalation: false
2064 nova_spiceproxy_init_assets:
2065 readOnlyRootFilesystem: true
2066 allowPrivilegeEscalation: false
2067 nova_spiceproxy:
2068 readOnlyRootFilesystem: true
2069 allowPrivilegeEscalation: false
2070 bootstrap:
2071 pod:
2072 runAsUser: 42424
2073 container:
2074 nova_wait_for_computes_init:
2075 readOnlyRootFilesystem: true
2076 allowPrivilegeEscalation: false
2077 bootstrap:
2078 readOnlyRootFilesystem: true
2079 allowPrivilegeEscalation: false
2080 nova_cell_setup:
2081 pod:
2082 runAsUser: 42424
2083 container:
2084 nova_wait_for_computes_init:
2085 readOnlyRootFilesystem: true
2086 allowPrivilegeEscalation: false
2087 nova_cell_setup_init:
2088 readOnlyRootFilesystem: true
2089 allowPrivilegeEscalation: false
2090 nova_cell_setup:
2091 readOnlyRootFilesystem: true
2092 allowPrivilegeEscalation: false
2093 archive_deleted_rows:
2094 pod:
2095 runAsUser: 42424
2096 container:
2097 nova_archive_deleted_rows_init:
2098 readOnlyRootFilesystem: true
2099 allowPrivilegeEscalation: false
2100 nova_archive_deleted_rows:
2101 readOnlyRootFilesystem: true
2102 allowPrivilegeEscalation: false
2103 cell_setup:
2104 pod:
2105 runAsUser: 42424
2106 container:
2107 nova_cell_setup:
2108 readOnlyRootFilesystem: true
2109 allowPrivilegeEscalation: false
2110 service_cleaner:
2111 pod:
2112 runAsUser: 42424
2113 container:
2114 nova_service_cleaner:
2115 readOnlyRootFilesystem: true
2116 allowPrivilegeEscalation: false
2117 use_fqdn:
2118 # NOTE: If the option "host" is not specified in nova.conf, the host name
2119 # shown in the hypervisor host is defaulted to the short name of the host.
2120 # Setting the option here to true will cause use $(hostname --fqdn) as the
2121 # host name by default. If the short name is desired $(hostname --short),
2122 # set the option to false. Specifying a host in the nova.conf via the conf:
2123 # section will supersede the value of this option.
2124 compute: true
2125 affinity:
2126 anti:
2127 type:
2128 default: preferredDuringSchedulingIgnoredDuringExecution
2129 topologyKey:
2130 default: kubernetes.io/hostname
2131 weight:
2132 default: 10
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01002133 tolerations:
2134 nova:
2135 enabled: false
2136 tolerations:
2137 - key: node-role.kubernetes.io/master
2138 operator: Exists
2139 effect: NoSchedule
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02002140 - key: node-role.kubernetes.io/control-plane
2141 operator: Exists
2142 effect: NoSchedule
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002143 mounts:
2144 nova_compute:
2145 init_container: null
2146 nova_compute:
2147 volumeMounts:
2148 volumes:
2149 nova_compute_ironic:
2150 init_container: null
2151 nova_compute_ironic:
2152 volumeMounts:
2153 volumes:
2154 nova_api_metadata:
2155 init_container: null
2156 nova_api_metadata:
2157 volumeMounts:
2158 volumes:
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002159 nova_api_osapi:
2160 init_container: null
2161 nova_api_osapi:
2162 volumeMounts:
2163 volumes:
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002164 nova_conductor:
2165 init_container: null
2166 nova_conductor:
2167 volumeMounts:
2168 volumes:
2169 nova_scheduler:
2170 init_container: null
2171 nova_scheduler:
2172 volumeMounts:
2173 volumes:
2174 nova_bootstrap:
2175 init_container: null
2176 nova_bootstrap:
2177 volumeMounts:
2178 volumes:
2179 nova_tests:
2180 init_container: null
2181 nova_tests:
2182 volumeMounts:
2183 volumes:
2184 nova_novncproxy:
2185 init_novncproxy: null
2186 nova_novncproxy:
2187 volumeMounts:
2188 volumes:
2189 nova_spiceproxy:
2190 init_spiceproxy: null
2191 nova_spiceproxy:
2192 volumeMounts:
2193 volumes:
2194 nova_db_sync:
2195 nova_db_sync:
2196 volumeMounts:
2197 volumes:
2198 useHostNetwork:
2199 novncproxy: true
2200 replicas:
2201 api_metadata: 1
2202 compute_ironic: 1
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002203 osapi: 1
2204 conductor: 1
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002205 scheduler: 1
2206 novncproxy: 1
2207 spiceproxy: 1
2208 lifecycle:
2209 upgrades:
2210 deployments:
2211 revision_history: 3
2212 pod_replacement_strategy: RollingUpdate
2213 rolling_update:
2214 max_unavailable: 1
2215 max_surge: 3
2216 daemonsets:
2217 pod_replacement_strategy: RollingUpdate
2218 compute:
2219 enabled: true
2220 min_ready_seconds: 0
2221 max_unavailable: 1
2222 disruption_budget:
2223 metadata:
2224 min_available: 0
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002225 osapi:
2226 min_available: 0
2227 termination_grace_period:
2228 metadata:
2229 timeout: 30
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002230 osapi:
2231 timeout: 30
2232 resources:
2233 enabled: false
2234 compute:
2235 requests:
2236 memory: "128Mi"
2237 cpu: "100m"
2238 limits:
2239 memory: "1024Mi"
2240 cpu: "2000m"
2241 compute_ironic:
2242 requests:
2243 memory: "128Mi"
2244 cpu: "100m"
2245 limits:
2246 memory: "1024Mi"
2247 cpu: "2000m"
2248 api_metadata:
2249 requests:
2250 memory: "128Mi"
2251 cpu: "100m"
2252 limits:
2253 memory: "1024Mi"
2254 cpu: "2000m"
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002255 api:
2256 requests:
2257 memory: "128Mi"
2258 cpu: "100m"
2259 limits:
2260 memory: "1024Mi"
2261 cpu: "2000m"
2262 conductor:
2263 requests:
2264 memory: "128Mi"
2265 cpu: "100m"
2266 limits:
2267 memory: "1024Mi"
2268 cpu: "2000m"
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002269 scheduler:
2270 requests:
2271 memory: "128Mi"
2272 cpu: "100m"
2273 limits:
2274 memory: "1024Mi"
2275 cpu: "2000m"
2276 ssh:
2277 requests:
2278 memory: "128Mi"
2279 cpu: "100m"
2280 limits:
2281 memory: "1024Mi"
2282 cpu: "2000m"
2283 novncproxy:
2284 requests:
2285 memory: "128Mi"
2286 cpu: "100m"
2287 limits:
2288 memory: "1024Mi"
2289 cpu: "2000m"
2290 spiceproxy:
2291 requests:
2292 memory: "128Mi"
2293 cpu: "100m"
2294 limits:
2295 memory: "1024Mi"
2296 cpu: "2000m"
2297 jobs:
2298 bootstrap:
2299 requests:
2300 memory: "128Mi"
2301 cpu: "100m"
2302 limits:
2303 memory: "1024Mi"
2304 cpu: "2000m"
2305 db_init:
2306 requests:
2307 memory: "128Mi"
2308 cpu: "100m"
2309 limits:
2310 memory: "1024Mi"
2311 cpu: "2000m"
2312 rabbit_init:
2313 requests:
2314 memory: "128Mi"
2315 cpu: "100m"
2316 limits:
2317 memory: "1024Mi"
2318 cpu: "2000m"
2319 db_sync:
2320 requests:
2321 memory: "128Mi"
2322 cpu: "100m"
2323 limits:
2324 memory: "1024Mi"
2325 cpu: "2000m"
2326 archive_deleted_rows:
2327 requests:
2328 memory: "128Mi"
2329 cpu: "100m"
2330 limits:
2331 memory: "1024Mi"
2332 cpu: "2000m"
2333 db_drop:
2334 requests:
2335 memory: "128Mi"
2336 cpu: "100m"
2337 limits:
2338 memory: "1024Mi"
2339 cpu: "2000m"
2340 ks_endpoints:
2341 requests:
2342 memory: "128Mi"
2343 cpu: "100m"
2344 limits:
2345 memory: "1024Mi"
2346 cpu: "2000m"
2347 ks_service:
2348 requests:
2349 memory: "128Mi"
2350 cpu: "100m"
2351 limits:
2352 memory: "1024Mi"
2353 cpu: "2000m"
2354 ks_user:
2355 requests:
2356 memory: "128Mi"
2357 cpu: "100m"
2358 limits:
2359 memory: "1024Mi"
2360 cpu: "2000m"
2361 tests:
2362 requests:
2363 memory: "128Mi"
2364 cpu: "100m"
2365 limits:
2366 memory: "1024Mi"
2367 cpu: "2000m"
2368 cell_setup:
2369 requests:
2370 memory: "128Mi"
2371 cpu: "100m"
2372 limits:
2373 memory: "1024Mi"
2374 cpu: "2000m"
2375 service_cleaner:
2376 requests:
2377 memory: "128Mi"
2378 cpu: "100m"
2379 limits:
2380 memory: "1024Mi"
2381 cpu: "2000m"
2382 image_repo_sync:
2383 requests:
2384 memory: "128Mi"
2385 cpu: "100m"
2386 limits:
2387 memory: "1024Mi"
2388 cpu: "2000m"
2389
2390network_policy:
2391 nova:
2392 # TODO(lamt): Need to tighten this ingress for security.
2393 ingress:
2394 - {}
2395 egress:
2396 - {}
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002397
2398# NOTE(helm_hook): helm_hook might break for helm2 binary.
2399# set helm3_hook: false when using the helm2 binary.
2400helm3_hook: true
2401
2402health_probe:
2403 logging:
2404 level: ERROR
2405
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01002406tls:
2407 identity: false
2408 oslo_messaging: false
2409 oslo_db: false
2410
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002411manifests:
2412 certificates: false
2413 configmap_bin: true
2414 configmap_etc: true
2415 cron_job_cell_setup: true
2416 cron_job_service_cleaner: true
2417 cron_job_archive_deleted_rows: false
2418 daemonset_compute: true
2419 deployment_api_metadata: true
2420 deployment_api_osapi: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002421 deployment_conductor: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002422 deployment_novncproxy: true
2423 deployment_spiceproxy: true
2424 deployment_scheduler: true
2425 ingress_metadata: true
2426 ingress_novncproxy: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002427 ingress_osapi: true
2428 job_bootstrap: true
2429 job_db_init: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002430 job_db_sync: true
2431 job_db_drop: false
2432 job_image_repo_sync: true
2433 job_rabbit_init: true
2434 job_ks_endpoints: true
2435 job_ks_service: true
2436 job_ks_user: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002437 job_cell_setup: true
2438 pdb_metadata: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002439 pdb_osapi: true
2440 pod_rally_test: true
2441 network_policy: false
2442 secret_db_api: true
2443 secret_db_cell0: true
2444 secret_db: true
2445 secret_ingress_tls: true
2446 secret_keystone: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002447 secret_rabbitmq: true
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01002448 secret_registry: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002449 service_ingress_metadata: true
2450 service_ingress_novncproxy: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002451 service_ingress_osapi: true
2452 service_metadata: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002453 service_novncproxy: true
2454 service_spiceproxy: true
2455 service_osapi: true
2456 statefulset_compute_ironic: false
2457...