Management UI in Cluster if single node is down

62 views
Skip to first unread message

Thomas Paetz

unread,
Jun 14, 2023, 7:02:45 AM6/14/23
to rabbitmq-users
Hi! We're running a 3 node cluster for testing purposes (docker containers, rabbitmq-3.12.0-management).

Once we shut one node down, the management ui on the other nodes does not show any data any more, the screen stays entirely blank.

'rabbitmq-diagnostics cluster_status' also does not repond but times out eventually.

Is this behaviour entended? I'd rather expect the management ui to show one node as "down" and proper status of the other ones.

Regards, Thomas

Michal Kuratczyk

unread,
Jun 14, 2023, 7:49:38 AM6/14/23
to rabbitm...@googlegroups.com
Hi,

What you expect is how it works:
Screenshot 2023-06-14 at 13.47.09.png

There must be something else going on, not just a single node down. If you have a docker-based test env, feel free to share it.


--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/33ec113d-6c3c-4c31-b054-d3ea788294b2n%40googlegroups.com.


--
Michał
RabbitMQ team

Thomas Paetz

unread,
Jun 15, 2023, 9:19:22 AM6/15/23
to rabbitmq-users
Thanks a lot for your quick response! I've setup a minimal environment, see below.

- Right after I shutdown container rabbitmq-02, I see a screen like you.
- After hitting refresh in the browser or changing from "overview" to "queues", the screen stays blank for a minute or so. After that the page is displayed correctly.

Is there a time out or similar, that I have to configure?

Regards, Thomas
 

docker-compose.yml:
################
version: "3.7"

services:
  rabbitmq-01:
    image: rabbitmq:3.12-management
    hostname: rabbitmq-01
    container_name: rabbitmq-01
    environment:
      - RABBITMQ_ERLANG_COOKIE=IYCmrT+iyYdLeNSEO/H14B==
      - RABBITMQ_CONFIG_FILE=/config/rabbitmq
    volumes:
      - /home/pat/src/docker/rabbitmq/rabbitmq-01:/config
    ports:
      - "5672:5672"
      - "15672:15672"

  rabbitmq-02:
    image: rabbitmq:3.12-management
    hostname: rabbitmq-02
    container_name: rabbitmq-02
    environment:
      - RABBITMQ_ERLANG_COOKIE=IYCmrT+iyYdLeNSEO/H14B==
      - RABBITMQ_CONFIG_FILE=/config/rabbitmq
    volumes:
      - /home/pat/src/docker/rabbitmq/rabbitmq-02:/config


rabbitmq.conf (both files identical for each nodes)
###########
loopback_users.guest = true
cluster_formation.peer_discovery_backend = rabbit_peer_discovery_classic_config
cluster_formation.classic_config.nodes.1 = rabbit@rabbitmq-01
cluster_formation.classic_config.nodes.2 = rabbit@rabbitmq-02
Reply all
Reply to author
Forward
0 new messages