manila/manila
Fernando Ferraz 785016eb74 Fix Dummy driver fails to get subnet_allocations
With the addition of support to multiple subnets per AZ,
backend_details structure was changed in Dummy driver to store
multiple subnet primary and secondary public ips in a
subnet_allocations list dumped to a json string, breaking upgrading
environments that already contains pre-existent share servers in
old format.

This change fixes the issue by checking if subnet_allocations does
exist, otherwise ensure backward compatibility by reading public
ips information in the old format.

Change-Id: I547de2f4cd82744ecc1cc8180f8cefdf5ec485b4
2022-03-17 18:04:56 +00:00
..
api Merge "[doc] Annotate max api micro version in Yoga" 2022-03-10 17:41:44 +00:00
cmd Add multiple subnets per AZ support 2022-03-03 02:31:11 +00:00
common Update micversion to API2.69, Manila share support Recycle Bin 2022-02-19 02:02:06 +08:00
compute Handle service client authorization errors 2021-06-24 15:45:04 +00:00
data Replace retrying with tenacity 2021-09-01 18:31:38 -07:00
db Metadata for Share Resource 2022-03-04 20:57:48 +00:00
image Handle service client authorization errors 2021-06-24 15:45:04 +00:00
message Early validate for CIFS without security service. 2021-08-05 22:44:55 +02:00
network Add multiple subnets per AZ support 2022-03-03 02:31:11 +00:00
policies Add missing deprecated messages to policy 2022-03-10 21:17:58 +00:00
privsep Migrate LVM driver to privsep 2022-02-22 17:37:50 -03:00
scheduler Add multiple subnets per AZ support 2022-03-03 02:31:11 +00:00
share Merge "Metadata for Share Resource" 2022-03-07 20:57:41 +00:00
share_group remove usage of six library 2022-02-10 02:46:34 +00:00
testing [ussuri][goal] Drop python2.7 support 2019-12-08 19:32:52 -08:00
tests Fix Dummy driver fails to get subnet_allocations 2022-03-17 18:04:56 +00:00
volume remove usage of six library 2022-02-10 02:46:34 +00:00
wsgi Integrate OSprofiler and Manila 2021-02-25 04:59:19 +01:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
context.py Drop "system_scope" from context constructor 2021-02-25 11:02:07 -08:00
coordination.py remove usage of six library 2022-02-10 02:46:34 +00:00
exception.py Metadata for Share Resource 2022-03-04 20:57:48 +00:00
i18n.py Remove i18n.enable_lazy() translation 2018-11-14 14:09:08 +05:30
manager.py init_host should be called before RPC consumer is created 2021-06-17 07:22:44 -04:00
opts.py Merge "Migrate all quota parameters to [quota] section." 2021-09-01 19:44:57 +00:00
policy.py Merge "Set "context_is_admin" to system scope admin roles" 2021-03-26 18:01:33 +00:00
quota.py remove usage of six library 2022-02-10 02:46:34 +00:00
rpc.py Integrate OSprofiler and Manila 2021-02-25 04:59:19 +01:00
service.py [Optimise] Use ThredGroup to manage periodic tasks 2021-08-31 20:48:10 +00:00
test.py Replace assertDictMatch with assertDictEqual method in tests 2021-07-14 01:32:08 +00:00
utils.py Deletes the six library and all its usages from manila/utils.py 2021-10-29 11:44:42 +00:00
version.py Remove vim headers 2014-10-06 15:00:27 +02:00