PrimaryStorageInventory psInv = it.next(); if (!physicalCapacityMgr.checkCapacityByRatio(psInv.getUuid(), psInv.getTotalPhysicalCapacity(), psInv.getAvailablePhysicalCapacity())) { errs.add(String.format("primary storage[uuid:%s]'s physical capacity usage has exceeded the threshold[%s]", psInv.getUuid(), physicalCapacityMgr.getRatio(psInv.getUuid())));