🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

Error setting up HA Solace event broker

Hi


I'm having issues setting up HA group on my local docker installation.

I followed the guide:

But whenever i run the docker start command the containers get up and running for 30-45 sec. and then shuts down again.


I have setup the shared key on all docker create commands.


The last lines of logs that is presented is:

2022-04-27T06:19:11.784+00:00 <local0.warning> monitoring appuser[1]: /usr/sw                        main.cpp:752                          (SOLDAEMON    - 0x00000000) main(0)@solacedaemon                          WARN     Determining platform type: [  OK  ]

2022-04-27T06:19:11.805+00:00 <local0.warning> monitoring appuser[1]: /usr/sw                        main.cpp:752                          (SOLDAEMON    - 0x00000000) main(0)@solacedaemon                          WARN     Generating license file: [  OK  ]

2022-04-27T06:19:11.883+00:00 <local0.warning> monitoring appuser[1]: /usr/sw                        main.cpp:752                          (SOLDAEMON    - 0x00000000) main(0)@solacedaemon                          WARN     Running pre-startup checks: [  OK  ]

After that it goes to 100% CPU usage and shuts down.

In my .wslconfig file i have this text:

------------------------------------------------------------------------------------------

# Settings apply across all Linux distros running on WSL 2

[wsl2]


# Limits VM memory to use no more than 6 GB, this can be set as whole numbers using GB or MB

memory=6GB


# Sets amount of swap storage space to 2GB

swap=2GB



# Sets the VM to use four virtual processors

processors=4

---------------------------------------------------------------------------------------------

I also see this error:

Unable to raise event; rc(would block)


I'm using the version 9.13.1.38

Answers

  • TomF
    TomF Member, Employee Posts: 412 Solace Employee

    Hi @jonathanstuhrasferg,

    Are you running Docker under Windows, or under WSL2 under windows? If you're running under WSL2, you'll need to use Linux instructions. Are you able to get a single broker instance running? I use a single broker instance on WSL2 using podman, which runs fine. Also, are you running rootless?

  • swenhelge
    swenhelge Member, Employee Posts: 80 Solace Employee

    HI @jonathanstuhrasferg ,

    You are resolving this issue with Solace support, correct? I'm copied in and will add the findings here in this thread for other people to be aware of the possible gotchas.

  • jonathanstuhrasferg
    jonathanstuhrasferg Member Posts: 3

    Hi

    I created a support ticket, but for a different issue. I havent really looked at the issue here more. But from what i can understand the issue could be with the pre shared key as 1234 does not meet requirements.


    /Jonathan