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