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

galera_new_cluster does not work on new cluster

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.1.16
    • 10.1.17
    • Galera, Packaging, wsrep
    • None
    • Centos 7.x

    Description

      Trying to start the first node if the cluster has never been created before with galera_new_cluster does not work.

      The unique way to make it work is comming out the "pre":

      #ExecStartPre=/bin/sh -c "systemctl unset-environment _WSREP_START_POSITION"
      #ExecStartPre=/bin/sh -c "VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ] && \

      1. systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1"
      log
      Jul 26 11:37:28 web01.tribuna.inc mysqld[13373]: WSREP: Failed to recover position: '2016-07-26 11:37:26 140709822269568 [Note] /usr/sbin/mysqld (mysqld 10.1.16-MariaDB) starting as process 13609 ...'
      Jul 26 11:37:28 web01.tribuna.inc systemd[1]: mariadb.service: control process exited, code=exited status=1
      Jul 26 11:37:28 web01.tribuna.inc systemd[1]: Failed to start MariaDB database server.
      Jul 26 11:37:28 web01.tribuna.inc systemd[1]: Unit mariadb.service entered failed state.
      Jul 26 11:37:28 web01.tribuna.inc systemd[1]: mariadb.service failed.

      Attachments

        Issue Links

          Activity

            People

              nirbhay_c Nirbhay Choubey (Inactive)
              koma85 Andrea Cervesato
              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.