When External LB is used, minor updates fail while trying to work with haproxy-bundle

Bug #1851297 reported by Brendan Shephard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Brendan Shephard

Bug Description

Description of problem:
When using an External LB the update playbook are still created with the haproxy resources. This creates issues for updates as the haproxy plays are still added to the Controller/update_tasks.yaml file which will fail since there is no haproxy-bundle.

Minor updates fail in the Controller/update_tasks.yaml playbook. When it tries to work with haproxy-bundle. Which doesn't exist because we're using a External LB.

Version-Release number of selected component (if applicable):
RHOSP13

How reproducible:
Easily with enough resources

Steps to Reproduce:
1. Deploy the Overcloud with external LB as per the above document
2. Run the update prepare
3. Run the update on the controllers openstack overcloud update run --node Controller

Actual results:
TASK [Disable the haproxy cluster resource] ************************************
Friday 01 November 2019 20:56:22 -0400 (0:00:00.373) 0:37:50.310 *******
FAILED - RETRYING: Disable the haproxy cluster resource (5 retries left).
FAILED - RETRYING: Disable the haproxy cluster resource (4 retries left).
FAILED - RETRYING: Disable the haproxy cluster resource (3 retries left).
FAILED - RETRYING: Disable the haproxy cluster resource (2 retries left).
FAILED - RETRYING: Disable the haproxy cluster resource (1 retries left).

fatal: [controller-0]: FAILED! => {"attempts": 5, "changed": false, "error": "Error: bundle/clone/group/master/resource 'haproxy-bundle' does not exist\n", "msg": "
Failed, to set the resource haproxy-bundle to the state disable", "output": "", "rc": 1}

PLAY RECAP *********************************************************************
controller-0 : ok=22 changed=3 unreachable=0 failed=1

Expected results:
If we include EnableLoadBalancer: False in the templates, we should be skipping the update_tasks related to haproxy

description: updated
affects: neutron → tripleo
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.opendev.org/692904

Changed in tripleo:
assignee: nobody → Brendan Shephard (bshephar)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/692904
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=14228a33d5b0cdbc69bdf805786bb1046711627a
Submitter: Zuul
Branch: master

commit 14228a33d5b0cdbc69bdf805786bb1046711627a
Author: Brendan <email address hidden>
Date: Tue Nov 5 06:50:59 2019 +1000

    Disable haproxy when using external LB

    This change ensures the update_tasks.yaml is
    generated without the haproxy sections which will cause issues since
    there is no haproxy-bundle resource in external LB environments.

    Change-Id: I716aaa0be7b23bc3be2b1b755c75bd9173930da0
    Closes-Bug: #1851297

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/693050

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

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/693051

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

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/693052

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

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/693053

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

Reviewed: https://review.opendev.org/693053
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=674a79c7e8bbe1aecac54052ce6de43ddb6142a6
Submitter: Zuul
Branch: stable/queens

commit 674a79c7e8bbe1aecac54052ce6de43ddb6142a6
Author: Brendan <email address hidden>
Date: Tue Nov 5 06:50:59 2019 +1000

    Disable haproxy when using external LB

    This change ensures the update_tasks.yaml is
    generated without the haproxy sections which will cause issues since
    there is no haproxy-bundle resource in external LB environments.

    Change-Id: I716aaa0be7b23bc3be2b1b755c75bd9173930da0
    Closes-Bug: #1851297
    (cherry picked from commit 14228a33d5b0cdbc69bdf805786bb1046711627a)

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

Reviewed: https://review.opendev.org/693052
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=9293a673e536929e49460e297bfb5413b0534191
Submitter: Zuul
Branch: stable/rocky

commit 9293a673e536929e49460e297bfb5413b0534191
Author: Brendan <email address hidden>
Date: Tue Nov 5 06:50:59 2019 +1000

    Disable haproxy when using external LB

    This change ensures the update_tasks.yaml is
    generated without the haproxy sections which will cause issues since
    there is no haproxy-bundle resource in external LB environments.

    Change-Id: I716aaa0be7b23bc3be2b1b755c75bd9173930da0
    Closes-Bug: #1851297
    (cherry picked from commit 14228a33d5b0cdbc69bdf805786bb1046711627a)

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

Reviewed: https://review.opendev.org/693050
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=d4e4c1bbe04ebef0bb81250890b90ef6eaabd296
Submitter: Zuul
Branch: stable/train

commit d4e4c1bbe04ebef0bb81250890b90ef6eaabd296
Author: Brendan <email address hidden>
Date: Tue Nov 5 06:50:59 2019 +1000

    Disable haproxy when using external LB

    This change ensures the update_tasks.yaml is
    generated without the haproxy sections which will cause issues since
    there is no haproxy-bundle resource in external LB environments.

    Change-Id: I716aaa0be7b23bc3be2b1b755c75bd9173930da0
    Closes-Bug: #1851297
    (cherry picked from commit 14228a33d5b0cdbc69bdf805786bb1046711627a)

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

Reviewed: https://review.opendev.org/693051
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=03c614653a06d4e57f9782bf12746dae791d8cde
Submitter: Zuul
Branch: stable/stein

commit 03c614653a06d4e57f9782bf12746dae791d8cde
Author: Brendan <email address hidden>
Date: Tue Nov 5 06:50:59 2019 +1000

    Disable haproxy when using external LB

    This change ensures the update_tasks.yaml is
    generated without the haproxy sections which will cause issues since
    there is no haproxy-bundle resource in external LB environments.

    Change-Id: I716aaa0be7b23bc3be2b1b755c75bd9173930da0
    Closes-Bug: #1851297
    (cherry picked from commit 14228a33d5b0cdbc69bdf805786bb1046711627a)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 12.0.0

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

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

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

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

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

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

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

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

This issue was fixed in the openstack/tripleo-heat-templates queens-eol 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.