Merge "nfs: Fix snapshot creation for encrypted volumes with qemu-img 6.1+"

This commit is contained in:
Zuul
2026-04-15 13:32:26 +00:00
committed by Gerrit Code Review
+1
View File
@@ -1651,6 +1651,7 @@ class RemoteFSSnapDriverBase(RemoteFSDriver):
'encrypt.cipher-alg=%(cipher_alg)s,'
'encrypt.cipher-mode=%(cipher_mode)s,'
'encrypt.ivgen-alg=%(ivgen_alg)s' % cipher_spec,
'-F', 'qcow2',
'-b', 'json:' + file_json,
'--object', 'secret,id=s0,file=' + tmp_key.name,
'--object', 'secret,id=s1,file=' + tmp_key.name,