cinder/cinder
whoami-rajat e3c9fa4efa Fix: Create new cache entry when xtremio reaches snap limit
When we reach xtremio_volumes_per_glance_cache, it is not able
to create more clones for the image-volume therefore requires to
create a new cache entry.
Keeping in mind the case in [1], we can get CinderException for
various reasons from different drivers during the clone operation.
So we define a new exception for the xtremio driver to force create
a new cache entry when the limit reaches and not enforce the same
for other drivers.

[1] https://bugs.launchpad.net/cinder/+bug/1552734

Conflicts:
        cinder/exception.py
        cinder/tests/unit/volume/flows/test_create_volume_flow.py

Closes-Bug: #1858169

Change-Id: I2bf964d5a7b2048db9be1ea3eb97cd517e112c5b
(cherry picked from commit d22e54c254)
2020-02-21 10:20:03 +00:00
..
api Exclude disabled API versions from listing 2019-09-26 07:06:23 +00:00
backup Fix ceph: only close rbd image after snapshot iteration is finished 2019-08-13 17:15:44 -03:00
brick Add retry to LVM deactivation 2019-10-03 17:50:39 +00:00
cmd Prevent double-attachment race in attachment_reserve 2019-08-13 14:23:34 -04:00
common Remove deprecated 'pybasedir' config option 2017-12-16 16:30:06 +00:00
compute Add user messages for extend volume operation 2018-08-17 21:33:44 +00:00
consistencygroup Remove consistencygroups/api.py 2018-01-26 17:59:27 -05:00
db Make volume soft delete more thorough 2020-02-12 05:24:11 +00:00
group Fix group availability zone-backend host mismatch 2019-03-20 17:08:27 +00:00
hacking Add contributor doc on assertEqual vs assertFalse 2017-08-30 17:50:02 +00:00
image Increase cpu limit for image conversion 2020-01-31 01:14:14 +00:00
interface Handle deprecation of inspect.getargspec 2017-11-21 12:57:05 -06:00
keymgr Add secret=true to fixed_key configuration parameter 2019-01-08 12:41:26 -03:00
locale Imported Translations from Zanata 2018-08-14 07:32:15 +00:00
message Add user messages for extend volume operation 2018-08-17 21:33:44 +00:00
objects Fix DetachedInstanceError for VolumeAttachment 2019-10-03 07:36:03 -07:00
policies Add policy check for complete attachment API action 2018-01-24 15:48:22 +00:00
scheduler Add user messages for extend volume operation 2018-08-17 21:33:44 +00:00
tests Fix: Create new cache entry when xtremio reaches snap limit 2020-02-21 10:20:03 +00:00
transfer Add missing 'target_obj' when perform policy check 2018-08-20 10:46:17 -05:00
volume Fix: Create new cache entry when xtremio reaches snap limit 2020-02-21 10:20:03 +00:00
wsgi Prevent double-attachment race in attachment_reserve 2019-08-13 14:23:34 -04:00
zonemanager Fix for auth version change in Brcd HTTP 2019-02-26 08:09:04 +00:00
__init__.py
context.py Add Keystone v3 domain information to context 2018-04-25 18:12:14 +00:00
coordination.py Remove deprecated heartbeat options 2017-10-03 14:41:18 -05:00
exception.py Fix: Create new cache entry when xtremio reaches snap limit 2020-02-21 10:20:03 +00:00
flow_utils.py Fix logging traceback in service logs 2016-12-20 12:39:07 +05:30
i18n.py Replace http with https for doc links in cinder 2017-10-17 11:14:01 +08:00
manager.py Allow configuring tpool size 2018-03-13 13:13:20 +01:00
opts.py [NetApp ONTAP] Add filtering to API trace logging 2018-08-28 14:36:25 -03:00
policy.py Correct default policy file 2018-12-06 22:22:03 +00:00
quota.py Periodic task to clean expired reservation 2017-05-30 22:21:38 +08:00
quota_utils.py Add Generic Volume Group Into Quota Management 2017-05-26 01:43:23 +00:00
rpc.py Remove deprecated oslo_messaging.get_transport 2017-06-13 14:25:38 +07:00
service.py Log config options with oslo.config 2018-02-23 01:05:23 +00:00
service_auth.py Add service_token for cinder-nova interaction 2017-12-15 12:04:23 +05:30
ssh_utils.py Change ssh_utils parameter to correctly sends keepalive packets 2017-12-12 14:46:29 +09:00
test.py Tests: Fix up migrate notify tests 2019-10-04 05:54:58 +00:00
utils.py [Logging] Enable filtering of trace_api logs 2018-08-28 14:35:49 -03:00
version.py