From 9c463debabd3f8243a5673ac1ad3bcb122f31c80 Mon Sep 17 00:00:00 2001 From: Leonid Chernin Date: Wed, 30 Oct 2024 12:31:45 +0000 Subject: [PATCH] create listeners after subsystem Signed-off-by: Leonid Chernin --- control/state.py | 5 +++-- docker-compose.yaml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/control/state.py b/control/state.py index 0683e0d4..02b71bdb 100644 --- a/control/state.py +++ b/control/state.py @@ -795,10 +795,11 @@ def update(self) -> bool: with self.update_is_active_lock: prefix_list = [ GatewayState.SUBSYSTEM_PREFIX, - GatewayState.NAMESPACE_PREFIX, GatewayState.HOST_PREFIX, + GatewayState.HOST_PREFIX, + GatewayState.LISTENER_PREFIX, + GatewayState.NAMESPACE_PREFIX, GatewayState.NAMESPACE_QOS_PREFIX, GatewayState.NAMESPACE_HOST_PREFIX, - GatewayState.LISTENER_PREFIX, ] # Get version and state from OMAP diff --git a/docker-compose.yaml b/docker-compose.yaml index f480d7fa..3876bc58 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -66,7 +66,7 @@ services: environment: TOUCHFILE: /tmp/ceph.touch entrypoint: >- - sh -c './vstart.sh --new $$CEPH_VSTART_ARGS && + sh -c './vstart.sh --without-dashboard --new $$CEPH_VSTART_ARGS && echo ceph dashboard nvmeof-gateway-add -i <(echo nvmeof-devel:5500) nvmeof.1 && pushd /etc/ceph && openssl req -x509 -newkey rsa:4096 -nodes -keyout server.key -out server.crt -days 3650 -subj /CN=my.server -addext "subjectAltName = IP:192.168.13.3, IP:0.0.0.0" &&