neutron network multi segment ip version

Bug #1747695 reported by Maurice Escher
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Undecided
Maurice Escher

Bug Description

Hi,

I try running pike with neutron binding in a multi segment network.

In this case the neutron network info is stored only at the binding
and ip_version is None in https://github.com/openstack/manila/blob/stable/pike/manila/network/neutron/neutron_network_plugin.py#L214.
Which leads to a NetworkBadConfigurationException "Can not find any IP address with configured IP version None in share-network" in https://github.com/openstack/manila/blob/stable/pike/manila/network/neutron/neutron_network_plugin.py#L179

I suggest to fix with a fallback ip version or by taking the configured version.

Thanks,
Maurice

Revision history for this message
Tom Barron (tpb) wrote :

Just to be explicit: did this work in Ocata, i.e. is this a Pike regression?

Revision history for this message
Maurice Escher (maurice-escher) wrote :
Changed in manila:
assignee: nobody → Maurice Schreiber (maurice-schreiber)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/593111
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=6f5695a6f40283fbea3cae824074b9ba3573b7ae
Submitter: Zuul
Branch: master

commit 6f5695a6f40283fbea3cae824074b9ba3573b7ae
Author: Maurice Schreiber <email address hidden>
Date: Fri Aug 17 18:49:28 2018 +0200

    NeutronBindNetworkPlugin: fix multi segment neutron data save.

    Neutron subnet data can be obtained directly and is needed to get
    ip_version for port creation. Network data needs to wait for port
    binding.
    Fixes 2b40e5618f2c1039bbbbd1a3e31b72e104b5436b error:
    "Can not find any IP address with configured IP version None in
    share-network".

    Closes-Bug: #1747695
    Change-Id: Ie6c8a26db5c461400b789f91a97eb7ccc1031a0f

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 8.0.0.0rc1

This issue was fixed in the openstack/manila 8.0.0.0rc1 release candidate.

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.