Merge "Fix manage share server for container in Focal"
This commit is contained in:
commit
4f0a61af39
@ -149,7 +149,7 @@ class DockerExecHelper(driver.ExecuteMixin):
|
||||
interfaces = self._execute("ovs-vsctl", "list", "interface",
|
||||
run_as_root=True)[0]
|
||||
veths = set(re.findall("veth[0-9a-zA-Z]{7}", interfaces))
|
||||
manila_re = "manila-container=\".*\""
|
||||
manila_re = "manila-container=\"?.{%s}\"?" % len(name)
|
||||
for veth in veths:
|
||||
try:
|
||||
iface_data = self._execute("ovs-vsctl", "list", "interface",
|
||||
|
@ -0,0 +1,8 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixed an issue on Container driver when managing share servers. The regex
|
||||
used to search for container-name in the available network interfaces
|
||||
was updated to support newer versions of Open vSwitch. Refer to the
|
||||
`Bug #1896322 <https://bugs.launchpad.net/manila/+bug/1896322>`_ for more
|
||||
details.
|
Loading…
Reference in New Issue
Block a user