blob: d4ce127a9d4488a509674051e7a2d71c8124c2ff [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:
273 libvirt:
274 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
1350 database:
1351 max_retries: -1
1352 api_database:
1353 max_retries: -1
1354 cell0_database:
1355 max_retries: -1
1356 keystone_authtoken:
1357 auth_type: password
1358 auth_version: v3
1359 memcache_security_strategy: ENCRYPT
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02001360 service_type: compute
Mohammed Naser0a13cee2023-03-02 11:28:29 +01001361 notifications:
1362 notify_on_state_change: vm_and_task_state
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001363 service_user:
1364 auth_type: password
1365 send_service_user_token: false
1366 libvirt:
1367 connection_uri: "qemu+unix:///system?socket=/run/libvirt/libvirt-sock"
1368 images_type: qcow2
1369 images_rbd_pool: vms
1370 images_rbd_ceph_conf: /etc/ceph/ceph.conf
1371 rbd_user: cinder
1372 rbd_secret_uuid: 457eb676-33da-42ec-9a8c-9293d545c337
1373 disk_cachemodes: "network=writeback"
1374 hw_disk_discard: unmap
1375 upgrade_levels:
1376 compute: auto
1377 cache:
1378 enabled: true
1379 backend: dogpile.cache.memcached
1380 wsgi:
1381 api_paste_config: /etc/nova/api-paste.ini
1382 oslo_messaging_notifications:
1383 driver: messagingv2
1384 oslo_messaging_rabbit:
1385 rabbit_ha_queues: true
1386 placement:
1387 auth_type: password
1388 auth_version: v3
1389 logging:
1390 loggers:
1391 keys:
1392 - root
1393 - nova
1394 - os.brick
1395 handlers:
1396 keys:
1397 - stdout
1398 - stderr
1399 - "null"
1400 formatters:
1401 keys:
1402 - context
1403 - default
1404 logger_root:
1405 level: WARNING
1406 handlers: 'null'
1407 logger_nova:
1408 level: INFO
1409 handlers:
1410 - stdout
1411 qualname: nova
1412 logger_os.brick:
1413 level: INFO
1414 handlers:
1415 - stdout
1416 qualname: os.brick
1417 logger_amqp:
1418 level: WARNING
1419 handlers: stderr
1420 qualname: amqp
1421 logger_amqplib:
1422 level: WARNING
1423 handlers: stderr
1424 qualname: amqplib
1425 logger_eventletwsgi:
1426 level: WARNING
1427 handlers: stderr
1428 qualname: eventlet.wsgi.server
1429 logger_sqlalchemy:
1430 level: WARNING
1431 handlers: stderr
1432 qualname: sqlalchemy
1433 logger_boto:
1434 level: WARNING
1435 handlers: stderr
1436 qualname: boto
1437 handler_null:
1438 class: logging.NullHandler
1439 formatter: default
1440 args: ()
1441 handler_stdout:
1442 class: StreamHandler
1443 args: (sys.stdout,)
1444 formatter: context
1445 handler_stderr:
1446 class: StreamHandler
1447 args: (sys.stderr,)
1448 formatter: context
1449 formatter_context:
1450 class: oslo_log.formatters.ContextFormatter
1451 datefmt: "%Y-%m-%d %H:%M:%S"
1452 formatter_default:
1453 format: "%(message)s"
1454 datefmt: "%Y-%m-%d %H:%M:%S"
1455 rabbitmq:
1456 # NOTE(rk760n): adding rmq policy to mirror messages from notification queues and set expiration time for the ones
1457 policies:
1458 - vhost: "nova"
1459 name: "ha_ttl_nova"
1460 definition:
1461 # mirror messges to other nodes in rmq cluster
1462 ha-mode: "all"
1463 ha-sync-mode: "automatic"
1464 # 70s
1465 message-ttl: 70000
1466 priority: 0
1467 apply-to: all
1468 pattern: '^(?!(amq\.|reply_)).*'
1469 enable_iscsi: false
1470 archive_deleted_rows:
1471 purge_deleted_rows: false
1472 until_completion: true
1473 all_cells: false
1474 max_rows:
1475 enabled: False
1476 rows: 1000
1477 before:
1478 enabled: false
1479 date: 'nil'
1480
1481# Names of secrets used by bootstrap and environmental checks
1482secrets:
1483 identity:
1484 admin: nova-keystone-admin
1485 nova: nova-keystone-user
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001486 test: nova-keystone-test
1487 oslo_db:
1488 admin: nova-db-admin
1489 nova: nova-db-user
1490 oslo_db_api:
1491 admin: nova-db-api-admin
1492 nova: nova-db-api-user
1493 oslo_db_cell0:
1494 admin: nova-db-cell0-admin
1495 nova: nova-db-cell0-user
1496 oslo_messaging:
1497 admin: nova-rabbitmq-admin
1498 nova: nova-rabbitmq-user
1499 tls:
1500 compute:
1501 osapi:
1502 public: nova-tls-public
1503 internal: nova-tls-api
1504 compute_novnc_proxy:
1505 novncproxy:
1506 public: nova-novncproxy-tls-public
1507 internal: nova-novncproxy-tls-proxy
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001508 compute_metadata:
1509 metadata:
1510 public: metadata-tls-public
1511 internal: metadata-tls-metadata
1512 compute_spice_proxy:
1513 spiceproxy:
1514 internal: nova-tls-spiceproxy
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001515 oci_image_registry:
1516 nova: nova-oci-image-registry
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001517
1518# typically overridden by environmental
1519# values, but should include all endpoints
1520# required by this chart
1521endpoints:
1522 cluster_domain_suffix: cluster.local
1523 local_image_registry:
1524 name: docker-registry
1525 namespace: docker-registry
1526 hosts:
1527 default: localhost
1528 internal: docker-registry
1529 node: localhost
1530 host_fqdn_override:
1531 default: null
1532 port:
1533 registry:
1534 node: 5000
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001535 oci_image_registry:
1536 name: oci-image-registry
1537 namespace: oci-image-registry
1538 auth:
1539 enabled: false
1540 nova:
1541 username: nova
1542 password: password
1543 hosts:
1544 default: localhost
1545 host_fqdn_override:
1546 default: null
1547 port:
1548 registry:
1549 default: null
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001550 oslo_db:
1551 auth:
1552 admin:
1553 username: root
1554 password: password
1555 secret:
1556 tls:
1557 internal: mariadb-tls-direct
1558 nova:
1559 username: nova
1560 password: password
1561 hosts:
1562 default: mariadb
1563 host_fqdn_override:
1564 default: null
1565 path: /nova
1566 scheme: mysql+pymysql
1567 port:
1568 mysql:
1569 default: 3306
1570 oslo_db_api:
1571 auth:
1572 admin:
1573 username: root
1574 password: password
1575 nova:
1576 username: nova
1577 password: password
1578 hosts:
1579 default: mariadb
1580 host_fqdn_override:
1581 default: null
1582 path: /nova_api
1583 scheme: mysql+pymysql
1584 port:
1585 mysql:
1586 default: 3306
1587 oslo_db_cell0:
1588 auth:
1589 admin:
1590 username: root
1591 password: password
1592 nova:
1593 username: nova
1594 password: password
1595 hosts:
1596 default: mariadb
1597 host_fqdn_override:
1598 default: null
1599 path: /nova_cell0
1600 scheme: mysql+pymysql
1601 port:
1602 mysql:
1603 default: 3306
1604 oslo_messaging:
1605 auth:
1606 admin:
1607 username: rabbitmq
1608 password: password
1609 secret:
1610 tls:
1611 internal: rabbitmq-tls-direct
1612 nova:
1613 username: nova
1614 password: password
1615 statefulset:
1616 replicas: 2
1617 name: rabbitmq-rabbitmq
1618 hosts:
1619 default: rabbitmq
1620 host_fqdn_override:
1621 default: null
1622 path: /nova
1623 scheme: rabbit
1624 port:
1625 amqp:
1626 default: 5672
1627 http:
1628 default: 15672
1629 oslo_cache:
1630 auth:
1631 # NOTE(portdirect): this is used to define the value for keystone
1632 # authtoken cache encryption key, if not set it will be populated
1633 # automatically with a random value, but to take advantage of
1634 # this feature all services should be set to use the same key,
1635 # and memcache service.
1636 memcache_secret_key: null
1637 hosts:
1638 default: memcached
1639 host_fqdn_override:
1640 default: null
1641 port:
1642 memcache:
1643 default: 11211
1644 identity:
1645 name: keystone
1646 auth:
1647 admin:
1648 region_name: RegionOne
1649 username: admin
1650 password: password
1651 project_name: admin
1652 user_domain_name: default
1653 project_domain_name: default
1654 nova:
1655 role: admin
1656 region_name: RegionOne
1657 username: nova
1658 password: password
1659 project_name: service
1660 user_domain_name: service
1661 project_domain_name: service
1662 # NOTE(portdirect): the neutron user is not managed by the nova chart
1663 # these values should match those set in the neutron chart.
1664 neutron:
1665 region_name: RegionOne
1666 project_name: service
1667 user_domain_name: service
1668 project_domain_name: service
1669 username: neutron
1670 password: password
1671 # NOTE(portdirect): the ironic user is not managed by the nova chart
1672 # these values should match those set in the ironic chart.
1673 ironic:
1674 auth_type: password
1675 auth_version: v3
1676 region_name: RegionOne
1677 project_name: service
1678 user_domain_name: service
1679 project_domain_name: service
1680 username: ironic
1681 password: password
1682 placement:
1683 role: admin
1684 region_name: RegionOne
1685 username: placement
1686 password: password
1687 project_name: service
1688 user_domain_name: service
1689 project_domain_name: service
1690 test:
1691 role: admin
1692 region_name: RegionOne
1693 username: nova-test
1694 password: password
1695 project_name: test
1696 user_domain_name: service
1697 project_domain_name: service
1698 hosts:
1699 default: keystone
1700 internal: keystone-api
1701 host_fqdn_override:
1702 default: null
1703 path:
1704 default: /v3
1705 scheme:
1706 default: http
1707 port:
1708 api:
1709 default: 80
1710 internal: 5000
1711 image:
1712 name: glance
1713 hosts:
1714 default: glance-api
1715 public: glance
1716 host_fqdn_override:
1717 default: null
1718 path:
1719 default: null
1720 scheme:
1721 default: http
1722 port:
1723 api:
1724 default: 9292
1725 public: 80
1726 compute:
1727 name: nova
1728 hosts:
1729 default: nova-api
1730 public: nova
1731 host_fqdn_override:
1732 default: null
1733 # NOTE(portdirect): this chart supports TLS for fqdn over-ridden public
1734 # endpoints using the following format:
1735 # public:
1736 # host: null
1737 # tls:
1738 # crt: null
1739 # key: null
1740 path:
1741 default: "/v2.1/%(tenant_id)s"
1742 scheme:
1743 default: 'http'
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001744 service: 'http'
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001745 port:
1746 api:
1747 default: 8774
1748 public: 80
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001749 service: 8774
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001750 novncproxy:
1751 default: 6080
1752 compute_metadata:
1753 name: nova
1754 ip:
1755 # IF blank, set clusterIP and metadata_host dynamically
1756 ingress: null
1757 hosts:
1758 default: nova-metadata
1759 public: metadata
1760 host_fqdn_override:
1761 default: null
1762 path:
1763 default: /
1764 scheme:
1765 default: 'http'
1766 port:
1767 metadata:
1768 default: 8775
1769 public: 80
1770 compute_novnc_proxy:
1771 name: nova
1772 hosts:
1773 default: nova-novncproxy
1774 public: novncproxy
1775 host_fqdn_override:
1776 default: null
1777 # NOTE(portdirect): this chart supports TLS for fqdn over-ridden public
1778 # endpoints using the following format:
1779 # public:
1780 # host: null
1781 # tls:
1782 # crt: null
1783 # key: null
1784 path:
1785 default: /vnc_auto.html
1786 scheme:
1787 default: 'http'
1788 port:
1789 novnc_proxy:
1790 default: 6080
1791 public: 80
1792 compute_spice_proxy:
1793 name: nova
1794 hosts:
1795 default: nova-spiceproxy
1796 public: placement
1797 host_fqdn_override:
1798 default: null
1799 path:
1800 default: /spice_auto.html
1801 scheme:
1802 default: 'http'
1803 port:
1804 spice_proxy:
1805 default: 6082
1806 placement:
1807 name: placement
1808 hosts:
1809 default: placement-api
1810 public: placement
1811 host_fqdn_override:
1812 default: null
1813 path:
1814 default: /
1815 scheme:
1816 default: 'http'
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001817 service: 'http'
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001818 port:
1819 api:
1820 default: 8778
1821 public: 80
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001822 service: 8778
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001823 network:
1824 name: neutron
1825 hosts:
1826 default: neutron-server
1827 public: neutron
1828 host_fqdn_override:
1829 default: null
1830 path:
1831 default: null
1832 scheme:
1833 default: 'http'
1834 port:
1835 api:
1836 default: 9696
1837 public: 80
1838 baremetal:
1839 name: ironic
1840 hosts:
1841 default: ironic-api
1842 public: ironic
1843 host_fqdn_override:
1844 default: null
1845 path:
1846 default: null
1847 scheme:
1848 default: http
1849 port:
1850 api:
1851 default: 6385
1852 public: 80
1853 fluentd:
1854 namespace: null
1855 name: fluentd
1856 hosts:
1857 default: fluentd-logging
1858 host_fqdn_override:
1859 default: null
1860 path:
1861 default: null
1862 scheme: 'http'
1863 port:
1864 service:
1865 default: 24224
1866 metrics:
1867 default: 24220
1868 # NOTE(tp6510): these endpoints allow for things like DNS lookups and ingress
1869 # They are using to enable the Egress K8s network policy.
1870 kube_dns:
1871 namespace: kube-system
1872 name: kubernetes-dns
1873 hosts:
1874 default: kube-dns
1875 host_fqdn_override:
1876 default: null
1877 path:
1878 default: null
1879 scheme: http
1880 port:
1881 dns:
1882 default: 53
1883 protocol: UDP
1884 ingress:
1885 namespace: null
1886 name: ingress
1887 hosts:
1888 default: ingress
1889 port:
1890 ingress:
1891 default: 80
1892
1893pod:
1894 probes:
1895 rpc_timeout: 60
1896 rpc_retries: 2
1897 compute:
1898 default:
1899 liveness:
1900 enabled: True
1901 params:
1902 initialDelaySeconds: 120
1903 periodSeconds: 90
1904 timeoutSeconds: 70
1905 readiness:
1906 enabled: True
1907 params:
1908 initialDelaySeconds: 80
1909 periodSeconds: 90
1910 timeoutSeconds: 70
1911 api-metadata:
1912 default:
1913 liveness:
1914 enabled: True
1915 params:
1916 initialDelaySeconds: 30
1917 periodSeconds: 60
1918 timeoutSeconds: 15
1919 readiness:
1920 enabled: True
1921 params:
1922 initialDelaySeconds: 30
1923 periodSeconds: 60
1924 timeoutSeconds: 15
1925 api-osapi:
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 conductor:
1940 default:
1941 liveness:
1942 enabled: True
1943 params:
1944 initialDelaySeconds: 120
1945 periodSeconds: 90
1946 timeoutSeconds: 70
1947 readiness:
1948 enabled: True
1949 params:
1950 initialDelaySeconds: 80
1951 periodSeconds: 90
1952 timeoutSeconds: 70
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001953 novncproxy:
1954 default:
1955 liveness:
1956 enabled: True
1957 params:
1958 initialDelaySeconds: 30
1959 periodSeconds: 60
1960 timeoutSeconds: 15
1961 readiness:
1962 enabled: True
1963 params:
1964 initialDelaySeconds: 30
1965 periodSeconds: 60
1966 timeoutSeconds: 15
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001967 scheduler:
1968 default:
1969 liveness:
1970 enabled: True
1971 params:
1972 initialDelaySeconds: 120
1973 periodSeconds: 90
1974 timeoutSeconds: 70
1975 readiness:
1976 enabled: True
1977 params:
1978 initialDelaySeconds: 80
1979 periodSeconds: 90
1980 timeoutSeconds: 70
1981 compute-spice-proxy:
1982 default:
1983 liveness:
1984 enabled: True
1985 params:
1986 initialDelaySeconds: 30
1987 periodSeconds: 60
1988 timeoutSeconds: 15
1989 readiness:
1990 enabled: True
1991 params:
1992 initialDelaySeconds: 30
1993 periodSeconds: 60
1994 timeoutSeconds: 15
1995 security_context:
1996 nova:
1997 pod:
1998 runAsUser: 42424
1999 container:
2000 nova_compute_init:
2001 readOnlyRootFilesystem: true
2002 runAsUser: 0
2003 tungstenfabric_compute_init:
2004 readOnlyRootFilesystem: true
2005 allowPrivilegeEscalation: false
2006 ceph_perms:
2007 readOnlyRootFilesystem: true
2008 runAsUser: 0
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002009 nova_compute_vnc_init:
2010 readOnlyRootFilesystem: true
2011 allowPrivilegeEscalation: false
2012 nova_compute_spice_init:
2013 readOnlyRootFilesystem: true
2014 allowPrivilegeEscalation: false
2015 nova_compute:
2016 readOnlyRootFilesystem: true
2017 privileged: true
2018 nova_compute_ssh:
2019 privileged: true
2020 runAsUser: 0
2021 nova_compute_ssh_init:
2022 runAsUser: 0
2023 nova_api_metadata_init:
2024 readOnlyRootFilesystem: true
2025 allowPrivilegeEscalation: false
2026 nova_api:
2027 readOnlyRootFilesystem: true
2028 allowPrivilegeEscalation: false
2029 nova_osapi:
2030 readOnlyRootFilesystem: true
2031 allowPrivilegeEscalation: false
2032 nova_conductor:
2033 readOnlyRootFilesystem: true
2034 allowPrivilegeEscalation: false
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002035 nova_novncproxy_init:
2036 readOnlyRootFilesystem: true
2037 allowPrivilegeEscalation: false
2038 nova_novncproxy_init_assests:
2039 readOnlyRootFilesystem: true
2040 allowPrivilegeEscalation: false
2041 nova_novncproxy:
2042 readOnlyRootFilesystem: true
2043 allowPrivilegeEscalation: false
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002044 nova_scheduler:
2045 readOnlyRootFilesystem: true
2046 allowPrivilegeEscalation: false
2047 nova_spiceproxy_init:
2048 readOnlyRootFilesystem: true
2049 allowPrivilegeEscalation: false
2050 nova_spiceproxy_init_assets:
2051 readOnlyRootFilesystem: true
2052 allowPrivilegeEscalation: false
2053 nova_spiceproxy:
2054 readOnlyRootFilesystem: true
2055 allowPrivilegeEscalation: false
2056 bootstrap:
2057 pod:
2058 runAsUser: 42424
2059 container:
2060 nova_wait_for_computes_init:
2061 readOnlyRootFilesystem: true
2062 allowPrivilegeEscalation: false
2063 bootstrap:
2064 readOnlyRootFilesystem: true
2065 allowPrivilegeEscalation: false
2066 nova_cell_setup:
2067 pod:
2068 runAsUser: 42424
2069 container:
2070 nova_wait_for_computes_init:
2071 readOnlyRootFilesystem: true
2072 allowPrivilegeEscalation: false
2073 nova_cell_setup_init:
2074 readOnlyRootFilesystem: true
2075 allowPrivilegeEscalation: false
2076 nova_cell_setup:
2077 readOnlyRootFilesystem: true
2078 allowPrivilegeEscalation: false
2079 archive_deleted_rows:
2080 pod:
2081 runAsUser: 42424
2082 container:
2083 nova_archive_deleted_rows_init:
2084 readOnlyRootFilesystem: true
2085 allowPrivilegeEscalation: false
2086 nova_archive_deleted_rows:
2087 readOnlyRootFilesystem: true
2088 allowPrivilegeEscalation: false
2089 cell_setup:
2090 pod:
2091 runAsUser: 42424
2092 container:
2093 nova_cell_setup:
2094 readOnlyRootFilesystem: true
2095 allowPrivilegeEscalation: false
2096 service_cleaner:
2097 pod:
2098 runAsUser: 42424
2099 container:
2100 nova_service_cleaner:
2101 readOnlyRootFilesystem: true
2102 allowPrivilegeEscalation: false
2103 use_fqdn:
2104 # NOTE: If the option "host" is not specified in nova.conf, the host name
2105 # shown in the hypervisor host is defaulted to the short name of the host.
2106 # Setting the option here to true will cause use $(hostname --fqdn) as the
2107 # host name by default. If the short name is desired $(hostname --short),
2108 # set the option to false. Specifying a host in the nova.conf via the conf:
2109 # section will supersede the value of this option.
2110 compute: true
2111 affinity:
2112 anti:
2113 type:
2114 default: preferredDuringSchedulingIgnoredDuringExecution
2115 topologyKey:
2116 default: kubernetes.io/hostname
2117 weight:
2118 default: 10
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01002119 tolerations:
2120 nova:
2121 enabled: false
2122 tolerations:
2123 - key: node-role.kubernetes.io/master
2124 operator: Exists
2125 effect: NoSchedule
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +02002126 - key: node-role.kubernetes.io/control-plane
2127 operator: Exists
2128 effect: NoSchedule
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002129 mounts:
2130 nova_compute:
2131 init_container: null
2132 nova_compute:
2133 volumeMounts:
2134 volumes:
2135 nova_compute_ironic:
2136 init_container: null
2137 nova_compute_ironic:
2138 volumeMounts:
2139 volumes:
2140 nova_api_metadata:
2141 init_container: null
2142 nova_api_metadata:
2143 volumeMounts:
2144 volumes:
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002145 nova_api_osapi:
2146 init_container: null
2147 nova_api_osapi:
2148 volumeMounts:
2149 volumes:
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002150 nova_conductor:
2151 init_container: null
2152 nova_conductor:
2153 volumeMounts:
2154 volumes:
2155 nova_scheduler:
2156 init_container: null
2157 nova_scheduler:
2158 volumeMounts:
2159 volumes:
2160 nova_bootstrap:
2161 init_container: null
2162 nova_bootstrap:
2163 volumeMounts:
2164 volumes:
2165 nova_tests:
2166 init_container: null
2167 nova_tests:
2168 volumeMounts:
2169 volumes:
2170 nova_novncproxy:
2171 init_novncproxy: null
2172 nova_novncproxy:
2173 volumeMounts:
2174 volumes:
2175 nova_spiceproxy:
2176 init_spiceproxy: null
2177 nova_spiceproxy:
2178 volumeMounts:
2179 volumes:
2180 nova_db_sync:
2181 nova_db_sync:
2182 volumeMounts:
2183 volumes:
2184 useHostNetwork:
2185 novncproxy: true
2186 replicas:
2187 api_metadata: 1
2188 compute_ironic: 1
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002189 osapi: 1
2190 conductor: 1
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002191 scheduler: 1
2192 novncproxy: 1
2193 spiceproxy: 1
2194 lifecycle:
2195 upgrades:
2196 deployments:
2197 revision_history: 3
2198 pod_replacement_strategy: RollingUpdate
2199 rolling_update:
2200 max_unavailable: 1
2201 max_surge: 3
2202 daemonsets:
2203 pod_replacement_strategy: RollingUpdate
2204 compute:
2205 enabled: true
2206 min_ready_seconds: 0
2207 max_unavailable: 1
2208 disruption_budget:
2209 metadata:
2210 min_available: 0
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002211 osapi:
2212 min_available: 0
2213 termination_grace_period:
2214 metadata:
2215 timeout: 30
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002216 osapi:
2217 timeout: 30
2218 resources:
2219 enabled: false
2220 compute:
2221 requests:
2222 memory: "128Mi"
2223 cpu: "100m"
2224 limits:
2225 memory: "1024Mi"
2226 cpu: "2000m"
2227 compute_ironic:
2228 requests:
2229 memory: "128Mi"
2230 cpu: "100m"
2231 limits:
2232 memory: "1024Mi"
2233 cpu: "2000m"
2234 api_metadata:
2235 requests:
2236 memory: "128Mi"
2237 cpu: "100m"
2238 limits:
2239 memory: "1024Mi"
2240 cpu: "2000m"
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002241 api:
2242 requests:
2243 memory: "128Mi"
2244 cpu: "100m"
2245 limits:
2246 memory: "1024Mi"
2247 cpu: "2000m"
2248 conductor:
2249 requests:
2250 memory: "128Mi"
2251 cpu: "100m"
2252 limits:
2253 memory: "1024Mi"
2254 cpu: "2000m"
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002255 scheduler:
2256 requests:
2257 memory: "128Mi"
2258 cpu: "100m"
2259 limits:
2260 memory: "1024Mi"
2261 cpu: "2000m"
2262 ssh:
2263 requests:
2264 memory: "128Mi"
2265 cpu: "100m"
2266 limits:
2267 memory: "1024Mi"
2268 cpu: "2000m"
2269 novncproxy:
2270 requests:
2271 memory: "128Mi"
2272 cpu: "100m"
2273 limits:
2274 memory: "1024Mi"
2275 cpu: "2000m"
2276 spiceproxy:
2277 requests:
2278 memory: "128Mi"
2279 cpu: "100m"
2280 limits:
2281 memory: "1024Mi"
2282 cpu: "2000m"
2283 jobs:
2284 bootstrap:
2285 requests:
2286 memory: "128Mi"
2287 cpu: "100m"
2288 limits:
2289 memory: "1024Mi"
2290 cpu: "2000m"
2291 db_init:
2292 requests:
2293 memory: "128Mi"
2294 cpu: "100m"
2295 limits:
2296 memory: "1024Mi"
2297 cpu: "2000m"
2298 rabbit_init:
2299 requests:
2300 memory: "128Mi"
2301 cpu: "100m"
2302 limits:
2303 memory: "1024Mi"
2304 cpu: "2000m"
2305 db_sync:
2306 requests:
2307 memory: "128Mi"
2308 cpu: "100m"
2309 limits:
2310 memory: "1024Mi"
2311 cpu: "2000m"
2312 archive_deleted_rows:
2313 requests:
2314 memory: "128Mi"
2315 cpu: "100m"
2316 limits:
2317 memory: "1024Mi"
2318 cpu: "2000m"
2319 db_drop:
2320 requests:
2321 memory: "128Mi"
2322 cpu: "100m"
2323 limits:
2324 memory: "1024Mi"
2325 cpu: "2000m"
2326 ks_endpoints:
2327 requests:
2328 memory: "128Mi"
2329 cpu: "100m"
2330 limits:
2331 memory: "1024Mi"
2332 cpu: "2000m"
2333 ks_service:
2334 requests:
2335 memory: "128Mi"
2336 cpu: "100m"
2337 limits:
2338 memory: "1024Mi"
2339 cpu: "2000m"
2340 ks_user:
2341 requests:
2342 memory: "128Mi"
2343 cpu: "100m"
2344 limits:
2345 memory: "1024Mi"
2346 cpu: "2000m"
2347 tests:
2348 requests:
2349 memory: "128Mi"
2350 cpu: "100m"
2351 limits:
2352 memory: "1024Mi"
2353 cpu: "2000m"
2354 cell_setup:
2355 requests:
2356 memory: "128Mi"
2357 cpu: "100m"
2358 limits:
2359 memory: "1024Mi"
2360 cpu: "2000m"
2361 service_cleaner:
2362 requests:
2363 memory: "128Mi"
2364 cpu: "100m"
2365 limits:
2366 memory: "1024Mi"
2367 cpu: "2000m"
2368 image_repo_sync:
2369 requests:
2370 memory: "128Mi"
2371 cpu: "100m"
2372 limits:
2373 memory: "1024Mi"
2374 cpu: "2000m"
2375
2376network_policy:
2377 nova:
2378 # TODO(lamt): Need to tighten this ingress for security.
2379 ingress:
2380 - {}
2381 egress:
2382 - {}
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002383
2384# NOTE(helm_hook): helm_hook might break for helm2 binary.
2385# set helm3_hook: false when using the helm2 binary.
2386helm3_hook: true
2387
2388health_probe:
2389 logging:
2390 level: ERROR
2391
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01002392tls:
2393 identity: false
2394 oslo_messaging: false
2395 oslo_db: false
2396
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002397manifests:
2398 certificates: false
2399 configmap_bin: true
2400 configmap_etc: true
2401 cron_job_cell_setup: true
2402 cron_job_service_cleaner: true
2403 cron_job_archive_deleted_rows: false
2404 daemonset_compute: true
2405 deployment_api_metadata: true
2406 deployment_api_osapi: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002407 deployment_conductor: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002408 deployment_novncproxy: true
2409 deployment_spiceproxy: true
2410 deployment_scheduler: true
2411 ingress_metadata: true
2412 ingress_novncproxy: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002413 ingress_osapi: true
2414 job_bootstrap: true
2415 job_db_init: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002416 job_db_sync: true
2417 job_db_drop: false
2418 job_image_repo_sync: true
2419 job_rabbit_init: true
2420 job_ks_endpoints: true
2421 job_ks_service: true
2422 job_ks_user: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002423 job_cell_setup: true
2424 pdb_metadata: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002425 pdb_osapi: true
2426 pod_rally_test: true
2427 network_policy: false
2428 secret_db_api: true
2429 secret_db_cell0: true
2430 secret_db: true
2431 secret_ingress_tls: true
2432 secret_keystone: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002433 secret_rabbitmq: true
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01002434 secret_registry: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002435 service_ingress_metadata: true
2436 service_ingress_novncproxy: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002437 service_ingress_osapi: true
2438 service_metadata: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -05002439 service_novncproxy: true
2440 service_spiceproxy: true
2441 service_osapi: true
2442 statefulset_compute_ironic: false
2443...