SM:mainline3044:HA: Provision stops with ha_proxy state due to typo at heat port 8004 in generate_haproxy.erb

Bug #1670265 reported by sundarkh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Critical
Dheeraj Gautam

Bug Description

SM:mainline3044:HA: Provision stops with ha_proxy state due to typo at heat port 8004 in generate_haproxy.erb

1) Provision a 5 node Openstack HA cluster with mainline build 3044

server-manager-client display server --select id,cluster_id,roles,ip_address

+---------+----------------+----------------+----------------------------------------------------------------------------+

| id | cluster_id | ip_address | roles |

+---------+----------------+----------------+----------------------------------------------------------------------------+

| nodeg37 | cluster5sanity | 10.204.217.77 | [u'compute'] |

| nodec10 | cluster5sanity | 10.204.217.176 | [u'compute'] |

| nodei20 | cluster5sanity | 10.204.217.132 | [u'control', u'webui', u'openstack', u'database', u'collector', u'config'] |

| nodec28 | cluster5sanity | 10.204.217.13 | [u'compute'] |

| nodei19 | cluster5sanity | 10.204.217.131 | [u'control', u'webui', u'openstack', u'database', u'collector', u'config'] |

| nodei17 | cluster5sanity | 10.204.217.129 | [u'control', u'webui', u'openstack', u'database', u'collector', u'config'] |

+---------+----------------+----------------+----------------------------------------------------------------------------+

2) Observe that the provision stops at openstack state, with error at ha_proxy

Mar 5 19:06:09 nodei20 puppet-agent[2093]: (/Stage[haproxy]/Contrail::Haproxy::Service/Service[haproxy]) [ALERT] 063/190609 (4440) : parsing [/etc/haproxy/haproxy.cfg:271] : unknown keyword 'bind:8004' in 'frontend' section

3) This blocks the cluster from getting provisioned

4) Fix :
--------
https://github.com/Juniper/contrail-puppet/commit/b214d35bf70920b4a03146e03abc516a2eca46dc#diff-dd13f18a3488e37c36aa83ff863c960aR279

Missing space in Line in 279 , helps the provision to get completed

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/29355
Submitter: Dheeraj Gautam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/29355
Committed: http://github.org/Juniper/contrail-puppet/commit/1f8aed68a57a6c106087408a70a8fd03e0854b9a
Submitter: Zuul (<email address hidden>)
Branch: master

commit 1f8aed68a57a6c106087408a70a8fd03e0854b9a
Author: Dheeraj Gautam <email address hidden>
Date: Mon Mar 6 10:42:13 2017 -0800

SM-HA: fix haproxy tempate for openstack-ha

Closes-Bug: #1670265

Change-Id: I5d9189364ab4fc3a9b91ace0f56c5ef9a6ce59bf
bind:8004 should have been "bind :8004" (space in b/w)

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.