JoaoJandre commented on PR #12758:
URL: https://github.com/apache/cloudstack/pull/12758#issuecomment-4424099527

   > @weizhouapache @DaanHoogland The error is regarding support for the zstd 
lib for compression:
   > 
   > ```
   > Message: qemu-img: 
/mnt/e67bf82c-01aa-3c06-b4ea-9aec4f3bdef8/backups/61/44/a46f463d-9a39-435a-ae27-4982c96abaca.comp:
 error while converting qcow2: Parameter 'compression-type' does not accept 
value 'zstd'
   > ```
   > 
   > As far as I'm aware, this should be present in versions 5.1 and up from 
qemu-img, we test this in the code and if the version is lower, we do not set 
the lib to be used, leaving qemu-img to use the default (zlib)
   > 
   > Could you check which version of qemu-img is being used?
   
   Just to expand on this, I could change the test to use zlib, but I think 
having the test on zstd is best to catch this exact scenario. 
   I did not test in versions earlier than 6.0 of QEMU, so I'm trusting the 
documentation I found online regarding it being available from version 5.1. If 
we find it is not available, I'll change the validation on the code. Thus, it 
would be nice to know which version of QEMU is being run on the CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to