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

remove check: WSREP: wsrep_sst_receive_address is set to '127.0.0.1:16001' which makes it impossible for another host to reach this one. Please set it to the address which this node can be connected at by other cluster members.

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.1(EOL), 10.2(EOL)
    • 10.1.32, 10.2.14
    • Galera SST
    • None

    Description

      WSREP: wsrep_sst_receive_address is set to '127.0.0.1:16001' which makes it impossible for another host to reach this one. Please set it to the address which this node can be connected at by other cluster members.

      Attachments

        Issue Links

          Activity

            [ERROR] WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127.0.0.1', which makes it impossible to receive state transfer from another node, since mysqld won't accept such connections. If you wish to use mysqldump state transfer method, set bind_address to allow mysql client connections from other cluster members (e.g. 0.0.0.0).

            anikitin Andrii Nikitin (Inactive) added a comment - [ERROR] WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127.0.0.1', which makes it impossible to receive state transfer from another node, since mysqld won't accept such connections. If you wish to use mysqldump state transfer method, set bind_address to allow mysql client connections from other cluster members (e.g. 0.0.0.0).
            anikitin Andrii Nikitin (Inactive) added a comment - - edited

            These two checks complicate use and testing nodes on single host , which is completely valid scenario for many cases.
            It will be easy to diagnose why this host cannot be contacted from another host, so this check doesn't really help and puts artificial requirement to have bind_address=0.0.0.0 if node is intended to be used only locally.

            anikitin Andrii Nikitin (Inactive) added a comment - - edited These two checks complicate use and testing nodes on single host , which is completely valid scenario for many cases. It will be easy to diagnose why this host cannot be contacted from another host, so this check doesn't really help and puts artificial requirement to have bind_address=0.0.0.0 if node is intended to be used only locally.

            sachin.setiya.007 Could you approve following patch:

            --- a/sql/wsrep_check_opts.cc
            +++ b/sql/wsrep_check_opts.cc
            @@ -335,7 +335,7 @@ check_opts (int const argc, const char* const argv[], struct opt opts[])
                     if (!strcasecmp(opts[BIND_ADDRESS].value, "127.0.0.1") ||
                         !strcasecmp(opts[BIND_ADDRESS].value, "localhost"))
                     {
            -            WSREP_ERROR ("wsrep_sst_method is set to 'mysqldump' yet "
            +            WSREP_WARN ("wsrep_sst_method is set to 'mysqldump' yet "
                                      "mysqld bind_address is set to '%s', which makes it "
                                      "impossible to receive state transfer from another "
                                      "node, since mysqld won't accept such connections. "
            @@ -343,7 +343,7 @@ check_opts (int const argc, const char* const argv[], struct opt opts[])
                                      "set bind_address to allow mysql client connections "
                                      "from other cluster members (e.g. 0.0.0.0).",
                                      opts[BIND_ADDRESS].value);
            -            rcode = EINVAL;
            +//            rcode = EINVAL;
                     }
                 }
            

            anikitin Andrii Nikitin (Inactive) added a comment - sachin.setiya.007 Could you approve following patch: --- a/sql/wsrep_check_opts.cc +++ b/sql/wsrep_check_opts.cc @@ -335,7 +335,7 @@ check_opts (int const argc, const char* const argv[], struct opt opts[]) if (!strcasecmp(opts[BIND_ADDRESS].value, "127.0.0.1") || !strcasecmp(opts[BIND_ADDRESS].value, "localhost")) { - WSREP_ERROR ("wsrep_sst_method is set to 'mysqldump' yet " + WSREP_WARN ("wsrep_sst_method is set to 'mysqldump' yet " "mysqld bind_address is set to '%s', which makes it " "impossible to receive state transfer from another " "node, since mysqld won't accept such connections. " @@ -343,7 +343,7 @@ check_opts (int const argc, const char* const argv[], struct opt opts[]) "set bind_address to allow mysql client connections " "from other cluster members (e.g. 0.0.0.0).", opts[BIND_ADDRESS].value); - rcode = EINVAL; +// rcode = EINVAL; } }

            People

              serg Sergei Golubchik
              anikitin Andrii Nikitin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.