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