Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-20580

WSREP fails using stunnel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.4.8
    • Fix Version/s: 10.4
    • Component/s: Galera SST
    • Labels:
      None
    • Environment:
      Linux 5.2.8_1 #1 SMP PREEMPT x86_64 GNU/Linux

      Description

      using mariadb:10.4 dockerimage with additional galera setup in
      conf.d/galera.cnf

      [galera]
      wsrep_on=ON
      wsrep_sst_method=rsync
      wsrep_provider=/usr/lib/galera/libgalera_smm.so
      wsrep_provider_options="debug=yes;socket.ssl_cert=/etc/mysql/ssl/server.crt;socket.ssl_key=/etc/mysql/ssl/server.key"
       
      [sst]
      tkey = /etc/mysql/ssl/server.key
      tcert = /etc/mysql/ssl/server.crt
      

      the wsrep_sst_rsync script calls on line 294

      eval rsync ${STUNNEL:+--rsh="$STUNNEL"} \
      

      which leads to the stunnel error message

      [!] Invalid configuration file name "172.19.0.3" 
      

      use

      eval rsync ${STUNNEL:+--rsh=\""$STUNNEL\""}
      

      instead to set the stunnel config file correct

        Attachments

          Activity

            People

            Assignee:
            sysprg Julius Goryavsky
            Reporter:
            ubruckdorfer Uli Bruckdorfer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: