cinder/cinder/volume
Gorka Eguileor bea4586635 Fix volume OVO create method
When we create a volume in the DB using the OVO interface we were
missing some fields in the volume present in memory after it has been
created.

This was caused by the create method not passing the expected attributes
to the _from_db_object.

Because of this missing information we have places in the code where we
forcefully a reload of the whole Volume OVO when it shouldn't be
necessary.

This patch fixes the create method of the Volume OVO and removes an
instance of the forceful reload of the volume, reducing our DB calls.

Change-Id: Ia59cbc5a4eb279e56f07ff9f44aa40b582aea829
2021-03-17 13:07:09 +01:00
..
drivers Merge "[DS8K]: Support revert to snapshot" 2021-03-17 06:45:48 +00:00
flows Move brick calls from cinder.utils to volume_utils 2021-02-10 17:27:46 -05:00
targets Remove six of dir cinder/volume/* 2020-10-14 09:08:54 +08:00
__init__.py
api.py Fix volume OVO create method 2021-03-17 13:07:09 +01:00
configuration.py Add support for shared "backend_defaults" config 2017-07-11 18:58:58 +00:00
driver.py Move trace methods from utils to volume_utils 2021-02-12 20:16:55 +00:00
driver_utils.py Remove log translations 2017-03-19 14:59:57 +00:00
group_types.py Remove six of dir cinder/volume/* 2020-10-14 09:08:54 +08:00
manager.py Merge "mypy: annotate volume manager" 2021-02-28 15:55:00 +00:00
qos_specs.py [Doc] Handle Sphinx warnings as errors 2017-08-29 16:00:09 -05:00
rpcapi.py Rename volume/utils.py to volume/volume_utils.py 2019-09-09 15:00:07 -04:00
throttling.py Remove exception.Error class 2020-07-21 18:21:21 +03:00
volume_migration.py Initiating Cinder Volume Manager with large number of volumes 2019-01-11 08:19:07 -05:00
volume_types.py mypy: annotate volume manager 2021-02-10 12:27:47 -05:00
volume_utils.py Move trace methods from utils to volume_utils 2021-02-12 20:16:55 +00:00