From 86ef969187ccc4822978424c4cbde89cb754e619 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 24 Feb 2023 23:43:27 +0900 Subject: [PATCH] Zaqar: Fix missing bind options for websocket Currently zaqar websocket service always uses 127.0.0.1. This fixes that and ensures the expected IP version is used. Change-Id: I4d1a90581886f1b07f48bf1139813f3be9d41757 --- manifests/zaqar.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifests/zaqar.pp b/manifests/zaqar.pp index 6ff0c3df9..389ee1bf1 100644 --- a/manifests/zaqar.pp +++ b/manifests/zaqar.pp @@ -64,6 +64,10 @@ class openstack_integration::zaqar { # run a second instance using websockets, the Debian system does # not support the use of services to run a second instance. if $::osfamily == 'RedHat' { + class { 'zaqar::transport::websocket': + bind => $::openstack_integration::config::host, + notification_bind => $::openstack_integration::config::host, + } zaqar::server_instance{ '1': transport => 'websocket' }