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

WSREP fails using stunnel

    XMLWordPrintable

    Details

      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

          Issue Links

            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:
                Resolved: