fail to cluster mariadb when running ansible on one node

Bug #1947589 reported by Seena Fallah
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Seena Fallah

Bug Description

In the case of running MariaDB role on one host using --limit flag the wsrep_cluster_address will be empty and MariaDB can't be a cluster.

Changed in kolla-ansible:
status: New → In Progress
Seena Fallah (clwluvw)
Changed in kolla-ansible:
assignee: nobody → Seena Fallah (clwluvw)
Revision history for this message
Mark Goddard (mgoddard) wrote :

This bug report doesn't really describe the user-visible effects of the issue.

Changed in kolla-ansible:
importance: Undecided → Medium
Seena Fallah (clwluvw)
description: updated
summary: - mariadb: use add_host to include inactive hosts in shard grouping
+ fail to cluster mariadb when running ansible on one node
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/814276
Committed: https://opendev.org/openstack/kolla-ansible/commit/68cd2a055371cc25a0502ff4db22fbcdececd478
Submitter: "Zuul (22348)"
Branch: master

commit 68cd2a055371cc25a0502ff4db22fbcdececd478
Author: Seena Fallah <email address hidden>
Date: Sat Oct 16 22:34:21 2021 +0330

    mariadb: use add_host to include inactive hosts in shard grouping

    In case of running mariadb role with --limit the group_by module will only include the limited hosts and other hosts that are not limited by ansible will not be included.
    Using add_host will add all hosts in mariadb group to their shards group

    Signed-off-by: Seena Fallah <email address hidden>
    Change-Id: I1331698e313bd714a16fc35f38fb579d75b56370
    Closes-Bug: #1947589

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

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/816652

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/816653

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

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/816652
Committed: https://opendev.org/openstack/kolla-ansible/commit/06218e2642714250f941927849cbab29d3898467
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 06218e2642714250f941927849cbab29d3898467
Author: Seena Fallah <email address hidden>
Date: Sat Oct 16 22:34:21 2021 +0330

    mariadb: use add_host to include inactive hosts in shard grouping

    In case of running mariadb role with --limit the group_by module will only include the limited hosts and other hosts that are not limited by ansible will not be included.
    Using add_host will add all hosts in mariadb group to their shards group

    Signed-off-by: Seena Fallah <email address hidden>
    Change-Id: I1331698e313bd714a16fc35f38fb579d75b56370
    Closes-Bug: #1947589
    (cherry picked from commit 68cd2a055371cc25a0502ff4db22fbcdececd478)

tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/816653
Committed: https://opendev.org/openstack/kolla-ansible/commit/c6b27b2a8db9db59e0672074ce0971f318074008
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit c6b27b2a8db9db59e0672074ce0971f318074008
Author: Seena Fallah <email address hidden>
Date: Sat Oct 16 22:34:21 2021 +0330

    mariadb: use add_host to include inactive hosts in shard grouping

    In case of running mariadb role with --limit the group_by module will only include the limited hosts and other hosts that are not limited by ansible will not be included.
    Using add_host will add all hosts in mariadb group to their shards group

    Signed-off-by: Seena Fallah <email address hidden>
    Change-Id: I1331698e313bd714a16fc35f38fb579d75b56370
    Closes-Bug: #1947589
    (cherry picked from commit 68cd2a055371cc25a0502ff4db22fbcdececd478)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 13.0.0.0rc2

This issue was fixed in the openstack/kolla-ansible 13.0.0.0rc2 release candidate.

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

This issue was fixed in the openstack/kolla-ansible 12.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 14.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 14.0.0.0rc1 release candidate.

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.