Bug 1390962
Summary: | HAProxy doesn't load the new configuration after scaling out the role running the Openstack API services | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Marius Cornea <mcornea> | ||||||
Component: | python-tripleoclient | Assignee: | Carlos Camacho <ccamacho> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Marius Cornea <mcornea> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 10.0 (Newton) | CC: | bperkins, ccamacho, dbecker, hbrock, jcoufal, jschluet, jslagle, mburns, mcornea, morazi, rhel-osp-director-maint | ||||||
Target Milestone: | rc | Keywords: | Triaged | ||||||
Target Release: | 10.0 (Newton) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | python-tripleoclient-5.3.0-7.el7ost | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-12-14 16:27:56 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Marius Cornea
2016-11-02 10:01:55 UTC
Created attachment 1216454 [details]
haproxy.cfg
Attaching the haproxy.cfg and the HAProxy stats page.
Created attachment 1216455 [details]
HAProxy stats
Deploying it my local env to confirm. Just omit last 2 comments, summarized here: Scaling out a controller node haproxy is not reloaded correctly, the new config is correct but needs to be reloaded. `systemctl reload haproxy` fix the issue after the update. Added here: https://github.com/openstack/tripleo-heat-templates/commit/843d25af04f58d033e12c2c3d619303d7fd8bb02 Removed here (in favor of solving https://bugzilla.redhat.com/show_bug.cgi?id=1321036): https://github.com/openstack/tripleo-heat-templates/commit/6e56f873148784ff34babf62a8ccc718e7d789d3 The restart should be executed in the converge step but not able to find it for a non-upgrade task after finishing the deployment, this is only about deploy again the overcloud adding 1 more node.. `systemctl reload haproxy` executed only when injecting the TLS cert and when running pacemaker_maintenance_mode.sh (called from pre_puppet_pacemaker.yaml) To summarize: Before was executed in post-deployment step now it's in a pre-deployment step... Added an upstream patch for testing. After testing the patch, hitting this new upstream issue when started Mistral Workflow, it fails due to a malformed template. https://bugs.launchpad.net/tripleo/+bug/1639302 Marius the upstream patch I believe will be landed soon, https://review.openstack.org/#/c/393644/ mind to check it? Also added a new reference to this current error in Launchpad. (In reply to Carlos Camacho from comment #9) > Marius the upstream patch I believe will be landed soon, > https://review.openstack.org/#/c/393644/ mind to check it? Looks good, I tested it on my environment and reloads the HAProxy new config. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2948.html |