Bug 1411087

Summary: unable to deploy cluster
Product: Red Hat OpenStack Reporter: Alon Dotan <alon1.dotan>
Component: puppet-opendaylightAssignee: Tim Rozet <trozet>
Status: CLOSED NOTABUG QA Contact: nlevinki <nlevinki>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: jjoyce, jschluet, slinaber, trozet, tvignaud
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-10 15:44:50 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:

Description Alon Dotan 2017-01-08 10:17:36 UTC
Description of problem:
there is hardcoded limitation that enforce to deploy only single node of odl,

 if $step >= 1 {
    # Configure ODL only on first controller
    if $primary_controller == downcase($::hostname) {
      include ::opendaylight
    }
  }
 
instead of using "if $primary_controller == downcase($::hostname)", will be better to add use:
 if $primary_controller == downcase($::hostname) and $enable_ha == true
this will allow the user to pass the argument of enable or disable this feature from the tripleo env files
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Tim Rozet 2017-01-10 15:44:50 UTC
There is no support for clustering ODL in stable/newton.  The support will be added in Pike with this blueprint:
https://blueprints.launchpad.net/tripleo/+spec/opendaylight-ha