so the openstack client is calling the nova simple tenant usage apihttps://docs.openstack.org/python-openstackclient/latest/cli/command-objects/usage.html#usage-listmaps tohttps://docs.openstack.org/api-ref/compute/#show-usage-statistics-for-tenantthe openstack client does not have a --all-tenants flag or simplar to callhttps://docs.openstack.org/api-ref/compute/#list-tenant-usage-statistics-for-all-tenantsso the difference is the openstack client uses/os-simple-tenant-usage/{tenant_id} which is aviabel to anyone with the member or reader role in a given projectthe all tenats version is /os-simple-tenant-usageand that endpoint is admin only.osc has only ever support the tenant specific version so if you wantted to supprot the admin versionyou would need to modify osc to add a --all-tenant option to the cli.horizon presumably support the multi tenant view as an admin usign the /os-simple-tenant-usage endpoint.On Tue, 2023-11-28 at 18:47 +0100, Michel Jouvin wrote:Hi,I've been struggling today to understand the problem. I wrote a (Python)script that uses directly the API instead of going through the"openstack usage list". I had some hope of something related to thelimit parameter but unfortunately it is not the case and the resultusing the API is the same as using the openstack client. Only horizonreturns all the information.Does somebody has any clue about what is done differently by Horizoncompared to the openstack client (I assume it is using the API ratherthan the client)?Any input would be very much appreciated as going month by month (weneed a month-level detail) through the dashboard is not very sustainableand potentially very error prone...Best regards,MichelLe 27/11/2023 à 18:39, Michel Jouvin a écrit :Hi,We are using "openstack usage list" to follow resource usage byprojects at our cloud. We recently discovered that ~1/3 of theresource consumed (mostly "big projects") are missing from theJSON/CSV produced where the Admin Overview menu in the Horizondashboard displays everything. Is there a trivial reason for this?We tried both with a pretty old openstackclient (5.8) and the last oneafter applying the patch inhttps://github.com/openstack/python-openstackclient/commit/30462f57d48162d15f8e4e575c49504c619d657cto fix the problem with date conversion. The result is the same.Thank you in advance for any help. Cheers,Michel