Galera-server failed to restart during upgrade from 14.0.0 to 14.0.1

Bug #1639900 reported by Diego Xirinachs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Low
Jesse Pretorius

Bug Description

RUNNING HANDLER [galera_server : Restart mysql fall back] **********************
FAILED - RETRYING: HANDLER: galera_server : Restart mysql fall back (3 retries left).
FAILED - RETRYING: HANDLER: galera_server : Restart mysql fall back (2 retries left).
FAILED - RETRYING: HANDLER: galera_server : Restart mysql fall back (1 retries left).
fatal: [infra1_galera_container-ea952b16]: FAILED! => {"changed": false, "failed": true, "msg": "/bin/systemctl: unrecognized option '--wsrep-new-cluster'\n/bin/systemctl: unrecognized option '--wsrep-new-cluster'\n"}

However, service seems to be healthy:

root@sjociara03:/opt/openstack-ansible/playbooks# ansible galera_container -m shell -a "mysql -h localhost \
> -e 'show status like \"%wsrep_cluster_%\";'"
Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
infra1_galera_container-ea952b16 | SUCCESS | rc=0 >>
Variable_name Value
wsrep_cluster_conf_id 1
wsrep_cluster_size 1
wsrep_cluster_state_uuid 32bda29c-9b0d-11e6-8c06-53f68ebb5f88
wsrep_cluster_status Primary

Re-running the playbook with openstack-ansible -e rabbitmq_upgrade=true setup-infrastructure.yml --limit infra1_galera_container-ea952b16 yields no error.

Running a single controller node

summary: - Galera-server failed to restart during upgrade from 14.0.0.0 to 14.0.0.1
+ Galera-server failed to restart during upgrade from 14.0.0 to 14.0.1
Changed in openstack-ansible:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Jesse Pretorius (jesse-pretorius)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-galera_server (master)

Fix proposed to branch: master
Review: https://review.openstack.org/395118

Changed in openstack-ansible:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-galera_server (master)

Reviewed: https://review.openstack.org/395118
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-galera_server/commit/?id=ff4e9c6ece0849d08f36dda93315181fe5a75339
Submitter: Jenkins
Branch: master

commit ff4e9c6ece0849d08f36dda93315181fe5a75339
Author: Jesse Pretorius <email address hidden>
Date: Tue Nov 8 18:51:39 2016 +0000

    Allow a single-node MariaDB cluster to restart properly

    With the implementation of https://review.openstack.org/382683 a single
    MariaDB node has no peers configured, so there's no need to bootstrap
    the cluster on restart.

    This patch removes the condition in the handler which previously was
    needed to handle the re-bootstrap during a single node cluster service
    restart.

    Closes-Bug: #1595143
    Closes-Bug: #1639900
    Related-Bug: #1624327
    Change-Id: I599bbf0efa4e3d5abdf6d95c95d7983c464b3ae5

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-galera_server (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/397764

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-galera_server (stable/newton)

Reviewed: https://review.openstack.org/397764
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-galera_server/commit/?id=cc58790ebefff19133b8114ad7d263409fe1ccc5
Submitter: Jenkins
Branch: stable/newton

commit cc58790ebefff19133b8114ad7d263409fe1ccc5
Author: Jesse Pretorius <email address hidden>
Date: Tue Nov 8 18:51:39 2016 +0000

    Allow a single-node MariaDB cluster to restart properly

    With the implementation of https://review.openstack.org/382683 a single
    MariaDB node has no peers configured, so there's no need to bootstrap
    the cluster on restart.

    This patch removes the condition in the handler which previously was
    needed to handle the re-bootstrap during a single node cluster service
    restart.

    Closes-Bug: #1595143
    Closes-Bug: #1639900
    Related-Bug: #1624327
    Change-Id: I599bbf0efa4e3d5abdf6d95c95d7983c464b3ae5
    (cherry picked from commit ff4e9c6ece0849d08f36dda93315181fe5a75339)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-galera_server (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/398385

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-galera_server (stable/mitaka)

Reviewed: https://review.openstack.org/398385
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-galera_server/commit/?id=a9627447c0d5504d717b63f6677ba254fc86f421
Submitter: Jenkins
Branch: stable/mitaka

commit a9627447c0d5504d717b63f6677ba254fc86f421
Author: Jesse Pretorius <email address hidden>
Date: Tue Nov 8 18:51:39 2016 +0000

    Allow a single-node MariaDB cluster to restart properly

    With the implementation of https://review.openstack.org/382683 a single
    MariaDB node has no peers configured, so there's no need to bootstrap
    the cluster on restart.

    This patch removes the condition in the handler which previously was
    needed to handle the re-bootstrap during a single node cluster service
    restart.

    Closes-Bug: #1595143
    Closes-Bug: #1639900
    Related-Bug: #1624327
    Change-Id: I599bbf0efa4e3d5abdf6d95c95d7983c464b3ae5
    (cherry picked from commit cc58790ebefff19133b8114ad7d263409fe1ccc5)

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-galera_server 15.0.0.0b1

This issue was fixed in the openstack/openstack-ansible-galera_server 15.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-galera_server 14.0.3

This issue was fixed in the openstack/openstack-ansible-galera_server 14.0.3 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-galera_server 13.3.9

This issue was fixed in the openstack/openstack-ansible-galera_server 13.3.9 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-galera_server 14.0.3

This issue was fixed in the openstack/openstack-ansible-galera_server 14.0.3 release.

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.