oslo_messaging.rpc.server KeyError: 'provider:network_type'

Bug #1987315 reported by Narinder Gupta
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Manila Charm
Invalid
Undecided
Unassigned
OpenStack Shared File Systems Service (Manila)
Fix Released
Undecided
Unassigned

Bug Description

Manila Netapp supports only a VLAN and Flat provider network, so manila is expecting a VLAN provider network along with a segmentation Id. But as per the contrail team, it can not work like that, and the network will be managed by fragment.

Request is to disable their check-in network config in manila code to make sure it continue the deployment.

2022-08-17 16:03:04.164 1190065 DEBUG manila.share.manager [req-a75e3dcb-3a19-4ead-a8ae-b470b9014463 93756dcbe8b841b1a13988425fd4541d 8ffaa57bb28e4aabb764f0dba58f440e - - -] Using share_server 37870307-b76d-49cb-8269-f20e57baeb41 for share instance 00fc2112-642f-4ee8-82c9-a86989061506 _wrapped_provide_share_server_for_share /usr/lib/python3/dist-packages/manila/share/manager.py:629

2022-08-17 16:03:04.313 1190065 DEBUG oslo_concurrency.lockutils [req-a75e3dcb-3a19-4ead-a8ae-b470b9014463 93756dcbe8b841b1a13988425fd4541d 8ffaa57bb28e4aabb764f0dba58f440e - - -] Lock "instantiate_neutron_api" acquired by "manila.network.neutron.neutron_network_plugin.NeutronNetworkPlugin.neutron_api" :: waited 0.000s inner /usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py:354

2022-08-17 16:03:04.314 1190065 DEBUG oslo_concurrency.lockutils [req-a75e3dcb-3a19-4ead-a8ae-b470b9014463 93756dcbe8b841b1a13988425fd4541d 8ffaa57bb28e4aabb764f0dba58f440e - - -] Lock "instantiate_neutron_api" released by "manila.network.neutron.neutron_network_plugin.NeutronNetworkPlugin.neutron_api" :: held 0.001s inner /usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py:366

2022-08-17 16:03:05.097 1190065 DEBUG oslo_concurrency.lockutils [req-a75e3dcb-3a19-4ead-a8ae-b470b9014463 93756dcbe8b841b1a13988425fd4541d 8ffaa57bb28e4aabb764f0dba58f440e - - -] Lock "instantiate_neutron_api" acquired by "manila.network.neutron.neutron_network_plugin.NeutronNetworkPlugin.neutron_api" :: waited 0.000s inner /usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py:354

2022-08-17 16:03:05.098 1190065 DEBUG oslo_concurrency.lockutils [req-a75e3dcb-3a19-4ead-a8ae-b470b9014463 93756dcbe8b841b1a13988425fd4541d 8ffaa57bb28e4aabb764f0dba58f440e - - -] Lock "instantiate_neutron_api" released by "manila.network.neutron.neutron_network_plugin.NeutronNetworkPlugin.neutron_api" :: held 0.001s inner /usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py:366

2022-08-17 16:03:31.651 1190065 DEBUG oslo_concurrency.lockutils [req-a75e3dcb-3a19-4ead-a8ae-b470b9014463 93756dcbe8b841b1a13988425fd4541d 8ffaa57bb28e4aabb764f0dba58f440e - - -] Lock "share_manager_6824b5fd-b8ca-4dc1-bf67-79806562a414" released by "manila.share.manager.ShareManager._provide_share_server_for_share.<locals>._wrapped_provide_share_server_for_share" :: held 27.537s inner /usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py:366

2022-08-17 16:03:31.652 1190065 ERROR manila.share.manager [req-a75e3dcb-3a19-4ead-a8ae-b470b9014463 93756dcbe8b841b1a13988425fd4541d 8ffaa57bb28e4aabb764f0dba58f440e - - -] Creation of share instance 00fc2112-642f-4ee8-82c9-a86989061506 failed: failed to get share server.

