2016-06-22 11:11:32 |
Vitaliy Nogin |
description |
Detailed bug description:
During the upgrade Mitaka->Newton mysql doesn't start properly
TASK [galera_server : Start MySQL] *********************************************
fatal: [infra1_galera_container-7b8c247e]: FAILED! => {"changed": true, "cmd": "for i in {1..3}; do\n /etc/init.d/mysql start || true\n if pgrep mysqld; then\n exit 0\n else\n sleep 2\n fi\n done\n echo \"Service failed to start\"\n exit 1", "delta": "0:30:18.315926", "end": "2016-06-22 12:38:01.590688", "failed": true, "rc": 1, "start": "2016-06-22 12:07:43.274762", "stderr": "", "stdout": " * Starting MariaDB database server mysqld\n ...fail!\nService failed to start", "stdout_lines": [" * Starting MariaDB database server mysqld", " ...fail!", "Service failed to start"], "warnings": []}
It seems that galera_upgrade_post.yml playbook should be reviewed.
Steps to reproduce:
Run upgrade from M to N
Expected results:
Mysql should be started without errors
Actual result:
Error during the task running
Reproducibility:
100%
Workaround:
If I run the following command dirung the playbook running:
openstack-ansible galera-install.yml --tags galera-bootstrap
then mysql will be started.
Impact:
- |
Detailed bug description:
During the upgrade Mitaka->Newton mysql doesn't start properly
TASK [galera_server : Start MySQL] *********************************************
fatal: [infra1_galera_container-7b8c247e]: FAILED! => {"changed": true, "cmd": "for i in {1..3}; do\n /etc/init.d/mysql start || true\n if pgrep mysqld; then\n exit 0\n else\n sleep 2\n fi\n done\n echo \"Service failed to start\"\n exit 1", "delta": "0:30:18.315926", "end": "2016-06-22 12:38:01.590688", "failed": true, "rc": 1, "start": "2016-06-22 12:07:43.274762", "stderr": "", "stdout": " * Starting MariaDB database server mysqld\n ...fail!\nService failed to start", "stdout_lines": [" * Starting MariaDB database server mysqld", " ...fail!", "Service failed to start"], "warnings": []}
It seems that galera_upgrade_post.yml playbook should be reviewed.
Steps to reproduce:
Run upgrade from M to N
Expected results:
Mysql should be started without errors
Actual result:
Error during the task running
Reproducibility:
100%
Workaround:
If I run the following command during the playbook running:
openstack-ansible galera-install.yml --tags galera-bootstrap
then mysql will be started.
Impact:
- |
|