** Description changed: *********** SRU TEMPLATE AT THE BOTTOM *********** Description =========== When using NeutronNetworkPlugin with DHSS=True, manila requests neutron ports for creating network connections on share servers on the user provided Share Network. Deployers and users have the flexibility to use external networks (i.e., a "provider networks" in neutron parlance) as their Share Networks. When they do this, they expect to use Neutron to merely perform IPAM. Neutron does create ports to reserve IP addresses; however, we don't expect these ports to work or respond to ARP requests. This worked even when OVN was used as the ML2 plugin in the deployment; however, OVN had a change in its default behavior [1]. This change makes OVN setup flows for DOWN ports; when ARP responses are received from OVN ports, traffic is effectively misrouted/dropped. This means that end users cannot reach their share export paths from their eventual VMs/containers/bare metal hosts. OVN has a configuration option to turn this behavior off ("ignore_lsp_down"). By default, OpenStack Neutron sets this "ignore_lsp_down" option to False [2] - meaning OVN is not supposed to setup flow table entries for any ports that are DOWN. However, this behavior isn't working as one would expect. Steps to reproduce ================== A chronological list of steps which will help reproduce the issue you hit: * Create a provider network on OpenStack * Configure manila with a DHSS=True driver that can use an "external" storage system (example, NetApp) * Create a share network mapped to the provider network * Create a share with the share network * Create a tenant VM * Create appropriate access rule/s in manila * Attempt to mount the share in the VM Expected result =============== Share is reachable/mountable Actual result ============= Share failed to be mounted. Cannot ping the export IPs either because the provider network is unreachable. When you debug this further, you'll notice packets are dropped, citing a MAC address mismatch. Environment =========== 1. Version of OpenStack Manila: OpenStack Wallaby 2. Which storage backend did you use: NetApp (although this should be a problem with any non-generic DHSS=true backend) 3. Which networking type did you use? OVN [1] https://www.mail-archive.com/ovs-dev@openvswitch.org/msg60064.html [2] https://review.opendev.org/c/openstack/neutron/+/896545 =============== SRU DESCRIPTION =============== [Impact] This issue blocks connectivity of users to external storage backends when using OVN, therefore the users cannot access their shares. [Test case] We cannot reproduce the issue in Canonical lab as we don't have any external storage with DHSS=True mode. I tried to reproduce it with the generic driver in DHSS=True mode but couldn't. The included unit tests should provide coverage. Additionally we have already provided test PPAs to customers affected with the issue and they confirmed the issue was addressed. Some upstream users have also validated the fix. [Where problems could occur] The code only affects the neutron plugin for manila, which is used only for DHSS=True mode. However, the code is shared between both OVN and OVS modes, so attempting to fix the issue for OVN could potentially break all the current users using OVS. The breakage wouldn't be immediate upon installing the package, as the code is executed only when new share servers are created. So as long as only shares are being created while the existing share servers and networks were already functional prior to the upgrade, the damage can be mitigated. On the other hand, OVN users are broken without connectivity so the benefits generally outweight the - risks here. If any issues arise, the package will have to be downgraded - to restore the previous state for OVS users. + risks here. In case of regression, the previous funcionality can be + restored through package downgrade. [Other Info] For Jammy/Yoga, bugfix LP#2049507 will also be included.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2074504 Title: [SRU] Manila's NeutronNetworkPlugin with external networks doesn't work with OVN To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/2074504/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs