blob: c5a679def2527726cfba2409a2e753cccb96febd [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
okozachenko1203ea639e72023-08-30 23:25:38 +10001514 vencrypt:
1515 internal: nova-novncproxy-vencrypt
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001516 compute_metadata:
1517 metadata:
1518 public: metadata-tls-public
1519 internal: metadata-tls-metadata
1520 compute_spice_proxy:
1521 spiceproxy:
1522 internal: nova-tls-spiceproxy
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001523 oci_image_registry:
1524 nova: nova-oci-image-registry
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001525
1526# typically overridden by environmental
1527# values, but should include all endpoints
1528# required by this chart
1529endpoints:
1530 cluster_domain_suffix: cluster.local
1531 local_image_registry:
1532 name: docker-registry
1533 namespace: docker-registry
1534 hosts:
1535 default: localhost
1536 internal: docker-registry
1537 node: localhost
1538 host_fqdn_override:
1539 default: null
1540 port:
1541 registry:
1542 node: 5000
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001543 oci_image_registry:
1544 name: oci-image-registry
1545 namespace: oci-image-registry
1546 auth:
1547 enabled: false
1548 nova:
1549 username: nova
1550 password: password
1551 hosts:
1552 default: localhost
1553 host_fqdn_override:
1554 default: null
1555 port:
1556 registry:
1557 default: null
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001558 oslo_db:
1559 auth:
1560 admin:
1561 username: root
1562 password: password
1563 secret:
1564 tls:
1565 internal: mariadb-tls-direct
1566 nova:
1567 username: nova
1568 password: password
1569 hosts:
1570 default: mariadb
1571 host_fqdn_override:
1572 default: null
1573 path: /nova
1574 scheme: mysql+pymysql
1575 port:
1576 mysql:
1577 default: 3306
1578 oslo_db_api:
1579 auth:
1580 admin:
1581 username: root
1582 password: password
1583 nova:
1584 username: nova
1585 password: password
1586 hosts:
1587 default: mariadb
1588 host_fqdn_override:
1589 default: null
1590 path: /nova_api
1591 scheme: mysql+pymysql
1592 port:
1593 mysql:
1594 default: 3306
1595 oslo_db_cell0:
1596 auth:
1597 admin:
1598 username: root
1599 password: password
1600 nova:
1601 username: nova
1602 password: password
1603 hosts:
1604 default: mariadb
1605 host_fqdn_override:
1606 default: null
1607 path: /nova_cell0
1608 scheme: mysql+pymysql
1609 port:
1610 mysql:
1611 default: 3306
1612 oslo_messaging:
1613 auth:
1614 admin:
1615 username: rabbitmq
1616 password: password
1617 secret:
1618 tls:
1619 internal: rabbitmq-tls-direct
1620 nova:
1621 username: nova
1622 password: password
1623 statefulset:
1624 replicas: 2
1625 name: rabbitmq-rabbitmq
1626 hosts:
1627 default: rabbitmq
1628 host_fqdn_override:
1629 default: null
1630 path: /nova
1631 scheme: rabbit
1632 port:
1633 amqp:
1634 default: 5672
1635 http:
1636 default: 15672
1637 oslo_cache:
1638 auth:
1639 # NOTE(portdirect): this is used to define the value for keystone
1640 # authtoken cache encryption key, if not set it will be populated
1641 # automatically with a random value, but to take advantage of
1642 # this feature all services should be set to use the same key,
1643 # and memcache service.
1644 memcache_secret_key: null
1645 hosts:
1646 default: memcached
1647 host_fqdn_override:
1648 default: null
1649 port:
1650 memcache:
1651 default: 11211
1652 identity:
1653 name: keystone
1654 auth:
1655 admin:
1656 region_name: RegionOne
1657 username: admin
1658 password: password
1659 project_name: admin
1660 user_domain_name: default
1661 project_domain_name: default
1662 nova:
okozachenko1203567fc082023-08-21 22:50:02 +10001663 role: admin,service
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001664 region_name: RegionOne
1665 username: nova
1666 password: password
1667 project_name: service
1668 user_domain_name: service
1669 project_domain_name: service
1670 # NOTE(portdirect): the neutron user is not managed by the nova chart
1671 # these values should match those set in the neutron chart.
1672 neutron:
1673 region_name: RegionOne
1674 project_name: service
1675 user_domain_name: service
1676 project_domain_name: service
1677 username: neutron
1678 password: password
1679 # NOTE(portdirect): the ironic user is not managed by the nova chart
1680 # these values should match those set in the ironic chart.
1681 ironic:
1682 auth_type: password
1683 auth_version: v3
1684 region_name: RegionOne
1685 project_name: service
1686 user_domain_name: service
1687 project_domain_name: service
1688 username: ironic
1689 password: password
1690 placement:
1691 role: admin
1692 region_name: RegionOne
1693 username: placement
1694 password: password
1695 project_name: service
1696 user_domain_name: service
1697 project_domain_name: service
okozachenko1203567fc082023-08-21 22:50:02 +10001698 cinder:
1699 role: admin,service
1700 region_name: RegionOne
1701 username: cinder
1702 password: password
1703 project_name: service
1704 user_domain_name: service
1705 project_domain_name: service
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001706 test:
1707 role: admin
1708 region_name: RegionOne
1709 username: nova-test
1710 password: password
1711 project_name: test
1712 user_domain_name: service
1713 project_domain_name: service
1714 hosts:
1715 default: keystone
1716 internal: keystone-api
1717 host_fqdn_override:
1718 default: null
1719 path:
1720 default: /v3
1721 scheme:
1722 default: http
1723 port:
1724 api:
1725 default: 80
1726 internal: 5000
1727 image:
1728 name: glance
1729 hosts:
1730 default: glance-api
1731 public: glance
1732 host_fqdn_override:
1733 default: null
1734 path:
1735 default: null
1736 scheme:
1737 default: http
1738 port:
1739 api:
1740 default: 9292
1741 public: 80
1742 compute:
1743 name: nova
1744 hosts:
1745 default: nova-api
1746 public: nova
1747 host_fqdn_override:
1748 default: null
1749 # NOTE(portdirect): this chart supports TLS for fqdn over-ridden public
1750 # endpoints using the following format:
1751 # public:
1752 # host: null
1753 # tls:
1754 # crt: null
1755 # key: null
1756 path:
1757 default: "/v2.1/%(tenant_id)s"
1758 scheme:
1759 default: 'http'
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001760 service: 'http'
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001761 port:
1762 api:
1763 default: 8774
1764 public: 80
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001765 service: 8774
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001766 novncproxy:
1767 default: 6080
1768 compute_metadata:
1769 name: nova
1770 ip:
1771 # IF blank, set clusterIP and metadata_host dynamically
1772 ingress: null
1773 hosts:
1774 default: nova-metadata
1775 public: metadata
1776 host_fqdn_override:
1777 default: null
1778 path:
1779 default: /
1780 scheme:
1781 default: 'http'
1782 port:
1783 metadata:
1784 default: 8775
1785 public: 80
1786 compute_novnc_proxy:
1787 name: nova
1788 hosts:
1789 default: nova-novncproxy
1790 public: novncproxy
1791 host_fqdn_override:
1792 default: null
1793 # NOTE(portdirect): this chart supports TLS for fqdn over-ridden public
1794 # endpoints using the following format:
1795 # public:
1796 # host: null
1797 # tls:
1798 # crt: null
1799 # key: null
1800 path:
1801 default: /vnc_auto.html
1802 scheme:
1803 default: 'http'
1804 port:
1805 novnc_proxy:
1806 default: 6080
1807 public: 80
okozachenko1203ea639e72023-08-30 23:25:38 +10001808 # This endpoint is only to allow configuring the cert used specifically for
1809 # vencrypt. Specifically, the same CA/issuer needs to be used to sign both
1810 # this cert, and the libvirt/qemu certs.
1811 compute_novnc_vencrypt:
1812 hosts:
1813 default: nova-novncproxy
1814 host_fqdn_override:
1815 default:
1816 commonName: nova-novncproxy
1817 usages:
1818 - client auth
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001819 compute_spice_proxy:
1820 name: nova
1821 hosts:
1822 default: nova-spiceproxy
1823 public: placement
1824 host_fqdn_override:
1825 default: null
1826 path:
1827 default: /spice_auto.html
1828 scheme:
1829 default: 'http'
1830 port:
1831 spice_proxy:
1832 default: 6082
1833 placement:
1834 name: placement
1835 hosts:
1836 default: placement-api
1837 public: placement
1838 host_fqdn_override:
1839 default: null
1840 path:
1841 default: /
1842 scheme:
1843 default: 'http'
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001844 service: 'http'
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001845 port:
1846 api:
1847 default: 8778
1848 public: 80
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001849 service: 8778
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001850 network:
1851 name: neutron
1852 hosts:
1853 default: neutron-server
1854 public: neutron
1855 host_fqdn_override:
1856 default: null
1857 path:
1858 default: null
1859 scheme:
1860 default: 'http'
1861 port:
1862 api:
1863 default: 9696
1864 public: 80
1865 baremetal:
1866 name: ironic
1867 hosts:
1868 default: ironic-api
1869 public: ironic
1870 host_fqdn_override:
1871 default: null
1872 path:
1873 default: null
1874 scheme:
1875 default: http
1876 port:
1877 api:
1878 default: 6385
1879 public: 80
1880 fluentd:
1881 namespace: null
1882 name: fluentd
1883 hosts:
1884 default: fluentd-logging
1885 host_fqdn_override:
1886 default: null
1887 path:
1888 default: null
1889 scheme: 'http'
1890 port:
1891 service:
1892 default: 24224
1893 metrics:
1894 default: 24220
1895 # NOTE(tp6510): these endpoints allow for things like DNS lookups and ingress
1896 # They are using to enable the Egress K8s network policy.
1897 kube_dns:
1898 namespace: kube-system
1899 name: kubernetes-dns
1900 hosts:
1901 default: kube-dns
1902 host_fqdn_override:
1903 default: null
1904 path:
1905 default: null
1906 scheme: http
1907 port:
1908 dns:
1909 default: 53
1910 protocol: UDP
1911 ingress:
1912 namespace: null
1913 name: ingress
1914 hosts:
1915 default: ingress
1916 port:
1917 ingress:
1918 default: 80
1919
1920pod:
1921 probes:
1922 rpc_timeout: 60
1923 rpc_retries: 2
1924 compute:
1925 default:
1926 liveness:
1927 enabled: True
1928 params:
1929 initialDelaySeconds: 120
1930 periodSeconds: 90
1931 timeoutSeconds: 70
1932 readiness:
1933 enabled: True
1934 params:
1935 initialDelaySeconds: 80
1936 periodSeconds: 90
1937 timeoutSeconds: 70
1938 api-metadata:
1939 default:
1940 liveness:
1941 enabled: True
1942 params:
1943 initialDelaySeconds: 30
1944 periodSeconds: 60
1945 timeoutSeconds: 15
1946 readiness:
1947 enabled: True
1948 params:
1949 initialDelaySeconds: 30
1950 periodSeconds: 60
1951 timeoutSeconds: 15
1952 api-osapi:
1953 default:
1954 liveness:
1955 enabled: True
1956 params:
1957 initialDelaySeconds: 30
1958 periodSeconds: 60
1959 timeoutSeconds: 15
1960 readiness:
1961 enabled: True
1962 params:
1963 initialDelaySeconds: 30
1964 periodSeconds: 60
1965 timeoutSeconds: 15
1966 conductor:
1967 default:
1968 liveness:
1969 enabled: True
1970 params:
1971 initialDelaySeconds: 120
1972 periodSeconds: 90
1973 timeoutSeconds: 70
1974 readiness:
1975 enabled: True
1976 params:
1977 initialDelaySeconds: 80
1978 periodSeconds: 90
1979 timeoutSeconds: 70
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001980 novncproxy:
1981 default:
1982 liveness:
1983 enabled: True
1984 params:
1985 initialDelaySeconds: 30
1986 periodSeconds: 60
1987 timeoutSeconds: 15
1988 readiness:
1989 enabled: True
1990 params:
1991 initialDelaySeconds: 30
1992 periodSeconds: 60
1993 timeoutSeconds: 15
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001994 scheduler:
1995 default:
1996 liveness:
1997 enabled: True
1998 params:
1999 initialDelaySeconds: 120
2000 periodSeconds: 90
2001 timeoutSeconds: 70
2002 readiness:
2003 enabled: True
2004 params:
2005 initialDelaySeconds: 80
2006 periodSeconds: 90
2007 timeoutSeconds: 70
2008 compute-spice-proxy:
2009 default:
2010 liveness:
2011 enabled: True
2012 params:
2013 initialDelaySeconds: 30
2014 periodSeconds: 60
2015 timeoutSeconds: 15
2016 readiness:
2017 enabled: True
2018 params:
2019 initialDelaySeconds: 30
2020 periodSeconds: 60
2021 timeoutSeconds: 15
2022 security_context:
2023 nova:
2024 pod:
2025 runAsUser: 42424
2026 container:
2027 nova_compute_init:
2028 readOnlyRootFilesystem: true
2029 runAsUser: 0
2030 tungstenfabric_compute_init:
2031 readOnlyRootFilesystem: true
2032 allowPrivilegeEscalation: false
2033 ceph_perms:
2034 readOnlyRootFilesystem: true
2035 runAsUser: 0
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002036 nova_compute_vnc_init:
2037 readOnlyRootFilesystem: true
2038 allowPrivilegeEscalation: false
2039 nova_compute_spice_init:
2040 readOnlyRootFilesystem: true
2041 allowPrivilegeEscalation: false
2042 nova_compute:
2043 readOnlyRootFilesystem: true
2044 privileged: true
2045 nova_compute_ssh:
2046 privileged: true
2047 runAsUser: 0
2048 nova_compute_ssh_init:
2049 runAsUser: 0
2050 nova_api_metadata_init:
2051 readOnlyRootFilesystem: true
2052 allowPrivilegeEscalation: false
2053 nova_api:
2054 readOnlyRootFilesystem: true
2055 allowPrivilegeEscalation: false
2056 nova_osapi:
2057 readOnlyRootFilesystem: true
2058 allowPrivilegeEscalation: false
2059 nova_conductor:
2060 readOnlyRootFilesystem: true
2061 allowPrivilegeEscalation: false
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002062 nova_novncproxy_init:
2063 readOnlyRootFilesystem: true
2064 allowPrivilegeEscalation: false
2065 nova_novncproxy_init_assests:
2066 readOnlyRootFilesystem: true
2067 allowPrivilegeEscalation: false
2068 nova_novncproxy:
2069 readOnlyRootFilesystem: true
2070 allowPrivilegeEscalation: false
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002071 nova_scheduler:
2072 readOnlyRootFilesystem: true
2073 allowPrivilegeEscalation: false
2074 nova_spiceproxy_init:
2075 readOnlyRootFilesystem: true
2076 allowPrivilegeEscalation: false
2077 nova_spiceproxy_init_assets:
2078 readOnlyRootFilesystem: true
2079 allowPrivilegeEscalation: false
2080 nova_spiceproxy:
2081 readOnlyRootFilesystem: true
2082 allowPrivilegeEscalation: false
2083 bootstrap:
2084 pod:
2085 runAsUser: 42424
2086 container:
2087 nova_wait_for_computes_init:
2088 readOnlyRootFilesystem: true
2089 allowPrivilegeEscalation: false
2090 bootstrap:
2091 readOnlyRootFilesystem: true
2092 allowPrivilegeEscalation: false
2093 nova_cell_setup:
2094 pod:
2095 runAsUser: 42424
2096 container:
2097 nova_wait_for_computes_init:
2098 readOnlyRootFilesystem: true
2099 allowPrivilegeEscalation: false
2100 nova_cell_setup_init:
2101 readOnlyRootFilesystem: true
2102 allowPrivilegeEscalation: false
2103 nova_cell_setup:
2104 readOnlyRootFilesystem: true
2105 allowPrivilegeEscalation: false
2106 archive_deleted_rows:
2107 pod:
2108 runAsUser: 42424
2109 container:
2110 nova_archive_deleted_rows_init:
2111 readOnlyRootFilesystem: true
2112 allowPrivilegeEscalation: false
2113 nova_archive_deleted_rows:
2114 readOnlyRootFilesystem: true
2115 allowPrivilegeEscalation: false
2116 cell_setup:
2117 pod:
2118 runAsUser: 42424
2119 container:
2120 nova_cell_setup:
2121 readOnlyRootFilesystem: true
2122 allowPrivilegeEscalation: false
2123 service_cleaner:
2124 pod:
2125 runAsUser: 42424
2126 container:
2127 nova_service_cleaner:
2128 readOnlyRootFilesystem: true
2129 allowPrivilegeEscalation: false
2130 use_fqdn:
2131 # NOTE: If the option "host" is not specified in nova.conf, the host name
2132 # shown in the hypervisor host is defaulted to the short name of the host.
2133 # Setting the option here to true will cause use $(hostname --fqdn) as the
2134 # host name by default. If the short name is desired $(hostname --short),
2135 # set the option to false. Specifying a host in the nova.conf via the conf:
2136 # section will supersede the value of this option.
2137 compute: true
2138 affinity:
2139 anti:
2140 type:
2141 default: preferredDuringSchedulingIgnoredDuringExecution
2142 topologyKey:
2143 default: kubernetes.io/hostname
2144 weight:
2145 default: 10
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01002146 tolerations:
2147 nova:
2148 enabled: false
2149 tolerations:
2150 - key: node-role.kubernetes.io/master
2151 operator: Exists
2152 effect: NoSchedule
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02002153 - key: node-role.kubernetes.io/control-plane
2154 operator: Exists
2155 effect: NoSchedule
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002156 mounts:
2157 nova_compute:
2158 init_container: null
2159 nova_compute:
2160 volumeMounts:
2161 volumes:
2162 nova_compute_ironic:
2163 init_container: null
2164 nova_compute_ironic:
2165 volumeMounts:
2166 volumes:
2167 nova_api_metadata:
2168 init_container: null
2169 nova_api_metadata:
2170 volumeMounts:
2171 volumes:
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002172 nova_api_osapi:
2173 init_container: null
2174 nova_api_osapi:
2175 volumeMounts:
2176 volumes:
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002177 nova_conductor:
2178 init_container: null
2179 nova_conductor:
2180 volumeMounts:
2181 volumes:
2182 nova_scheduler:
2183 init_container: null
2184 nova_scheduler:
2185 volumeMounts:
2186 volumes:
2187 nova_bootstrap:
2188 init_container: null
2189 nova_bootstrap:
2190 volumeMounts:
2191 volumes:
2192 nova_tests:
2193 init_container: null
2194 nova_tests:
2195 volumeMounts:
2196 volumes:
2197 nova_novncproxy:
2198 init_novncproxy: null
2199 nova_novncproxy:
2200 volumeMounts:
2201 volumes:
2202 nova_spiceproxy:
2203 init_spiceproxy: null
2204 nova_spiceproxy:
2205 volumeMounts:
2206 volumes:
2207 nova_db_sync:
2208 nova_db_sync:
2209 volumeMounts:
2210 volumes:
2211 useHostNetwork:
2212 novncproxy: true
2213 replicas:
2214 api_metadata: 1
2215 compute_ironic: 1
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002216 osapi: 1
2217 conductor: 1
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002218 scheduler: 1
2219 novncproxy: 1
2220 spiceproxy: 1
2221 lifecycle:
2222 upgrades:
2223 deployments:
2224 revision_history: 3
2225 pod_replacement_strategy: RollingUpdate
2226 rolling_update:
2227 max_unavailable: 1
2228 max_surge: 3
2229 daemonsets:
2230 pod_replacement_strategy: RollingUpdate
2231 compute:
2232 enabled: true
2233 min_ready_seconds: 0
2234 max_unavailable: 1
2235 disruption_budget:
2236 metadata:
2237 min_available: 0
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002238 osapi:
2239 min_available: 0
2240 termination_grace_period:
2241 metadata:
2242 timeout: 30
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002243 osapi:
2244 timeout: 30
2245 resources:
2246 enabled: false
2247 compute:
2248 requests:
2249 memory: "128Mi"
2250 cpu: "100m"
2251 limits:
2252 memory: "1024Mi"
2253 cpu: "2000m"
2254 compute_ironic:
2255 requests:
2256 memory: "128Mi"
2257 cpu: "100m"
2258 limits:
2259 memory: "1024Mi"
2260 cpu: "2000m"
2261 api_metadata:
2262 requests:
2263 memory: "128Mi"
2264 cpu: "100m"
2265 limits:
2266 memory: "1024Mi"
2267 cpu: "2000m"
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002268 api:
2269 requests:
2270 memory: "128Mi"
2271 cpu: "100m"
2272 limits:
2273 memory: "1024Mi"
2274 cpu: "2000m"
2275 conductor:
2276 requests:
2277 memory: "128Mi"
2278 cpu: "100m"
2279 limits:
2280 memory: "1024Mi"
2281 cpu: "2000m"
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002282 scheduler:
2283 requests:
2284 memory: "128Mi"
2285 cpu: "100m"
2286 limits:
2287 memory: "1024Mi"
2288 cpu: "2000m"
2289 ssh:
2290 requests:
2291 memory: "128Mi"
2292 cpu: "100m"
2293 limits:
2294 memory: "1024Mi"
2295 cpu: "2000m"
2296 novncproxy:
2297 requests:
2298 memory: "128Mi"
2299 cpu: "100m"
2300 limits:
2301 memory: "1024Mi"
2302 cpu: "2000m"
2303 spiceproxy:
2304 requests:
2305 memory: "128Mi"
2306 cpu: "100m"
2307 limits:
2308 memory: "1024Mi"
2309 cpu: "2000m"
2310 jobs:
2311 bootstrap:
2312 requests:
2313 memory: "128Mi"
2314 cpu: "100m"
2315 limits:
2316 memory: "1024Mi"
2317 cpu: "2000m"
2318 db_init:
2319 requests:
2320 memory: "128Mi"
2321 cpu: "100m"
2322 limits:
2323 memory: "1024Mi"
2324 cpu: "2000m"
2325 rabbit_init:
2326 requests:
2327 memory: "128Mi"
2328 cpu: "100m"
2329 limits:
2330 memory: "1024Mi"
2331 cpu: "2000m"
2332 db_sync:
2333 requests:
2334 memory: "128Mi"
2335 cpu: "100m"
2336 limits:
2337 memory: "1024Mi"
2338 cpu: "2000m"
2339 archive_deleted_rows:
2340 requests:
2341 memory: "128Mi"
2342 cpu: "100m"
2343 limits:
2344 memory: "1024Mi"
2345 cpu: "2000m"
2346 db_drop:
2347 requests:
2348 memory: "128Mi"
2349 cpu: "100m"
2350 limits:
2351 memory: "1024Mi"
2352 cpu: "2000m"
2353 ks_endpoints:
2354 requests:
2355 memory: "128Mi"
2356 cpu: "100m"
2357 limits:
2358 memory: "1024Mi"
2359 cpu: "2000m"
2360 ks_service:
2361 requests:
2362 memory: "128Mi"
2363 cpu: "100m"
2364 limits:
2365 memory: "1024Mi"
2366 cpu: "2000m"
2367 ks_user:
2368 requests:
2369 memory: "128Mi"
2370 cpu: "100m"
2371 limits:
2372 memory: "1024Mi"
2373 cpu: "2000m"
2374 tests:
2375 requests:
2376 memory: "128Mi"
2377 cpu: "100m"
2378 limits:
2379 memory: "1024Mi"
2380 cpu: "2000m"
2381 cell_setup:
2382 requests:
2383 memory: "128Mi"
2384 cpu: "100m"
2385 limits:
2386 memory: "1024Mi"
2387 cpu: "2000m"
2388 service_cleaner:
2389 requests:
2390 memory: "128Mi"
2391 cpu: "100m"
2392 limits:
2393 memory: "1024Mi"
2394 cpu: "2000m"
2395 image_repo_sync:
2396 requests:
2397 memory: "128Mi"
2398 cpu: "100m"
2399 limits:
2400 memory: "1024Mi"
2401 cpu: "2000m"
2402
2403network_policy:
2404 nova:
2405 # TODO(lamt): Need to tighten this ingress for security.
2406 ingress:
2407 - {}
2408 egress:
2409 - {}
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002410
2411# NOTE(helm_hook): helm_hook might break for helm2 binary.
2412# set helm3_hook: false when using the helm2 binary.
2413helm3_hook: true
2414
2415health_probe:
2416 logging:
2417 level: ERROR
2418
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01002419tls:
2420 identity: false
2421 oslo_messaging: false
2422 oslo_db: false
2423
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002424manifests:
2425 certificates: false
2426 configmap_bin: true
2427 configmap_etc: true
2428 cron_job_cell_setup: true
2429 cron_job_service_cleaner: true
2430 cron_job_archive_deleted_rows: false
2431 daemonset_compute: true
2432 deployment_api_metadata: true
2433 deployment_api_osapi: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002434 deployment_conductor: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002435 deployment_novncproxy: true
2436 deployment_spiceproxy: true
2437 deployment_scheduler: true
2438 ingress_metadata: true
2439 ingress_novncproxy: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002440 ingress_osapi: true
2441 job_bootstrap: true
2442 job_db_init: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002443 job_db_sync: true
2444 job_db_drop: false
2445 job_image_repo_sync: true
2446 job_rabbit_init: true
2447 job_ks_endpoints: true
2448 job_ks_service: true
2449 job_ks_user: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002450 job_cell_setup: true
2451 pdb_metadata: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002452 pdb_osapi: true
2453 pod_rally_test: true
2454 network_policy: false
2455 secret_db_api: true
2456 secret_db_cell0: true
2457 secret_db: true
2458 secret_ingress_tls: true
2459 secret_keystone: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002460 secret_rabbitmq: true
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01002461 secret_registry: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002462 service_ingress_metadata: true
2463 service_ingress_novncproxy: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002464 service_ingress_osapi: true
2465 service_metadata: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002466 service_novncproxy: true
2467 service_spiceproxy: true
2468 service_osapi: true
2469 statefulset_compute_ironic: false
2470...