Error while running the VMR using docker on Ubuntu 18

Hi,
I am facing this issue while starting up the VMR on Ubuntu 18.
Has anyone faced and fixed this issue?

Starting VMR Docker Container: Wed Oct 9 06:48:32 UTC 2019
SolOS Version: soltr_9.3.0.22
ssh-keygen: generating new host keys: RSA1 RSA DSA ECDSA ED25519
** Unable to raise event; rc(would block)**

Tagged:

Best Answer

Answers

  • Thanks for asking.
    I am checking with some people with experience in this area.

  • [Deleted User]
    [Deleted User] Posts: 0
    edited October 2019 #4

    Are you installing a Docker image directly, the QCOW image, the OVA image, or something else?
    Also, if you have a longer log file of the output, please attach it as a file.

  • [Deleted User]
    [Deleted User] Posts: 0
    edited October 2019 #5

    I am told that "Unable to raise event; rc(would block)" is an error message from something that runs in the startup phase before it is ready. It is run again later, so that error does not indicate a problem.

    Can you please post, preferably as an attached file:

    • The output of: docker ps
    • The output of: docker inspect (container name)
    • The output of: docker logs (container name)
    • The actual command line you used to create the container, if you have it.

    Thanks!

  • Thierry Janaudy
    Thierry Janaudy Member Posts: 4

    docker ps -a
    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
    57e182ada568 solace/solace-pubsub-standard "/usr/sbin/boot.sh" 7 minutes ago Up 6 minutes 0.0.0.0:8080->8080/tcp, 2222/tcp, 0.0.0.0:55555->55555/tcp solace

    docker logs -f solace
    Host Boot ID: 36e65621-a5da-430b-88df-1d360b3cb64a
    Starting VMR Docker Container: Thu Oct 10 00:26:25 UTC 2019
    SolOS Version: soltr_9.3.0.22
    ssh-keygen: generating new host keys: RSA1 RSA DSA ECDSA ED25519
    Unable to raise event; rc(would block)

    docker ps -a
    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
    57e182ada568 solace/solace-pubsub-standard "/usr/sbin/boot.sh" 15 minutes ago Exited (2) 4 minutes ago solace

    docker run -d -p 8080:8080 -p 55555:55555 --shm-size=3g --env username_admin_globalaccesslevel=admin --env username_admin_password=admin --name=solace solace/solace-pubsub-standard

  • Thierry Janaudy
    Thierry Janaudy Member Posts: 4

    This one made the trick: --security-opt apparmor:unconfined
    Thanks a lot

  • [Deleted User]
    [Deleted User] Posts: 0
    edited October 2019 #9

    Hi Thierry,
    Happy to help.
    We have a bug to fix some things in those docs, and this info for Ubuntu will go in there.
    Thanks for letting us know. And I think I will ask IT for an extra machine with Ubuntu on it. (grin)

  • Thierry Janaudy
    Thierry Janaudy Member Posts: 4

    Actually, kudos to the team in Solace Singapore!