GithubHelp home page GithubHelp logo

Comments (3)

jackiehjm avatar jackiehjm commented on June 30, 2024

I will update mariadb to 10.1.20 in #16

from meta-akraino.

gaolitao avatar gaolitao commented on June 30, 2024

1st failure has been resolved by upverison of mariadb.

Remained two tasks still fail:

- name: Stop mysql
  service:
    name: mariadb
    state: stopped
  changed_when: true
  listen: Bootstrap cluster
  when:
    - not galera_cluster_ready | bool

- name: Start new cluster
  command: /usr/local/bin/galera_new_cluster
  failed_when: not start_new_cluster.rc in [0, 3]
  changed_when: start_new_cluster.rc == 3
  register: start_new_cluster
  delegate_to: "{{ galera_server_bootstrap_node }}"
  run_once: true
  when:
    - not galera_cluster_ready | bool
  listen: Bootstrap cluster

RUNNING HANDLER [galera_server : Stop mysql] ***********************************
Thursday 20 February 2020  01:58:54 -0500 (0:00:00.042)       0:00:46.658 *****
fatal: [controller-1]: FAILED! => {"changed": true, "failed": true, "msg": "Could not find the requested service mariadb: host"}

RUNNING HANDLER [galera_server : Start new cluster] ****************************
Thursday 20 February 2020  01:58:54 -0500 (0:00:00.178)       0:00:46.837 *****
fatal: [controller-1 -> 172.20.1.154]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/galera_new_cluster", "failed": true, "failed_when_result": true, "msg": "[Errno 2] No such file or directory", "rc": 2}

from meta-akraino.

gaolitao avatar gaolitao commented on June 30, 2024
  • Workaround
ln -s  /lib/systemd/system/mysqld.service /lib/systemd/system/mariadb.service
ln -s /etc/ansible/roles/galera_server/files/galera_new_cluster /usr/local/bin/galera_new_cluster

Need to check the ansible task which are responsible for these file copying work.

from meta-akraino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.