commit f6e5fe187ea947fd7d4624a4f456dd7e11c35c7d
Author: David Hill <email address hidden>
Date: Thu Oct 22 18:56:19 2020 -0400
Do not fail when depth is greater than rbd_max_clone_depth
Removed a sanity check in the code that raised an exception
if the clone depth of a volume to be cloned exceeded the
rbd_max_clone_depth config value. A consequence of this
check was that if an operator lowered the value, volumes
whose clone depth was greater than the new value (as would
be allowed by the previous, higher setting) could no longer
be cloned.
Change-Id: I8c445058a25c2eca2fda91bdeb6befedae34ccf2
Closes-bug: #1901241
(cherry picked from commit 8d8d242c3924037e6774a681efabce4893a26646)
(cherry picked from commit 23a821b2a4bbb5696bc27044a455fc7837641111)
Reviewed: https:/ /review. opendev. org/761180 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=f6e5fe187ea 947fd7d4624a4f4 56dd7e11c35c7d
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit f6e5fe187ea947f d7d4624a4f456dd 7e11c35c7d
Author: David Hill <email address hidden>
Date: Thu Oct 22 18:56:19 2020 -0400
Do not fail when depth is greater than rbd_max_clone_depth
Removed a sanity check in the code that raised an exception max_clone_ depth config value. A consequence of this
if the clone depth of a volume to be cloned exceeded the
rbd_
check was that if an operator lowered the value, volumes
whose clone depth was greater than the new value (as would
be allowed by the previous, higher setting) could no longer
be cloned.
Change-Id: I8c445058a25c2e ca2fda91bdeb6be fedae34ccf2 e6774a681efabce 4893a26646) 96bc27044a455fc 7837641111)
Closes-bug: #1901241
(cherry picked from commit 8d8d242c3924037
(cherry picked from commit 23a821b2a4bbb56