Database check fails when running without haproxy and on a separate host

Bug #1823005 reported by Jim Rollenhagen on 2019-04-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Medium
Unassigned
Rocky
Medium
Unassigned
Stein
Medium
Unassigned

Bug Description

Scenario:
* haproxy is disabled
* database is running on a separate host from the API services

When the mariadb deploy role is run, kolla-ansible verifies that the database is reachable via the internal VIP. However, we obviously can't do this, so it fails. We should check via database_address, as this is how the services will reach the database.

I hit this bug on Rocky, but it appears to be a problem in master as well.

Mark Goddard (mgoddard) wrote :
Changed in kolla-ansible:
status: New → Confirmed
importance: Undecided → Medium

Reviewed: https://review.openstack.org/649403
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=524f969bfc8a96ebc2d331e241738c8ae4820b58
Submitter: Zuul
Branch: master

commit 524f969bfc8a96ebc2d331e241738c8ae4820b58
Author: Jim Rollenhagen <email address hidden>
Date: Tue Apr 2 13:10:21 2019 -0400

    Use database_address and database_port var for mariadb check

    This is how services reach mariadb; verify it that way.

    Closes-Bug: #1823005
    Change-Id: I9924ad050118b8a853e2309654a089f65178cd77

Changed in kolla-ansible:
status: In Progress → Fix Released

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

Reviewed: https://review.openstack.org/650267
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=a47870032db21744fbcd705903e5836f3c6f2803
Submitter: Zuul
Branch: stable/rocky

commit a47870032db21744fbcd705903e5836f3c6f2803
Author: Jim Rollenhagen <email address hidden>
Date: Tue Apr 2 13:10:21 2019 -0400

    Use database_address and database_port var for mariadb check

    This is how services reach mariadb; verify it that way.

    Closes-Bug: #1823005
    Change-Id: I9924ad050118b8a853e2309654a089f65178cd77
    (cherry picked from commit 524f969bfc8a96ebc2d331e241738c8ae4820b58)

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

Other bug subscribers