Manila-share in error for missing br-int

Bug #2102205 reported by Giuseppe Petralia
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Manila Generic Backend Charm
New
Undecided
Unassigned

Bug Description

This is on yoga/stable, manila rev. 240, manila-generic rev 45

ubuntu@pc6a-infra:~$ juju status manila --relations
Model Controller Cloud/Region Version SLA Timestamp
openstack foundations-maas maas_cloud 3.6.3 unsupported 11:53:15Z

App Version Status Scale Charm Channel Rev Exposed Message
hacluster-manila 2.0.3 active 3 hacluster 2.4/stable 131 no Unit is ready and clustered
manila 14.1.1 active 3 manila yoga/stable 240 no Unit is ready
manila-generic 14.1.1 active 3 manila-generic yoga/stable 45 no Unit is ready
manila-mysql-router 8.0.41 active 3 mysql-router 8.0/stable 257 no Unit is ready
public-policy-routing active 3 advanced-routing latest/stable 31 no Unit is ready

Unit Workload Agent Machine Public address Ports Message
manila/0* active idle 0/lxd/13 10.17.2.36 8786/tcp Unit is ready
  hacluster-manila/0* active idle 10.17.2.36 Unit is ready and clustered
  manila-generic/0* active idle 10.17.2.36 Unit is ready
  manila-mysql-router/5 active idle 10.17.2.36 Unit is ready
  public-policy-routing/47 active idle 10.17.2.36 Unit is ready
manila/1 active idle 1/lxd/19 10.17.2.32 8786/tcp Unit is ready
  hacluster-manila/2 active idle 10.17.2.32 Unit is ready and clustered
  manila-generic/2 active idle 10.17.2.32 Unit is ready
  manila-mysql-router/6 active idle 10.17.2.32 Unit is ready
  public-policy-routing/49 active idle 10.17.2.32 Unit is ready
manila/2 active idle 2/lxd/17 10.17.2.34 8786/tcp Unit is ready
  hacluster-manila/1 active idle 10.17.2.34 Unit is ready and clustered
  manila-generic/1 active idle 10.17.2.34 Unit is ready
  manila-mysql-router/3* active idle 10.17.2.34 Unit is ready
  public-policy-routing/48 active idle 10.17.2.34 Unit is ready

Machine State Address Inst id Base AZ Message
0 started 10.17.2.125 pc6a-rb3-n1 ubuntu@22.04 zone1 Deployed
0/lxd/13 started 10.17.2.36 juju-5addf7-0-lxd-13 ubuntu@20.04 zone1 Container started
1 started 10.17.2.124 pc6a-rb3-n3 ubuntu@22.04 zone3 Deployed
1/lxd/19 started 10.17.2.32 juju-5addf7-1-lxd-19 ubuntu@20.04 zone3 Container started
2 started 10.17.2.129 pc6a-rb3-n4 ubuntu@22.04 zone1 Deployed
2/lxd/17 started 10.17.2.34 juju-5addf7-2-lxd-17 ubuntu@20.04 zone1 Container started

Manila-share is constantly in error loop with

```
2025-03-13 11:50:36.193 378627 INFO manila.service [-] Starting manila-share node (version 14.1.1)
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service [req-8a997ca8-8142-44ba-83aa-ee89e8175d92 - - - - -] Error starting thread.: manila.exception.BridgeDoesNotExist: Bridge br-int does not exist.
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service Traceback (most recent call last):
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/oslo_service/service.py", line 806, in run_service
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service service.start()
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/manila/service.py", line 137, in start
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service self.manager.init_host()
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 220, in wrapped
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service return f(self, *args, **kwargs)
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/manila/share/manager.py", line 359, in init_host
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service (self.driver.service_instance_manager.network_helper.
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py", line 391, in inner
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service return f(*args, **kwargs)
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/manila/share/drivers/service_instance.py", line 246, in network_helper
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service self._network_helper.setup_connectivity_with_service_instances()
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/manila/share/drivers/service_instance.py", line 975, in setup_connectivity_with_service_instances
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service self._plug_interface_in_host(interface_name, device, port)
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py", line 391, in inner
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service return f(*args, **kwargs)
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/manila/share/drivers/service_instance.py", line 995, in _plug_interface_in_host
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service self.vif_driver.plug(interface_name, port['id'], port['mac_address'])
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/manila/network/linux/interface.py", line 51, in wrapped_func
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service return source_func(self, *args, **kwargs)
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py", line 391, in inner
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service return f(*args, **kwargs)
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/manila/network/linux/interface.py", line 49, in source_func
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service return f(self, *args, **kwargs)
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/manila/network/linux/interface.py", line 188, in plug
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service self.check_bridge_exists(bridge)
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/manila/network/linux/interface.py", line 130, in check_bridge_exists
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service raise exception.BridgeDoesNotExist(bridge=bridge)
2025-03-13 11:50:36.705 378627 ERROR oslo_service.service manila.exception.BridgeDoesNotExist: Bridge br-int does not exist.
```

Manually installing openvswitch-switch and running `ovs-vsctl add br-int` makes the error stopping

But I am not sure if I need any additional bridge and any connection to an interface on the lxd.

It seems that manila needs a similar configuration like Octavia when trying to work with Manila Generic driver

Revision history for this message
Giuseppe Petralia (peppepetra) wrote (last edit ):

I think that the charm needs some relations similar to the octavia charm to be able to connect to the VMs on the overlay network:

manila-ovn-chassis:ovsdb-subordinate manila-generic:ovsdb-subordinate
ovn-central:ovsdb-cms manila-generic:ovsdb-cms

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.