Workaround for MariaDB 10.3 deployment failure on ClusterControl

Follow

Comments

5 comments

  • Avatar
    Paul Namuag

    Just an update:

     

    MaiaDB 10.3.11 has already fixed this. So you'll notice that in /bin/galera_new_cluster, instead of "return", the "exit" function is now used.

    0
    Comment actions Permalink
  • Avatar
    Star Florist

    Very useful. Thanks for Sharing.

    0
    Comment actions Permalink
  • Avatar
    Blake Wyman

    The new update is pretty complete and I like it.

    basket random

    0
    Comment actions Permalink
  • Avatar
    Lennon Ampere

    Thanks for sharing these detailed steps! It’s a solid workaround for deploying a 3-node MariaDB 10.3 Galera Cluster despite the current limitations with the known issue. Your method of letting ClusterControl handle each node’s installation individually, followed by manually editing the galera_new_cluster script, seems like an effective approach to bypass the issue until MariaDB resolves it. This will help others facing deployment challenges with ClusterControl to achieve a stable setup for their clusters, even if it requires a bit more manual input. Great work, and thanks for contributing to the community!

    1
    Comment actions Permalink
  • Avatar
    Jasbon Jonwick

    1. Install Software on All Nodes (Individually):

    • In ClusterControl:
      Deploy -> MySQL Galera -> Setup SSH and Cluster Name -> Select MariaDB 10.3

    • Add one node at a time (change IP/hostname per node).

    • This installs the packages via ClusterControl, but not the full cluster.

    2. Stop MariaDB on All Nodes:

    bash
    CopyEdit
    systemctl stop mariadb

    3. Modify galera_new_cluster Script:

    • Edit /bin/galera_new_cluster

    • Change the final line from:

      bash
      CopyEdit
      return $extcode

      to:

      bash
      CopyEdit
      exit $extcode

    4. Deploy the Cluster (Without Reinstalling Software):

    • Back in ClusterControl:

      • Deploy -> MySQL Galera

      • Uncheck "Install Software" (leave it blank)

      • Continue, select MariaDB 10.3

      • Now add all 3 nodes at once

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk