An error occurs when using a LAG interface while starting the Unity Manila service

Bug #2020745 reported by Jaeshik Ko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Triaged
Low
Unassigned

Bug Description

Hi Team,

Description
=====================================================
Error occurs when a LAG interface is assigned when starting the Unity Manila service. I know it was fixed in the existing 7.0.5 version.( https://github.com/emc-openstack/unity-manila-driver/blob/train-fix-lacp-port-issue/manila/share/drivers/dell_emc/plugins/unity/connection.py)
It’s normal with general eth port.

Steps to reproduce
======================================================
docker restart manila_share

manila.confg
[unity4]
share_driver = manila.share.drivers.dell_emc.driver.EMCShareDriver
emc_share_backend = unity
emc_nas_server = x.x.x.x
emc_nas_login = admin
emc_nas_password = Ctcvmware1!
share_backend_name = unity4
unity_server_meta_pool = Pool_1
#unity_share_data_pools = pool
unity_ethernet_ports = spa_la_iom_0_0,spb_la_iom_0_0
driver_handles_share_servers = False
unity_share_server = manila

Result
=============================================
manila-share.log
2023-05-25 14:43:06.825 20 ERROR manila.share.manager [None req-f32eecfc-19e6-4c17-a71b-4587578f543f - - - - - -] Error encountered during initialization of driver EMCShareDriver@dlp01@unity4: AttributeError: 'NoneType' object has no attribute 'get_id'
2023-05-25 14:43:06.825 20 ERROR manila.share.manager Traceback (most recent call last):
2023-05-25 14:43:06.825 20 ERROR manila.share.manager File "/var/lib/kolla/venv/lib/python3.9/site-packages/manila/share/manager.py", line 347, in _driver_setup
2023-05-25 14:43:06.825 20 ERROR manila.share.manager self.driver.do_setup(ctxt)
2023-05-25 14:43:06.825 20 ERROR manila.share.manager File "/var/lib/kolla/venv/lib/python3.9/site-packages/manila/share/drivers/dell_emc/driver.py", line 270, in do_setup
2023-05-25 14:43:06.825 20 ERROR manila.share.manager self.plugin.connect(self, context)
2023-05-25 14:43:06.825 20 ERROR manila.share.manager File "/var/lib/kolla/venv/lib/python3.9/site-packages/manila/share/drivers/dell_emc/plugins/unity/connection.py", line 156, in connect
2023-05-25 14:43:06.825 20 ERROR manila.share.manager self.validate_port_configuration(self.port_ids_conf)
2023-05-25 14:43:06.825 20 ERROR manila.share.manager File "/var/lib/kolla/venv/lib/python3.9/site-packages/manila/share/drivers/dell_emc/plugins/unity/connection.py", line 173, in validate_port_configuration
2023-05-25 14:43:06.825 20 ERROR manila.share.manager sp_ports_map, unmanaged_port_ids = unity_utils.match_ports(
2023-05-25 14:43:06.825 20 ERROR manila.share.manager File "/var/lib/kolla/venv/lib/python3.9/site-packages/manila/share/drivers/dell_emc/plugins/unity/utils.py", line 64, in match_ports
2023-05-25 14:43:06.825 20 ERROR manila.share.manager sp_id = port.parent_storage_processor.get_id()
2023-05-25 14:43:06.825 20 ERROR manila.share.manager AttributeError: 'NoneType' object has no attribute 'get_id'
2023-05-25 14:43:06.825 20 ERROR manila.share.manager

Env
======================================================
Back-end storage : Dell-EMC Unity
Openstack version : Zed
Unity Manila version : VERSION = "9.0.1"

Jaeshik Ko (kocap77)
summary: - object has no attribute 'get_id
+ An error occurs when using a LAG interface while starting the Unity
+ Manila service
Vida Haririan (vhariria)
Changed in manila:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Vida Haririan (vhariria) wrote :
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.