We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
as title
steps to reproduce the issue
expected: both root and data disk size are considered actual: only root disk size is considered
it seems to be caused by the line sc.setParameters("vType", Volume.Type.ROOT.toString()); in code
sc.setParameters("vType", Volume.Type.ROOT.toString());
@Override public long getVMSnapshotSizeByPool(long poolId) { SearchCriteria<SumCount> sc = TotalVMSnapshotSizeByPoolSearch.create(); sc.setParameters("poolId", poolId); sc.setParameters("state", State.Destroy); sc.setParameters("vType", Volume.Type.ROOT.toString()); List<SumCount> results = customSearch(sc, null); if (results != null) { return results.get(0).sum; } else { return 0; } }
cloudstack/engine/schema/src/main/java/com/cloud/storage/dao/VolumeDaoImpl.java
Line 664 in e333f27
The text was updated successfully, but these errors were encountered:
fixed in 8101
Sorry, something went wrong.
No branches or pull requests
as title
steps to reproduce the issue
expected: both root and data disk size are considered
actual: only root disk size is considered
it seems to be caused by the line
sc.setParameters("vType", Volume.Type.ROOT.toString());
in codecloudstack/engine/schema/src/main/java/com/cloud/storage/dao/VolumeDaoImpl.java
Line 664 in e333f27
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: