[Pure Storage] Fix issue with VLAN LACP bond ports
If a LACP bond port is defined as part of a VLAN, the FlashArray will retag this port as a VIF rather than an LACP_BOND. This patch adds in an extra check to find ports of type VIF. Closes-Bug: #2112566 Change-Id: Ib31ef5ea318332124abcf2dda2ed74f1ba0df840
This commit is contained in:
@@ -3561,7 +3561,8 @@ class PureBaseVolumeDriver(san.SanDriver):
|
||||
)
|
||||
lacps = list(
|
||||
array.get_network_interfaces(
|
||||
filter="eth.subtype='lacp_bond'"
|
||||
filter=("eth.subtype='lacp_bond'" or
|
||||
"eth.subtype='vif'")
|
||||
).items
|
||||
)
|
||||
if lacps:
|
||||
|
6
releasenotes/notes/pure_vlan_lacp-d58f141282efb723.yaml
Normal file
6
releasenotes/notes/pure_vlan_lacp-d58f141282efb723.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
[Pure Storage] Resolved issue where LACP bonds are being
|
||||
defined as part of a VLAN, resulting in target ports
|
||||
not being correctly identified.
|
Reference in New Issue
Block a user