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

MariaDB-Galera-server uses 'tar', but 'tar' is not in the dependency list

    XMLWordPrintable

    Details

      Description

      Using the wsrep_sst_method=rsync option with MariaDB Galera 10.0.15 requires the tar command/package, but it is not a requirement of the MariaDB-Galera-server package. When tar is missing, one is unable to build a Galera cluster with MariaDB.

      The second node which is supposed to join the boostrap node fails with:

      150114 16:05:25 [Note] WSREP: Requesting state transfer: success, donor: 1
      150114 16:05:26 [Warning] WSREP: 1.0 (db-1): State transfer to 0.0 (db-3) failed: -2 (No such file or directory)
      150114 16:05:26 [ERROR] WSREP: gcs/src/gcs_group.c:gcs_group_handle_join_msg():723: Will never receive state. Need to abort.

      The donor / bootstrap node fails with:

      WSREP_SST: [INFO] Preparing binlog files for transfer: (20150114 16:05:26.462)
      /usr//bin/wsrep_sst_rsync: line 160: tar: command not found
      150114 16:05:26 [ERROR] WSREP: Failed to read from: wsrep_sst_rsync --role 'donor' --address '10.0.3.3:4444/rsync_sst' --auth '(null)' --socket '/var/lib/mysql/mysql.sock' --datadir '/var/lib/mysql/' --defaults-file '/etc/my.cnf'  --binlog 'db-1-bin' --gtid 'b56de1d2-9bfe-11e4-af29-5a88b2f91ec3:0'
      150114 16:05:26 [ERROR] WSREP: Process completed with error: wsrep_sst_rsync --role 'donor' --address '10.0.3.3:4444/rsync_sst' --auth '(null)' --socket '/var/lib/mysql/mysql.sock' --datadir '/var/lib/mysql/' --defaults-file '/etc/my.cnf'  --binlog 'db-1-bin' --gtid 'b56de1d2-9bfe-11e4-af29-5a88b2f91ec3:0': 2 (No such file or directory)
      150114 16:05:26 [Note] WSREP: resuming provider at 29
      150114 16:05:26 [Note] WSREP: Provider resumed.
      150114 16:05:26 [ERROR] WSREP: Command did not run: wsrep_sst_rsync --role 'donor' --address '10.0.3.3:4444/rsync_sst' --auth '(null)' --socket '/var/lib/mysql/mysql.sock' --datadir '/var/lib/mysql/' --defaults-file '/etc/my.cnf'  --binlog 'db-1-bin' --gtid 'b56de1d2-9bfe-11e4-af29-5a88b2f91ec3:0'
      150114 16:05:26 [Warning] WSREP: 1.0 (db-1): State transfer to 0.0 (db-3) failed: -2 (No such file or directory)

      Inspecting the requirements of the MariaDB-Galera-server.x86_64 package yields:

      $ rpm -q --requires MariaDB-Galera-server.x86_64
      /bin/bash
      /bin/sh
      /bin/sh
      /bin/sh
      /bin/sh
      /bin/sh
      /usr/bin/perl
      MariaDB-client
      MariaDB-common
      config(MariaDB-Galera-server) = 10.0.15-1.el7.centos
      coreutils
      findutils
      galera
      gawk
      grep
      iproute
      ld-linux-x86-64.so.2()(64bit)
      ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)
      libaio.so.1()(64bit)
      libaio.so.1(LIBAIO_0.1)(64bit)
      libaio.so.1(LIBAIO_0.4)(64bit)
      libc.so.6()(64bit)
      libc.so.6(GLIBC_2.14)(64bit)
      libc.so.6(GLIBC_2.15)(64bit)
      libc.so.6(GLIBC_2.17)(64bit)
      libc.so.6(GLIBC_2.2.5)(64bit)
      libc.so.6(GLIBC_2.3)(64bit)
      libc.so.6(GLIBC_2.3.2)(64bit)
      libc.so.6(GLIBC_2.3.4)(64bit)
      libc.so.6(GLIBC_2.4)(64bit)
      libc.so.6(GLIBC_2.7)(64bit)
      libcrypt.so.1()(64bit)
      libcrypt.so.1(GLIBC_2.2.5)(64bit)
      libcrypto.so.10()(64bit)
      libcrypto.so.10(libcrypto.so.10)(64bit)
      libdl.so.2()(64bit)
      libdl.so.2(GLIBC_2.2.5)(64bit)
      libm.so.6()(64bit)
      libm.so.6(GLIBC_2.2.5)(64bit)
      libpam.so.0()(64bit)
      libpam.so.0(LIBPAM_1.0)(64bit)
      libpthread.so.0()(64bit)
      libpthread.so.0(GLIBC_2.2.5)(64bit)
      libpthread.so.0(GLIBC_2.3.2)(64bit)
      librt.so.1()(64bit)
      librt.so.1(GLIBC_2.2.5)(64bit)
      libssl.so.10()(64bit)
      libssl.so.10(libssl.so.10)(64bit)
      libstdc++.so.6()(64bit)
      libstdc++.so.6(CXXABI_1.3)(64bit)
      libstdc++.so.6(GLIBCXX_3.4)(64bit)
      libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
      libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
      libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
      libz.so.1()(64bit)
      libz.so.1(ZLIB_1.2.0)(64bit)
      lsof
      perl(DBI)
      perl(Data::Dumper)
      perl(File::Basename)
      perl(File::Copy)
      perl(File::Path)
      perl(File::Temp)
      perl(Getopt::Long)
      perl(POSIX)
      perl(Sys::Hostname)
      perl(strict)
      perl(vars)
      rpmlib(CompressedFileNames) <= 3.0.4-1
      rpmlib(FileDigests) <= 4.6.0-1
      rpmlib(PayloadFilesHavePrefix) <= 4.0-1
      rsync
      rtld(GNU_HASH)
      rpmlib(PayloadIsXz) <= 5.2-1

        Attachments

          Activity

            People

            Assignee:
            nirbhay_c Nirbhay Choubey (Inactive)
            Reporter:
            frensjan Frens Jan Rumph
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration