
Add "dl_path" to download the source tarball. Add "src_files" to copy local files to build directory. Copy patches to deb_folder/patches, and remove the patching commands from rules. Remove dl_hook. Test Plan: Pass: successfully build openstack-helm Pass: No difference comparing with the result of dl_hook Story: 2009101 Task: 43801 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Change-Id: I5686cdab4869f5627422c8e7f99a0ce1bdeac9a7
67 lines
2.4 KiB
Diff
67 lines
2.4 KiB
Diff
From b5ff7217bca8b5af345a8630ce76b360022336b3 Mon Sep 17 00:00:00 2001
|
|
From: Gerry Kopec <Gerry.Kopec@windriver.com>
|
|
Date: Wed, 27 Mar 2019 00:35:57 -0400
|
|
Subject: [PATCH] Nova console/ip address search optionality
|
|
|
|
Add options to nova to enable/disable the use of:
|
|
1. the vnc or spice server proxyclient address found by the console
|
|
compute init container
|
|
2. my_ip hypervisor address found by compute init container
|
|
|
|
These options can be used to prevent cases where the found addresses
|
|
overwrite what has already been defined in nova.conf by per host nova
|
|
compute daemonset overrides.
|
|
|
|
Story: 2005259
|
|
Task: 30066
|
|
Change-Id: Idf490f8b19dcd1e71a9b5fa8934461f1198a8af8
|
|
Signed-off-by: Gerry Kopec <Gerry.Kopec@windriver.com>
|
|
(cherry picked from commit f5e8ad20e35b770e5967f75f6f93f0a4dc6e3b41)
|
|
Signed-off-by: Robert Church <robert.church@windriver.com>
|
|
---
|
|
nova/templates/bin/_nova-compute.sh.tpl | 4 ++++
|
|
nova/values.yaml | 2 ++
|
|
2 files changed, 6 insertions(+)
|
|
|
|
diff --git a/nova/templates/bin/_nova-compute.sh.tpl b/nova/templates/bin/_nova-compute.sh.tpl
|
|
index 23ce347..60b0272 100644
|
|
--- a/nova/templates/bin/_nova-compute.sh.tpl
|
|
+++ b/nova/templates/bin/_nova-compute.sh.tpl
|
|
@@ -18,9 +18,13 @@ set -ex
|
|
|
|
exec nova-compute \
|
|
--config-file /etc/nova/nova.conf \
|
|
+{{- if .Values.console.address_search_enabled }}
|
|
--config-file /tmp/pod-shared/nova-console.conf \
|
|
+{{- end }}
|
|
--config-file /tmp/pod-shared/nova-libvirt.conf \
|
|
{{- if and ( empty .Values.conf.nova.DEFAULT.host ) ( .Values.pod.use_fqdn.compute ) }}
|
|
--config-file /tmp/pod-shared/nova-compute-fqdn.conf \
|
|
{{- end }}
|
|
+{{- if .Values.conf.hypervisor.address_search_enabled }}
|
|
--config-file /tmp/pod-shared/nova-hypervisor.conf
|
|
+{{- end }}
|
|
diff --git a/nova/values.yaml b/nova/values.yaml
|
|
index 6fb6237..ca92907 100644
|
|
--- a/nova/values.yaml
|
|
+++ b/nova/values.yaml
|
|
@@ -527,6 +527,7 @@ console:
|
|
vncproxy:
|
|
# IF blank, search default routing interface
|
|
vncserver_proxyclient_interface:
|
|
+ address_search_enabled: true
|
|
|
|
ceph_client:
|
|
configmap: ceph-etc
|
|
@@ -1666,6 +1666,7 @@ conf:
|
|
# If this option is set to None, the hostname of the migration target compute node will be used.
|
|
live_migration_interface:
|
|
hypervisor:
|
|
+ address_search_enabled: true
|
|
# my_ip can be set automatically through this interface name.
|
|
host_interface:
|
|
# This list is the keys to exclude from the config file ingested by nova-compute
|
|
--
|
|
1.8.3.1
|
|
|