Container driver failing to manage share server in Ubuntu Focal
Bug #1896322 reported by
Douglas Viroel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Douglas Viroel |
Bug Description
Description
===========
Manila fails to manage a share server and gives the following error:
"Error managing share server 45b20748-
Steps to reproduce
==================
- Manage a share server using Container driver in Ubuntu LTS Focal
Environment
===========
1. OpenStack Manila Ussuri release.
2. Storage backend: Containers
3. Network type: Neutron with Open vSwitch
4. Open vSwitch version 2.13.0
Logs & Configs
==============
Traceback: http://
tags: |
added: container removed: con |
Changed in manila: | |
assignee: | nobody → Douglas Viroel (dviroel) |
importance: | Undecided → Low |
importance: | Low → Undecided |
Changed in manila: | |
status: | New → In Progress |
Changed in manila: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Looks like in Ubuntu Focal and Open vSwitch version 2.13.0 the behavior of how external-ids are stored in network interfaces was changed. ids:manila- container= container_ name' doesn't add quotation marks around the value and also remove them if we added it manually:
The command 'ovs-vsctl set interface veth1234567 external-
1) without quotes: ids:manila- container= manila_ 85fd0ad7_ f614_46e3_ bad3_f19eae36f6 ea
$ sudo ovs-vsctl set interface vetha9e3dec external-
$ sudo ovs-vsctl list interface vetha9e3dec | grep manila-container mac="fa: 16:3e:a5: 51:4b", iface-id= "ea1a4107- 4e47-45c5- 8211-d60d80ac3b 50", iface-status= active, manila- container= manila_ 85fd0ad7_ f614_46e3_ bad3_f19eae36f6 ea}
external_ids : {attached-
2) adding quotes: ids:manila- container= "manila_ 85fd0ad7_ f614_46e3_ bad3_f19eae36f6 ea"
$ sudo ovs-vsctl set interface vetha9e3dec external-
$ sudo ovs-vsctl list interface vetha9e3dec | grep manila-container mac="fa: 16:3e:a5: 51:4b", iface-id= "ea1a4107- 4e47-45c5- 8211-d60d80ac3b 50", iface-status= active, manila- container= manila_ 85fd0ad7_ f614_46e3_ bad3_f19eae36f6 ea}
external_ids : {attached-
And the code expected to have a quotation mark around container name: /opendev. org/openstack/ manila/ src/branch/ master/ manila/ share/drivers/ container/ container_ helper. py#L152
https:/