MariaDB restart slave mariadb handler is called in genconfig action

Bug #1719768 reported by Duong Ha-Quang
This bug report is a duplicate of:  Bug #1707856: sudo kolla-ansible genconfig failed. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
New
Undecided
Duong Ha-Quang
Pike
New
Undecided
Unassigned

Bug Description

When use genconfig action of Kolla-ansible handler "mariadb : restart slave mariadb" is invoked and failed due to master_host is defined in mariadb bootstrap task.

RUNNING HANDLER [mariadb : restart slave mariadb] ********************************************
fatal: [node2]: FAILED! => {"failed": true, "msg": "The conditional check 'inventory_hostname != master_host' failed. The error was: error while evaluating conditional (inventory_hostname != master_host): 'master_host' is undefined\n\nThe error appears to have been in '/data/openstack/pike/kolla-ansible/ansible/roles/mariadb/handlers/main.yml': line 44, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: restart slave mariadb\n ^ here\n"}
fatal: [node1]: FAILED! => {"failed": true, "msg": "The conditional check 'inventory_hostname != master_host' failed. The error was: error while evaluating conditional (inventory_hostname != master_host): 'master_host' is undefined\n\nThe error appears to have been in '/data/openstack/pike/kolla-ansible/ansible/roles/mariadb/handlers/main.yml': line 44, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: restart slave mariadb\n ^ here\n"}
fatal: [node3]: FAILED! => {"failed": true, "msg": "The conditional check 'inventory_hostname != master_host' failed. The error was: error while evaluating conditional (inventory_hostname != master_host): 'master_host' is undefined\n\nThe error appears to have been in '/data/openstack/pike/kolla-ansible/ansible/roles/mariadb/handlers/main.yml': line 44, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: restart slave mariadb\n ^ here\n"}

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.