system_use column is now moved from disk_offering table to service_offering table, because it is applicable only to service offering. There is a left over usage of system_use when user tries to list disk offering. Now we deleted that reference.
diff --git a/server/src/main/java/com/cloud/api/query/QueryManagerImpl.java b/server/src/main/java/com/cloud/api/query/QueryManagerImpl.java index 0ae776b..75ad4b0 100644 --- a/server/src/main/java/com/cloud/api/query/QueryManagerImpl.java +++ b/server/src/main/java/com/cloud/api/query/QueryManagerImpl.java
@@ -2932,10 +2932,7 @@ if (account.getType() == Account.ACCOUNT_TYPE_NORMAL) { throw new InvalidParameterValueException("Only ROOT admins and Domain admins can list disk offerings with isrecursive=true"); } - } else { // domain + all ancestors - sc.addAnd("systemUse", SearchCriteria.Op.EQ, false); // non-root users should not see system offering at all } - } if (volumeId != null && storagePoolId != null) {