Merge "Adds support to UUID deployment-provisioning configuration"
This commit is contained in:
@@ -16,6 +16,16 @@ limitations under the License.
|
||||
|
||||
set -ex
|
||||
|
||||
{{- if and .Values.hosts_uuids (not .Values.manifests.compute_uuid_self_provisioning) }}
|
||||
# Extract Host's uuid from helm chart and save it to the compute_id file
|
||||
{{- range $host := .Values.hosts_uuids }}
|
||||
hostname="{{- $host.name}}"
|
||||
if [ "$hostname" == $HOSTNAME ]; then
|
||||
echo "{{ $host.uuid }}" > {{ $.Values.conf.nova.DEFAULT.state_path }}/compute_id
|
||||
fi
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
# Make the Nova Instances Dir as this is not autocreated.
|
||||
mkdir -p /var/lib/nova/instances
|
||||
|
||||
|
||||
@@ -2676,6 +2676,7 @@ tls:
|
||||
|
||||
manifests:
|
||||
certificates: false
|
||||
compute_uuid_self_provisioning: true
|
||||
configmap_bin: true
|
||||
configmap_etc: true
|
||||
cron_job_cell_setup: true
|
||||
@@ -2728,4 +2729,10 @@ manifests:
|
||||
service_spiceproxy: true
|
||||
service_osapi: true
|
||||
statefulset_compute_ironic: false
|
||||
|
||||
# List of compute hosts and its respective uuids
|
||||
# Items should be in the following format
|
||||
# - name: compute-node-hostname
|
||||
# uuid: <compute node's UUID>
|
||||
hosts_uuids: []
|
||||
...
|
||||
|
||||
4
releasenotes/notes/nova-e8350419e59bc440.yaml
Normal file
4
releasenotes/notes/nova-e8350419e59bc440.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
nova:
|
||||
- Adds support to UUID deployment-provisioning configuration
|
||||
...
|
||||
Reference in New Issue
Block a user