From 6537beb2c47448861f4e002798e86fe569f33197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pedro=20Alexandroni=20Cordova=20de=20Sousa?= Date: Tue, 12 Apr 2022 11:47:40 -0300 Subject: [PATCH] Added patch to support ipv6 on keystone MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The keystone wasn't responding to ipv6. This patch changed the bind address to support ipv6. TEST PLAN for Debian PASS: AIO-SX ipv4 bootstrap PASS: AIO-SX ipv4 unlock PASS: AIO-SX ipv6 bootstrap PASS: AIO-SX ipv6 unlock Story: 2009964 Task: 45047 Signed-off-by: João Pedro Alexandroni Cordova de Sousa Change-Id: Ie68c54c07da27625ebe587f5257c64a8192a1276 --- .../debian/deb_patches/add-ipv6-support.patch | 24 +++++++++++++++++++ .../debian/deb_patches/series | 1 + 2 files changed, 25 insertions(+) create mode 100644 openstack/openstack-pkg-tools/debian/deb_patches/add-ipv6-support.patch diff --git a/openstack/openstack-pkg-tools/debian/deb_patches/add-ipv6-support.patch b/openstack/openstack-pkg-tools/debian/deb_patches/add-ipv6-support.patch new file mode 100644 index 00000000..6bfe31f5 --- /dev/null +++ b/openstack/openstack-pkg-tools/debian/deb_patches/add-ipv6-support.patch @@ -0,0 +1,24 @@ +From b894128b1014390591a7646c7af34be9fd32a22a Mon Sep 17 00:00:00 2001 +Author: João Pedro Alexandroni +Date: Tue, 12 Apr 2022 11:41:11 -0300 +Subject: [PATCH] Descritpion: Add ipv6 support for keystone + +--- + init-template/init-script-template | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/init-template/init-script-template b/init-template/init-script-template +index c0df791..2cd88a7 100644 +--- a/init-template/init-script-template ++++ b/init-template/init-script-template +@@ -57,7 +57,7 @@ if [ -n "${UWSGI_PORT}" ] && [ -n "${UWSGI_INI_PATH}" ] && [ -n "${UWSGI_INI_APP + fi + fi + else +- UWSGI_BIND_IP="" ++ UWSGI_BIND_IP="[::]" + fi + + if [ -n "${KEY_FILE}" ] && [ -n "${CERT_FILE}" ] ; then +-- +2.17.1 \ No newline at end of file diff --git a/openstack/openstack-pkg-tools/debian/deb_patches/series b/openstack/openstack-pkg-tools/debian/deb_patches/series index 315d03bb..5773114b 100644 --- a/openstack/openstack-pkg-tools/debian/deb_patches/series +++ b/openstack/openstack-pkg-tools/debian/deb_patches/series @@ -1 +1,2 @@ stx-add-wheel-support.patch +add-ipv6-support.patch