Bug 1322855 - Overcloud deployment with external load balancer fails
Summary: Overcloud deployment with external load balancer fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ga
: 8.0 (Liberty)
Assignee: James Slagle
QA Contact: Marius Cornea
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-31 13:02 UTC by Marius Cornea
Modified: 2016-04-15 14:31 UTC (History)
7 users (show)

Fixed In Version: openstack-tripleo-heat-templates-0.8.14-4.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-15 14:31:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 298685 0 None None None 2016-03-31 16:11:08 UTC
Red Hat Product Errata RHBA-2016:0637 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 director release candidate Bug Fix Advisory 2016-04-15 18:28:05 UTC

Description Marius Cornea 2016-03-31 13:02:02 UTC
Description of problem:
Overcloud deployment with external load balancer fails

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-0.8.14-1.el7ost.noarch

How reproducible:


Steps to Reproduce:
1. Deploy overcloud with external load balancer

Actual results:
Deployment fails with:

[2016-03-31 11:29:04,061] (heat-config) [DEBUG] ++ systemctl is-active pacemaker
+ pacemaker_status=active
++ hiera bootstrap_nodeid
++ facter hostname
++ hiera update_identifier
+ '[' active = active -a overcloud-controller-0 = overcloud-controller-0 -a nil '!=' nil ']'
+ '[' active = active ']'
+ systemctl reload haproxy
Job for haproxy.service invalid.

[root@overcloud-controller-0 heat-admin]# systemctl status haproxy
● haproxy.service - HAProxy Load Balancer
   Loaded: loaded (/usr/lib/systemd/system/haproxy.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

Mar 31 11:29:04 overcloud-controller-0.localdomain systemd[1]: Unit haproxy.service cannot be reloaded because it is inactive.

Expected results:
Deployment succeeds

Additional info:

Comment 2 James Slagle 2016-03-31 16:11:08 UTC
this should be fixed when i do the next rebase, it will be addressed by the linked patch.

we ended up removing the systemctl reload haproxy in favor of setting UpdateIdentifier, and in that case the haproxy restart is guarded by:

if pcs status | grep haproxy-clone; then
  pcs resource restart haproxy-clone
fi

so this should resolve the issue with external loadbalancers.

Comment 6 Leonid Natapov 2016-04-11 10:45:34 UTC
openstack-tripleo-heat-templates-0.8.14-7.el7ost.noarch

successfully deployed ha+ex-lb

Comment 8 errata-xmlrpc 2016-04-15 14:31:46 UTC
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/RHBA-2016-0637.html


Note You need to log in before you can comment on or make changes to this bug.