-
Bug
-
Resolution: Done
-
Normal
-
None
-
False
-
None
-
False
It seems that OCI cache is not invalidated during local testing
Steps to reproduce:
- start OCI data ingestion
- request /reports/oci/costs/ report during the ingestion process - report contains no data [expected]
- wait for the ingestion to finish
- hit /reports/oci/costs/ again - the report still contains no data [unexpeted]
- hit /reports/oci/costs/?limit=1001 to invalidate the cache/make sure the data are already loaded - the report contains data
- hit /reports/oci/costs/ again to proof it was not a timing issue before - the report still contains no data [unexpeted]
Also the logs contains only this kind of information about cache:
2022-09-09 07:24:45,700: INFO/ForkPoolWorker-12] Invalidated request cache for koku-worker_1 | tenant: public koku-worker_1 | cache_key_prefix: None
while, for example for GCP we see also this kind of logs:
koku-worker_1 | [2022-09-09 06:42:22,691] INFO efd9e076-9379-41ab-ba61-8b40bcded870 Invalidated request cache for
koku-worker_1 | tenant: org1234567
koku-worker_1 | cache_key_prefix: gcp-view
Note: it seems to work fine in stage ... I didn't try it in other envs..
- is related to
-
COST-2171 Oracle Cloud Infrastructure API/UI for Cost Management
- Closed