2022-08-17 16:03:31.679 1190065 INFO manila.message.api [req-a75e3dcb-3a19-4ead-a8ae-b470b9014463 93756dcbe8b841b1a13988425fd4541d 8ffaa57bb28e4aabb764f0dba58f440e - - -] Creating message record for request_id = req-a75e3dcb-3a19-4ead-a8ae-b470b9014463

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server [req-a75e3dcb-3a19-4ead-a8ae-b470b9014463 93756dcbe8b841b1a13988425fd4541d 8ffaa57bb28e4aabb764f0dba58f440e - - -] Exception during message handling: KeyError: 'provider:network_type'

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server Traceback (most recent call last):

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/oslo_messaging/rpc/server.py", line 165, in _process_incoming

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/oslo_messaging/rpc/dispatcher.py", line 276, in dispatch

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/oslo_messaging/rpc/dispatcher.py", line 196, in _do_dispatch

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 187, in wrapped

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server return f(self, *args, **kwargs)

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/utils.py", line 568, in wrapper

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server return func(self, *args, **kwargs)

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 1748, in create_share_instance

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server self.message_api.create(

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 220, in __exit__

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server self.force_reraise()

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/six.py", line 703, in reraise

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server raise value

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 1733, in create_share_instance

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server self._provide_share_server_for_share(

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 649, in _provide_share_server_for_share

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server return _wrapped_provide_share_server_for_share()

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py", line 359, in inner

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server return f(*args, **kwargs)

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 643, in _wrapped_provide_share_server_for_share

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server self._create_share_server_in_backend(

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 660, in _create_share_server_in_backend

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server share_server = self._setup_server(context, share_server,

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/oslo_messaging/rpc/dispatcher.py", line 196, in _do_dispatch

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 187, in wrapped

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server return f(self, *args, **kwargs)

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/utils.py", line 568, in wrapper

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server return func(self, *args, **kwargs)

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 1748, in create_share_instance

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server self.message_api.create(

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 220, in __exit__

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server self.force_reraise()

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/six.py", line 703, in reraise

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server raise value

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 1733, in create_share_instance

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server self._provide_share_server_for_share(

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 649, in _provide_share_server_for_share

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server return _wrapped_provide_share_server_for_share()

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py", line 359, in inner

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server return f(*args, **kwargs)

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 643, in _wrapped_provide_share_server_for_share

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server self._create_share_server_in_backend(

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 660, in _create_share_server_in_backend

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server share_server = self._setup_server(context, share_server,

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 3778, in _setup_server

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server self.driver.deallocate_network(context, share_server['id'])

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 220, in __exit__

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server self.force_reraise()

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/six.py", line 703, in reraise

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server raise value

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 3695, in _setup_server

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server self.driver.allocate_network(context, share_server, share_network,

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/share/driver.py", line 891, in allocate_network

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server self.network_api.allocate_network(

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/network/neutron/neutron_network_plugin.py", line 156, in allocate_network

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server self._store_neutron_net_info(context, share_network_subnet)

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/network/neutron/neutron_network_plugin.py", line 129, in _store_neutron_net_info

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server self._save_neutron_network_data(context, share_network_subnet)

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/manila/network/neutron/neutron_network_plugin.py", line 386, in _save_neutron_network_data

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server network_type = net_info['provider:network_type']

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server KeyError: 'provider:network_type'

2022-08-17 16:03:31.691 1190065 ERROR oslo_messaging.rpc.server

2022-08-17 16:03:33.286 1190065 DEBUG oslo_service.periodic_task [req-53bbf170-838c-4f3b-bfd9-5eae56c20627 - - - - -] Running periodic task ShareManager._execute_periodic_hook run_periodic_tasks /usr/lib/python3/dist-packages/oslo_service/periodic_task.py:216

2022-08-17 16:03:33.307 1190065 DEBUG oslo_service.periodic_task [req-53bbf170-838c-4f3b-bfd9-5eae56c20627 - - - - -] Running periodic task ShareManager.periodic_share_status_update run_periodic_tasks /usr/lib/python3/dist-packages/oslo_service/periodic_task.py:216

2022-08-17 16:03:33.308 1190065 DEBUG manila.share.manager [req-53bbf170-838c-4f3b-bfd9-5eae56c20627 - - - - -] Updating status of share instances. periodic_share_status_update /usr/lib/python3/dist-packages/manila/share/manager.py:4515

/usr/lib/python3/dist-packages/manila/network/neutron/neutron_network_plugin.py

code snippet

    def _save_neutron_network_data(self, context, share_network_subnet):

        net_info = self.neutron_api.get_network(

            share_network_subnet['neutron_net_id'])

        segmentation_id = None

        network_type = None

        if self._is_neutron_multi_segment(share_network_subnet, net_info):

            # we have a multi segment network and need to identify the

            # lowest segment used for binding

            phy_nets = []

            phy = self.neutron_api.configuration.neutron_physical_net_name

            if not phy:

                msg = "Cannot identify segment used for binding. Please add "

                "neutron_physical_net_name in configuration."

                raise exception.NetworkBadConfigurationException(reason=msg)

            for segment in net_info['segments']:

                phy_nets.append(segment['provider:physical_network'])

                if segment['provider:physical_network'] == phy:

                    segmentation_id = segment['provider:segmentation_id']

                    network_type = segment['provider:network_type']

            if not (segmentation_id and network_type):

                msg = ("No matching neutron_physical_net_name found for %s "

                       "(found: %s)." % (phy, phy_nets))

                raise exception.NetworkBadConfigurationException(reason=msg)

        else:

            network_type = net_info['provider:network_type']

            segmentation_id = net_info['provider:segmentation_id']

        provider_nw_dict = {

            'network_type': network_type,

            'segmentation_id': segmentation_id,

            'mtu': net_info['mtu'],

        }

        share_network_subnet.update(provider_nw_dict)

        if self.label != 'admin':

            self.db.share_network_subnet_update(

                context, share_network_subnet['id'], provider_nw_dict)

Revision history for this message
Billy Olsen (billy-olsen) wrote :

This is not a charm issue, but rather the way that the manila code itself handles the network share information.

Changed in charm-manila:
status: New → Invalid
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :

Hi,

I'm unfamiliar with Open Contrail; what is your neutron setup like? You mention NetApp in the bug report - you're correct that the NetApp driver does not support any other segmentation styles beyond vlan (and unsegmented "flat") - however, manila does not enforce this limitation; the driver will fail to create a share server when you use a network with an unsupported network segmentation format.

To be able to reproduce the bug, we will need to check why neutron isn't giving us the 'provider:network_type' field. Could you please share your configuration of neutron and manila services? Also, if you have reproduction steps beyond "Create a share with share network" please let us know.

Thanks,
Goutham

Revision history for this message
Vida Haririan (vhariria) wrote :
Revision history for this message
Gnanavel (rgnanav) wrote :

Hi Everyone, Thanks for your details and input.

Just to summarize, in a native neutron it expects a network type ( provider type ) should be any one of this like local, VLAN, Flat etc. but in a Contrail integration, its an complete neutron API calls which translates to the contrail API's, now when we create a network with type as VLAN it replaces the field with 'None', as the communication is taken care by its own mechanism.

So for troubleshooting, we commented the pre check lines in the manila code ( for the provider network type and segmentation id ), tried to create the share, its SUCCESFUL.

But when we gone through the code, its more likely a precheck especially in a non-native neutron setup, as a result it worked post commenting it out.

Need some suggestion, can you leave this commented and proceed with a share , because no option right now in contrail integrated setup to change the provider network type field to VLAN or FLAT instead of None.

Thanks.

Revision history for this message
Radhakrishnan Sethuraman (rk111982) wrote :

What is the risk in commenting provider network, physical network and segmentation id? Is the a DU / DL related risk ?

manila.conf configuration,
[netapp-ontap-dhss]
share_backend_name = netapp-ontap-dhss
share_driver = manila.share.drivers.netapp.common.NetAppDriver
driver_handles_share_servers = True
netapp_root_volume_aggregate = IADSTNETINFAF01_01_SSD_1
netapp_root_volume_name = root
netapp_enabled_share_protocols = nfs3,nfs4.0,nfs4.1
netapp_storage_family = ontap_cluster
netapp_server_hostname = IADSTNETINFAF01
netapp_login =
netapp_password =
netapp_transport_type = https
netapp_server_port = 443
backend_availability_zone = nova-compute-az2
netapp_aggregate_name_search_pattern = (IADSTNETINFAF01_01_*_SSD_*)

[neutron]
username = manila_manilav2
password = hqwMKnNP52xYn9Ct662ZyV8kWBNbBRxpyjgYJBKVc5VHKKYf4gFJjTW93M936ZPh
project_domain_name = service_domain
project_name = services
user_domain_name = service_domain
auth_uri = https://keystone.tcsecp.com:5000
auth_url = https://keystone-i.tcsecp.com:35357
auth_type = password

Revision history for this message
Fernando Ferraz (fernando-ferraz) wrote :

Hi guys, could you also share your neutron configuration? like how you configured the contrail plugin, reference to the contrail plugin if it is out of the official OpenStack tree, and neutron nets you defined for using with Manila?

Revision history for this message
Gnanavel (rgnanav) wrote :

Hi Fernando, thanks please refer below reference details about how openstack and contrail tied up together, but need support on understanding about " What is the risk in commenting provider network, physical network and segmentation id? Is the a DU / DL related risk ' on manila code. since its a pre check, when we comment above stated code, we are create a shares successfully as expected

https://specs.openstack.org/openstack/neutron-specs/specs/juno/opencontrail-plugin.html

https://www.juniper.net/documentation/en_US/day-one-books/OpenContrailBook.pdf

https://github.com/Juniper/contrail-controller

Thanks again for the support

Revision history for this message
Narinder Gupta (narindergupta) wrote (last edit ):

I think acceptable code should be below instead of commenting out
Line 366
    mtu = None

Line 387
        else:
            try:
                if not (net_info['provider:network_type'] is None):
                    network_type = net_info['provider:network_type']
                if not (net_info['provider:segmentation_id'] is None):
                    segmentation_id = net_info['provider:segmentation_id']
                if not (net_info['provider:mtu'] is None):
                    mtu = net_info['mtu']
            except KeyError:
                LOG.error("Invalid net_info")

        provider_nw_dict = {
            'network_type': network_type,
            'segmentation_id': segmentation_id,
            'mtu': mtu,
        }

Changed in manila:
milestone: none → zed-rc1
Revision history for this message
Radhakrishnan Sethuraman (rk111982) wrote :

Do you have all the information needed now Carlos and Goutham ?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila/+/858353

Changed in manila:
status: New → In Progress
Changed in manila:
milestone: zed-rc1 → antelope-1
Revision history for this message
Carlos Eduardo (silvacarlose) wrote :

Hello, Radhakrishnan - Thank you for the report and the information. Felipe has proposed a bug fix for this issue and we are trying to get this merged.

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

Reviewed: https://review.opendev.org/c/openstack/manila/+/858353
Committed: https://opendev.org/openstack/manila/commit/48bc4656f8267007a3833c43a8182728582b44e3
Submitter: "Zuul (22348)"
Branch: master

commit 48bc4656f8267007a3833c43a8182728582b44e3
Author: Felipe Rodrigues <email address hidden>
Date: Tue Sep 20 18:51:40 2022 -0300

    Fix neutron plugin get network_type

    Some neutron integrations might not have the provider:network_type
    and provider:segmentation_id set in the network information. The
    plugin is changed to read from dict using get method to avoid
    key error exception.

    Closes-bug: #1987315
    Change-Id: I9a7460135a0c613c10a91fcef471d4da4f17f041

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

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/manila/+/860907

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/manila/+/860907
Committed: https://opendev.org/openstack/manila/commit/df2cc333e6247f1741116567b12875c59194ea1a
Submitter: "Zuul (22348)"
Branch: stable/zed

commit df2cc333e6247f1741116567b12875c59194ea1a
Author: Felipe Rodrigues <email address hidden>
Date: Tue Sep 20 18:51:40 2022 -0300

    Fix neutron plugin get network_type

    Some neutron integrations might not have the provider:network_type
    and provider:segmentation_id set in the network information. The
    plugin is changed to read from dict using get method to avoid
    key error exception.

    Closes-bug: #1987315
    Change-Id: I9a7460135a0c613c10a91fcef471d4da4f17f041
    (cherry picked from commit 48bc4656f8267007a3833c43a8182728582b44e3)

tags: added: in-stable-zed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/manila/+/862898

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 15.1.0

This issue was fixed in the openstack/manila 15.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/manila/+/862898
Committed: https://opendev.org/openstack/manila/commit/9c5adb0b5dd65834bd135d2b106d8654158151f5
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 9c5adb0b5dd65834bd135d2b106d8654158151f5
Author: Felipe Rodrigues <email address hidden>
Date: Tue Sep 20 18:51:40 2022 -0300

    Fix neutron plugin get network_type

    Some neutron integrations might not have the provider:network_type
    and provider:segmentation_id set in the network information. The
    plugin is changed to read from dict using get method to avoid
    key error exception.

    Closes-bug: #1987315
    Change-Id: I9a7460135a0c613c10a91fcef471d4da4f17f041
    (cherry picked from commit 48bc4656f8267007a3833c43a8182728582b44e3)
    (cherry picked from commit df2cc333e6247f1741116567b12875c59194ea1a)

tags: added: in-stable-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 14.0.1

This issue was fixed in the openstack/manila 14.0.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 16.0.0.0rc1

This issue was fixed in the openstack/manila 16.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.