There are instances where cinder needs to create a temporary volume and
this can trigger a flatten of the new temporary volume, which will make
the operation take a lot longer.
In some cases this means slower operations, but in others it leads to
rpc timeout failures.
A case where we see timeout failures is when doing a backup of a
snapshot and we have rbd_flatten_volume_from_snapshot=true.
This patch ensures that we don't flatten temporary volumes.
Reviewed: https:/ /review. opendev. org/c/openstack /cinder/ +/790492 /opendev. org/openstack/ cinder/ commit/ e726c07948138f5 14706cc69440971 a2105c2bc0
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit e726c07948138f5 14706cc69440971 a2105c2bc0
Author: Gorka Eguileor <email address hidden>
Date: Mon May 10 10:35:57 2021 +0200
RBD: Don't flatten temporary resources
There are instances where cinder needs to create a temporary volume and
this can trigger a flatten of the new temporary volume, which will make
the operation take a lot longer.
In some cases this means slower operations, but in others it leads to
rpc timeout failures.
A case where we see timeout failures is when doing a backup of a volume_ from_snapshot= true.
snapshot and we have rbd_flatten_
This patch ensures that we don't flatten temporary volumes.
Closes-Bug: #1916843 5b2227506f82ddf 6ee57c951ae
Change-Id: I8f55c3beb2f8df