Advanced networking is missing in 0.5

Bug #1308921 reported by Stan Lagun
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Critical
Alexander Tivelkov

Bug Description

Networking options that ware available in Murano 0.4 doesn't work in 0.5. Neutron resources are not created

Stan Lagun (slagun)
Changed in murano:
assignee: nobody → Alexander Tivelkov (ativelkov)
ruhe (ruhe)
Changed in murano:
status: New → Confirmed
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Need to implement the advanced networking for 0.5. The priority was changed to Critical because without this option Murano will work really strange.

Changed in murano:
importance: High → Critical
status: Confirmed → Triaged
Changed in murano:
status: Triaged → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to murano-api (master)

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

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to murano-dashboard (master)

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

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to murano-api (master)

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

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote :

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

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/90710
Committed: https://git.openstack.org/cgit/stackforge/murano-dashboard/commit/?id=17802feb081553069d95d9c9969929e000405811
Submitter: Jenkins
Branch: master

commit 17802feb081553069d95d9c9969929e000405811
Author: Alexander Tivelkov <email address hidden>
Date: Mon Apr 28 16:41:12 2014 +0400

    Removed 'Networking' section

    Old (0.4.x style) section, containing networking parameters of environment, is never processed
    by the engine, so it has been removed from the environment generation logic.

    New (0.5-compatible) block of network setting will be added at murano-api side.

    This is part of Advanced Networking commit series, yet is independent from all others.

    Change-Id: I34ccee96a22d598de9693205b064b0d1bd118ded
    Partial-bug: #1308921

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to murano-api (master)

Reviewed: https://review.openstack.org/90140
Committed: https://git.openstack.org/cgit/stackforge/murano-api/commit/?id=961818d505d68942fa55922e7ef6353b9db8b506
Submitter: Jenkins
Branch: master

commit 961818d505d68942fa55922e7ef6353b9db8b506
Author: Alexander Tivelkov <email address hidden>
Date: Thu Apr 24 20:36:45 2014 +0400

    Added NetworkExplorer engine object class

    Added a NetworkExplorer class (maps to io.murano.system.NetworkExplorer) to explore
    the Network Environment of an active tenant.
    The class is able to locate the default router (if present) and allocate available
    CIDR range for the selected router. The latter requires some configuration options
    (for proper CIDR segmentation)

    This commit adds python-neutronclient to the requirements, as NetworkExplorer has
    to directly interact with Neutron

    This classes is a crucial part of AdvancedNetworking implementation

    Partial-Bug: #1308921

    Change-Id: Ib9daa1b1521d9bc17a53d7e131be6c9f43faa013

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote :

Reviewed: https://review.openstack.org/90730
Committed: https://git.openstack.org/cgit/stackforge/murano-api/commit/?id=b7aec89493febdc3321ee67b86e95f7451437794
Submitter: Jenkins
Branch: master

commit b7aec89493febdc3321ee67b86e95f7451437794
Author: Alexander Tivelkov <email address hidden>
Date: Mon Apr 28 17:33:37 2014 +0400

    Added MuranoPL infrastructure for advanced networking scenarios

    Base class 'Network' (io.murano.resources.Network) was added to core package.
    This class is an abstract class for network interaction, to be inherited by
    engine-specific implementations.

    'Environment' class got a 'defaultNetworks' input parameter, containing two
    different instances of Network class for two initially supported networking use-cases:
    'environment' for a topology when each environment has an isolated network
    'flat' for a single network per multiple environments

    'Instance' class got a 'networks' input parameter with a default value.
    This is a composite parameter indicating which networks the instance should join
    If 'useEnvironmentNetwork' is set to 'true' the instance should join an
    isolated network of current environment
    if 'useFlatNetwork' is set to 'true' the instance should join a single
    shared network
    Both values may be enabled, so the instance will join both networks.
    'customNetworks' field of the same data structure may be used to specify custom
    network resources to join

    Same commit includes a temporary workaround for bug #1313694
    The workaround is needed to properly use default of 'networks' field

    The actual implementation of io.murano.resources.Network class should
    be done in a separate package, which should be added to app-incubator repo

    Change-Id: If2ae332a61900b0dd94cec94c1c140c54079441f
    Partial-Bug: #1308921

Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote :

Reviewed: https://review.openstack.org/90744
Committed: https://git.openstack.org/cgit/stackforge/murano-api/commit/?id=b7c2aac9a2b7eec5551589586a3ec59b7f2df820
Submitter: Jenkins
Branch: master

commit b7c2aac9a2b7eec5551589586a3ec59b7f2df820
Author: Alexander Tivelkov <email address hidden>
Date: Mon Apr 28 18:05:13 2014 +0400

    Implemented AdvNetworking scenarios via Neutron

    Added a new package ( io.murano.lib.networks.Neutron) to handle networking via Neutron
    The package introduces a class 'NewNetwork' (io.murano.lib.networks.neutron.NewNetwork)
    This class is capable of the following:
     - Create a new Network (L2 segment)
     - Use NetworkExplorer class to allocate an available CIDR
     - Create a new Subnet (L3 segment) in the created Network with the allocated CIDR
     - Use NetworkExplorer class to locate an available router
     - Use NetworkExplorer class to detect the default DNS nameserver
     - Uplink the created subnet to the located router

    Also, as this class extends io.murano.resources.Network, it implements the addHostToNetwork method
    The implementation creates a Neutron Port and connects that port to a created network and intance

     This commit also modifies the environment-creation logic of the API, allowing to add default networks
     to the Environment object.
     This is a temporary solution: in future the instantiation of this object(s) should be done in MuranoPL

     This commit concludes the minimum set of functionality needed to implement AdvancedNetworking
     in 0.4.x feature set.

     Closes-bug: #1308921

    Change-Id: I885620099995b0d402a23def3ff428fb902973d2

Changed in murano:
status: In Progress → Fix Committed
ruhe (ruhe)
Changed in murano:
status: Fix Committed → Fix Released
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.