Files
Rajat Dhasmana 0d486da2f6 Fix: create volume optimization with clone_across_pool
When creating a volume from image (volume backed) and they reside
on different host/cluster, we offer clone_across_pool optimization
if the backend supports and enables it.
Currently it doesn't work since we pass the host/cluster filter even
when ``clone_across_pools`` is reported by the backend.
We should only pass host/cluster filter if the backend doesn't
support ``clone_across_pools`` capability and we are only allowed
to clone from image-volume to volume residing the same host/cluster.

Closes-Bug: #2121361
Change-Id: I49a00636658318622b5ede2717757cf83076c1fc
Signed-off-by: Rajat Dhasmana <rajatdhasmana@gmail.com>
2025-09-22 19:04:52 +00:00
..