JoaoJandre commented on issue #12524:
URL: https://github.com/apache/cloudstack/issues/12524#issuecomment-3849420368

   Hello, @nxsbi 
   
   I was able to reproduce the problem. This happens when the number of 
snapshots configured to be kept for the policies is lower than the 
`snapshot.delta.max` configuration, what happens is that the chain is never 
ended and thus the older snapshots are never removed in order to keep the newer 
ones valid. I will create a PR to fix this in 4.22.1.0.
   
   The workaround that I would suggest is setting the maximum number of 
snapshots for the user snapshot policies to be the same as the value of 
`snapshot.delta.max`. This will ensure that a full snapshot chain is created 
and finished each cycle and the older snapshot chains will be deleted. Could 
you test and check if this workaround works for you?
   
   @nvazquez This affects only XCP-ng, the snapshot creation logic is different 
for KVM.


-- 
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