Custom OpenDaylight role without Neutron fails

Bug #1651499 reported by Tim Rozet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Tim Rozet

Bug Description

There are coupled dependencies between ODL and the Neutron service which cause an isolated ODL role to fail deployment. The first is ODL service is invoking neutron services which really should be left up to the user to map based on custom roles. This needs to be removed. The second issue is Neutron ML2 config with OpenDaylight relies on knowing the heat parameters to be able to add the ML2 config. When OpenDaylight API service is isolated to its own role, the Controller Neutron ML2 service will not have the correct hiera variables to be able to configure ML2. The solution to this is to add those parameters to the OpenDaylight OVS service, which will also be used on the Controller.

A current workaround is for the second problem is to define the missing parameters as ExtraConfig in an environment file. This will set the variables across all nodes.

Tim Rozet (trozet)
Changed in tripleo:
assignee: nobody → Tim Rozet (trozet)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

Fix proposed to branch: master
Review: https://review.openstack.org/413204

Changed in tripleo:
status: New → In Progress
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.openstack.org/413205

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/413204
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=1adc49a38985a884ca66643bc528e1c3298a75e1
Submitter: Jenkins
Branch: master

commit 1adc49a38985a884ca66643bc528e1c3298a75e1
Author: Tim Rozet <email address hidden>
Date: Tue Dec 20 13:40:57 2016 -0500

    Decouples neutron services from OpenDaylight API service

    Removes including Neutron services in the OpenDaylight API service.
    This was breaking custom roles when splitting up OpenDaylight and Neutron
    into different roles. Also, references to "controller" are removed
    because with custom roles OpenDaylight could be isolated to any role
    type. The 'bootstrap_nodeid' still works with any role, and only
    resolves to the first node in the series of nodes for that role type.

    Partial-Bug: 1651499

    Change-Id: I418643810ee6b8a2c17a4754c83453140ebe39c7
    Signed-off-by: Tim Rozet <email address hidden>

Steven Hardy (shardy)
Changed in tripleo:
milestone: none → ocata-3
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/413205
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=c5b7aa125f08c297dbef64c71415a12629513e1d
Submitter: Jenkins
Branch: master

commit c5b7aa125f08c297dbef64c71415a12629513e1d
Author: Tim Rozet <email address hidden>
Date: Tue Dec 20 13:55:35 2016 -0500

    Adds missing OpenDaylight username/password from ODL OVS service

    ODL username and password are already present in the OpenDaylightApi
    service. However, when moving the OpenDaylightApi service to its own
    custom role, the Controller/Compute nodes no longer have access to these
    hiera values. This patch adds them also to the OpenDaylightOvs service.

    Closes-Bug: 1651499
    Depends-On: I418643810ee6b8a2c17a4754c83453140ebe39c7

    Change-Id: I169fdad4c94bd6dfc1fe7cde3d6b19b36d916af7
    Signed-off-by: Tim Rozet <email address hidden>

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

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/417019

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

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/417020

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

Reviewed: https://review.openstack.org/417019
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=10a70eaab51761bbcf3a03278255b7b08be6b844
Submitter: Jenkins
Branch: stable/newton

commit 10a70eaab51761bbcf3a03278255b7b08be6b844
Author: Tim Rozet <email address hidden>
Date: Tue Dec 20 13:40:57 2016 -0500

    Decouples neutron services from OpenDaylight API service

    Removes including Neutron services in the OpenDaylight API service.
    This was breaking custom roles when splitting up OpenDaylight and Neutron
    into different roles. Also, references to "controller" are removed
    because with custom roles OpenDaylight could be isolated to any role
    type. The 'bootstrap_nodeid' still works with any role, and only
    resolves to the first node in the series of nodes for that role type.

    Partial-Bug: 1651499

    Change-Id: I418643810ee6b8a2c17a4754c83453140ebe39c7
    Signed-off-by: Tim Rozet <email address hidden>
    (cherry picked from commit 1adc49a38985a884ca66643bc528e1c3298a75e1)

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

Reviewed: https://review.openstack.org/417020
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=a6098fc416265c438478bcc614e4b7ef746d0e60
Submitter: Jenkins
Branch: stable/newton

commit a6098fc416265c438478bcc614e4b7ef746d0e60
Author: Tim Rozet <email address hidden>
Date: Tue Dec 20 13:55:35 2016 -0500

    Adds missing OpenDaylight username/password from ODL OVS service

    ODL username and password are already present in the OpenDaylightApi
    service. However, when moving the OpenDaylightApi service to its own
    custom role, the Controller/Compute nodes no longer have access to these
    hiera values. This patch adds them also to the OpenDaylightOvs service.

    Closes-Bug: 1651499
    Depends-On: I418643810ee6b8a2c17a4754c83453140ebe39c7

    Change-Id: I169fdad4c94bd6dfc1fe7cde3d6b19b36d916af7
    Signed-off-by: Tim Rozet <email address hidden>
    (cherry picked from commit c5b7aa125f08c297dbef64c71415a12629513e1d)

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

This issue was fixed in the openstack/tripleo-heat-templates 6.0.0.0rc1 release candidate.

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

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