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

Bug #1823005 reported by Jim Rollenhagen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Unassigned
Rocky
Fix Committed
Medium
Unassigned
Stein
Fix Released
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.

Revision history for this message
Mark Goddard (mgoddard) wrote :
Changed in kolla-ansible:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 8.0.0.0rc1

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

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

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)

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

This issue was fixed in the openstack/kolla-ansible 7.1.1 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.