cinder/cinder
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
..
api Support format info in fs type drivers 2021-03-12 12:41:12 -05:00
backup Merge "[RBD] Fix snapshot backup name" 2021-02-20 13:34:52 +00:00
brick LVM: fix _create_vg 2021-02-11 13:55:50 -05:00
cmd Merge "Remove NestedQuotaDriver" 2021-02-16 16:26:03 +00:00
common Add encryption_key_id to volume and backup details 2021-02-04 07:23:08 -08:00
compute nova: use EndpointNotFound from keystoneauth1 2019-09-03 10:58:59 -04:00
db Remove six of dir cinder/db/* 2020-10-07 16:29:29 +08:00
group Use resource_backend for volumes and groups 2020-08-14 08:13:42 +00:00
image Support format info in fs type drivers 2021-03-12 12:41:12 -05:00
interface Remove six of dir cinder/brick,cinder/common,cinder/interface,cinder/objects 2020-10-07 17:28:36 +08:00
keymgr Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
locale Imported Translations from Zanata 2021-03-10 06:12:52 +00:00
message Add user messages for some volume snapshot actions 2019-04-26 17:02:05 -04:00
objects Fix volume OVO create method 2021-03-17 13:07:09 +01:00
policies Simplify composite check strings for project personas 2021-02-17 17:44:40 +00:00
privsep Enable flake8-logging-format extension 2020-01-09 14:35:20 -06:00
scheduler Remove six of dir cinder/scheduler/* 2020-10-08 08:36:17 +08:00
tests Merge "[DS8K]: Support revert to snapshot" 2021-03-17 06:45:48 +00:00
transfer Fix: show volume transfer by name for non-admins 2020-08-03 12:46:31 +00:00
volume Fix volume OVO create method 2021-03-17 13:07:09 +01:00
wsgi Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
zonemanager Brocade: Fix lookup UnboundLocalError 2020-08-07 15:24:44 +02:00
__init__.py
context.py mypy: annotate volume manager 2021-02-10 12:27:47 -05:00
coordination.py Remove deprecated heartbeat options 2017-10-03 14:41:18 -05:00
exception.py Merge "Remove NestedQuotaDriver" 2021-02-16 16:26:03 +00:00
flow_utils.py
i18n.py Replace http with https for doc links in cinder 2017-10-17 11:14:01 +08:00
manager.py mypy: annotate volume manager 2021-02-10 12:27:47 -05:00
opts.py TOYOU: Abandon the target parameter and Report SAN driver options 2021-02-18 05:41:44 +00:00
policy.py Merge "Make sure we pass context objects directly to policy enforcement" 2021-03-07 00:07:42 +00:00
quota.py Remove NestedQuotaDriver 2021-01-19 17:43:29 +00:00
quota_utils.py Remove NestedQuotaDriver 2021-01-19 17:43:29 +00:00
rpc.py Remove six in files under cinder/* 2020-10-08 14:00:14 +08:00
service.py Fix typo on service cluster change method 2020-05-06 19:36:07 -05:00
service_auth.py Add service_token for cinder-nova interaction 2017-12-15 12:04:23 +05:30
ssh_utils.py Remove six in files under cinder/* 2020-10-08 14:00:14 +08:00
utils.py Move trace methods from utils to volume_utils 2021-02-12 20:16:55 +00:00
version.py