blob: 5635922f6f5ecf358a8eab9f807b9c3028074f83 [file] [log] [blame]
Mohammed Naserb7b97d62022-03-12 16:30:00 -05001# Copyright (c) 2022 VEXXHOST, Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
15_openstack_helm_nova_values: "{{ __openstack_helm_nova_values | combine(openstack_helm_nova_values, recursive=True) }}"
16__openstack_helm_nova_values:
17 endpoints: "{{ openstack_helm_endpoints }}"
18 labels:
19 agent:
20 compute_ironic:
21 node_selector_key: openstack-control-plane
22 node_selector_value: enabled
23 images:
Mohammed Naserb9c32bf2022-09-07 17:06:33 -040024 pull_policy: Always
Mohammed Naserb7b97d62022-03-12 16:30:00 -050025 tags:
26 bootstrap: "{{ openstack_helm_nova_image_repository }}/heat:{{ openstack_helm_nova_heat_image_tag }}"
27 db_drop: "{{ openstack_helm_nova_image_repository }}/heat:{{ openstack_helm_nova_heat_image_tag }}"
28 db_init: "{{ openstack_helm_nova_image_repository }}/heat:{{ openstack_helm_nova_heat_image_tag }}"
29 dep_check: "{{ openstack_helm_nova_image_repository }}/kubernetes-entrypoint:latest"
30 ks_endpoints: "{{ openstack_helm_nova_image_repository }}/heat:{{ openstack_helm_nova_heat_image_tag }}"
31 ks_service: "{{ openstack_helm_nova_image_repository }}/heat:{{ openstack_helm_nova_heat_image_tag }}"
32 ks_user: "{{ openstack_helm_nova_image_repository }}/heat:{{ openstack_helm_nova_heat_image_tag }}"
33 nova_api: "{{ openstack_helm_nova_image_repository }}/nova:{{ openstack_helm_nova_image_tag }}"
34 nova_archive_deleted_rows: "{{ openstack_helm_nova_image_repository }}/nova:{{ openstack_helm_nova_image_tag }}"
35 nova_cell_setup_init: "{{ openstack_helm_nova_image_repository }}/heat:{{ openstack_helm_nova_heat_image_tag }}"
36 nova_cell_setup: "{{ openstack_helm_nova_image_repository }}/nova:{{ openstack_helm_nova_image_tag }}"
37 # TODO(mnaser): Fix Ironic images
38 nova_compute_ironic: "docker.io/kolla/ubuntu-source-nova-compute-ironic:wallaby"
39 nova_compute_ssh: "{{ openstack_helm_nova_image_repository }}/nova-ssh:{{ openstack_helm_nova_ssh_image_tag }}"
40 nova_compute: "{{ openstack_helm_nova_image_repository }}/nova:{{ openstack_helm_nova_image_tag }}"
41 nova_conductor: "{{ openstack_helm_nova_image_repository }}/nova:{{ openstack_helm_nova_image_tag }}"
42 nova_consoleauth: "{{ openstack_helm_nova_image_repository }}/nova:{{ openstack_helm_nova_image_tag }}"
43 nova_db_sync: "{{ openstack_helm_nova_image_repository }}/nova:{{ openstack_helm_nova_image_tag }}"
44 nova_novncproxy_assets: "{{ openstack_helm_nova_image_repository }}/nova:{{ openstack_helm_nova_image_tag }}"
45 nova_novncproxy: "{{ openstack_helm_nova_image_repository }}/nova:{{ openstack_helm_nova_image_tag }}"
46 nova_placement: "{{ openstack_helm_nova_image_repository }}/nova:{{ openstack_helm_nova_image_tag }}"
47 nova_scheduler: "{{ openstack_helm_nova_image_repository }}/nova:{{ openstack_helm_nova_image_tag }}"
48 nova_service_cleaner: "{{ openstack_helm_nova_image_repository }}/cli:latest"
49 nova_spiceproxy_assets: "{{ openstack_helm_nova_image_repository }}/nova:{{ openstack_helm_nova_image_tag }}"
50 nova_spiceproxy: "{{ openstack_helm_nova_image_repository }}/nova:{{ openstack_helm_nova_image_tag }}"
51 rabbit_init: "{{ openstack_helm_nova_image_repository }}/rabbitmq:3.8.23-management"
Mohammed Naser01338322022-03-22 14:51:31 -040052 network:
53 ssh:
54 enabled: true
55 public_key: "{{ _nova_ssh_publickey.public_key }}"
56 private_key: "{{ openstack_helm_nova_ssh_key }}"
Mohammed Naserb7b97d62022-03-12 16:30:00 -050057 bootstrap:
58 structured:
59 flavors:
60 enabled: false
61 pod:
62 replicas:
63 api_metadata: 3
64 osapi: 3
65 conductor: 3
66 scheduler: 3
67 novncproxy: 3
68 spiceproxy: 3
69 conf:
Mohammed Naser92f11502022-08-10 17:24:32 -040070 ceph:
71 enabled: "{{ atmosphere_ceph_enabled | default(true) | bool }}"
Mohammed Naserb7b97d62022-03-12 16:30:00 -050072 paste:
73 composite:openstack_compute_api_v21:
74 keystone: cors http_proxy_to_wsgi compute_req_id faultwrap sizelimit authtoken keystonecontext osapi_compute_app_v21
75 composite:openstack_compute_api_v21_legacy_v2_compatible:
76 keystone: cors http_proxy_to_wsgi compute_req_id faultwrap sizelimit authtoken keystonecontext legacy_v2_compatible osapi_compute_app_v21
77 nova:
78 DEFAULT:
okozachenko7cda09a2022-04-07 23:25:03 +100079 allow_resize_to_same_host: true
Mohammed Naserb7b97d62022-03-12 16:30:00 -050080 cpu_allocation_ratio: 4.5
81 ram_allocation_ratio: 0.9
82 disk_allocation_ratio: 3.0
83 resume_guests_state_on_host_boot: true
84 osapi_compute_workers: 8
85 metadata_workers: 8
86 cache:
87 backend: oslo_cache.memcache_pool
88 cinder:
89 catalog_info: volumev3::internalURL
90 conductor:
91 workers: 8
guilhermesteinmuller72a48af2022-05-06 12:29:11 -030092 compute:
93 consecutive_build_service_disable_threshold: 0
Mohammed Naserb7b97d62022-03-12 16:30:00 -050094 cors:
95 allowed_origin: "*"
96 allow_headers: "X-Auth-Token,X-OpenStack-Nova-API-Version"
97 filter_scheduler:
Mohammed Naser511c3fa2022-03-17 17:54:10 -040098 enabled_filters:
Mohammed Naserf8384592022-08-19 09:34:39 -040099 AvailabilityZoneFilter,
Mohammed Naser511c3fa2022-03-17 17:54:10 -0400100 ComputeFilter,
101 AggregateTypeAffinityFilter,
102 ComputeCapabilitiesFilter,
103 PciPassthroughFilter,
104 ImagePropertiesFilter,
105 ServerGroupAntiAffinityFilter,
106 ServerGroupAffinityFilter
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500107 image_properties_default_architecture: x86_64
108 max_instances_per_host: 200
109 glance:
110 enable_rbd_download: true
111 neutron:
112 metadata_proxy_shared_secret: "{{ openstack_helm_endpoints['compute_metadata']['secret'] }}"
ricolin2d8dd482022-07-07 06:55:02 +0800113 oslo_messaging_notifications:
114 driver: noop
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500115 scheduler:
116 workers: 8
117 nova_ironic:
118 DEFAULT:
119 log_config_append: null
120 force_config_drive: true
121 manifests:
122 deployment_consoleauth: false
123 deployment_placement: false
124 ingress_metadata: false
125 ingress_novncproxy: false
126 ingress_osapi: false
127 ingress_placement: false
128 job_db_init_placement: false
129 job_ks_placement_endpoints: false
130 job_ks_placement_service: false
131 job_ks_placement_user: false
132 secret_keystone_placement: false
133 service_ingress_metadata: false
134 service_ingress_novncproxy: false
135 service_ingress_osapi: false
136 service_ingress_placement: false
137 service_placement: false
Mohammed Nasera5239662022-05-28 18:08:12 +0200138 # NOTE(mnaser): Enable this once we've got Ironic deployed.
139 statefulset_compute_ironic: false