Clustercheck dependency "xinetd" to be removed from next centos base

Bug #1928693 reported by Damien Ciabrini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Damien Ciabrini

Bug Description

Currently in HA overcloud, HAProxy probes the status of galera servers by connecting to port 9200 on every controller node. This port is managed by xinetd, and every connection to it triggers the run of the "clustercheck" script.

xinet is scheduled to be retired of base CentOS, so the clustercheck service should be exposed via another base component, such as for example socat, which is already part of the galera container image.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to puppet-tripleo (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/puppet-tripleo/+/791772

Changed in tripleo:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to puppet-tripleo (master)

Reviewed: https://review.opendev.org/c/openstack/puppet-tripleo/+/791772
Committed: https://opendev.org/openstack/puppet-tripleo/commit/5c11340b81d8cc9c18061b8a20f991b1130639f0
Submitter: "Zuul (22348)"
Branch: master

commit 5c11340b81d8cc9c18061b8a20f991b1130639f0
Author: Damien Ciabrini <email address hidden>
Date: Mon May 17 17:22:14 2021 +0200

    Add socat listen backend to clustercheck service

    Allow clustercheck to be started on-demand by either socat or
    xinetd. T-h-t configures the backend to be run by Kolla at
    container start.

    Change-Id: Ie7ede82a755e729d66e077f97e87b3d6c816ed3c
    Related-Bug: #1928693

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/791773
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/ad95ac04e2725cea4cbd1660f0faf412788bf79d
Submitter: "Zuul (22348)"
Branch: master

commit ad95ac04e2725cea4cbd1660f0faf412788bf79d
Author: Damien Ciabrini <email address hidden>
Date: Mon May 17 17:38:48 2021 +0200

    Make clustercheck service accessible over socat

    Allow clustercheck to be started on-demand by socat in addition
    to xinetd. Make socat the new default as xinetd will get deprecated
    eventually.

    Depends-On: Ie7ede82a755e729d66e077f97e87b3d6c816ed3c
    Change-Id: I7d87b5861a576cf4849a25cd1d3f5e77568de1e4
    Closes-Bug: #1928693

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to puppet-tripleo (stable/wallaby)

Related fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/puppet-tripleo/+/792666

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

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/792667

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to puppet-tripleo (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/puppet-tripleo/+/792666
Committed: https://opendev.org/openstack/puppet-tripleo/commit/a77fefb671b59f2a950efef230acdd298d8b1caf
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit a77fefb671b59f2a950efef230acdd298d8b1caf
Author: Damien Ciabrini <email address hidden>
Date: Mon May 17 17:22:14 2021 +0200

    Add socat listen backend to clustercheck service

    Allow clustercheck to be started on-demand by either socat or
    xinetd. T-h-t configures the backend to be run by Kolla at
    container start.

    Change-Id: Ie7ede82a755e729d66e077f97e87b3d6c816ed3c
    Related-Bug: #1928693

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/792667
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/d6c2740a8f03cfff0faeb34fa0835b892559bd0c
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit d6c2740a8f03cfff0faeb34fa0835b892559bd0c
Author: Damien Ciabrini <email address hidden>
Date: Mon May 17 17:38:48 2021 +0200

    Make clustercheck service accessible over socat

    Allow clustercheck to be started on-demand by socat in addition
    to xinetd. Make socat the new default as xinetd will get deprecated
    eventually.

    Depends-On: Ie7ede82a755e729d66e077f97e87b3d6c816ed3c
    Change-Id: I7d87b5861a576cf4849a25cd1d3f5e77568de1e4
    Closes-Bug: #1928693

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-common/+/794798
Committed: https://opendev.org/openstack/tripleo-common/commit/fbc188ddbb5e97a2c9eb1a6a4d674ba95cabc8de
Submitter: "Zuul (22348)"
Branch: master

commit fbc188ddbb5e97a2c9eb1a6a4d674ba95cabc8de
Author: Michele Baldessari <email address hidden>
Date: Fri Jun 4 14:43:03 2021 +0200

    Remove xinetd from the mariadb container

    Via I7d87b5861a576cf4849a25cd1d3f5e77568de1e4 "Make clustercheck service
    accessible over socat" we switched to using socat instead of xinetd for
    the clustercheck.

    Let's remove it from the container and also make sure that socat is
    included explicitely in order to avoid surprises.

    Related-Bug: #1928693

    Change-Id: I3773b5736a197915d50c6b68cd62a806c9570c38

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (stable/wallaby)

Related fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-common/+/794947

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-common/+/794947
Committed: https://opendev.org/openstack/tripleo-common/commit/acead38016001e6f7c5e9f9431b5ec7eb1ca5cfd
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit acead38016001e6f7c5e9f9431b5ec7eb1ca5cfd
Author: Michele Baldessari <email address hidden>
Date: Fri Jun 4 14:43:03 2021 +0200

    Remove xinetd from the mariadb container

    Via I7d87b5861a576cf4849a25cd1d3f5e77568de1e4 "Make clustercheck service
    accessible over socat" we switched to using socat instead of xinetd for
    the clustercheck.

    Let's remove it from the container and also make sure that socat is
    included explicitely in order to avoid surprises.

    Related-Bug: #1928693

    Change-Id: I3773b5736a197915d50c6b68cd62a806c9570c38
    (cherry picked from commit fbc188ddbb5e97a2c9eb1a6a4d674ba95cabc8de)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 14.1.2

This issue was fixed in the openstack/tripleo-heat-templates 14.1.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 15.0.0

This issue was fixed in the openstack/tripleo-heat-templates 15.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by "Takashi Kajinami <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/852484

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-tripleo (master)

Change abandoned by "Takashi Kajinami <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/puppet-tripleo/+/852485

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.