You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using child process configuration (ENDPOINT_FORKS in the config.json) the bucket_namespace_cache is not shared between the forks. Currently, we need to wait for one minute before the item is cleaned from the cache.
Expected behavior
The cache will be updated and we will not have to wait.
Change the configuration to have more than 1 fork, for example: sudo vi /etc/noobaa.conf.d/config.json and {"ENDPOINT_FORKS": 2}).
Change the bucket configuration (for example change the existing bucket policy from: list object versions of a versioned bucket of all principals on the bucket and its objects to: allow get-object of a specific key with principal of account2).
Use the configuration as it was changed (try to get-object of this key by account2).
more details about the steps can be found in this comment.
It is not guaranteed that you will reproduce it since it might be that all the changes would be from the same child process.
More information - Screenshots / Logs / Other output
Environment info
Actual behavior
ENDPOINT_FORKS
in theconfig.json
) thebucket_namespace_cache
is not shared between the forks. Currently, we need to wait for one minute before the item is cleaned from the cache.Expected behavior
Steps to reproduce
This issue was raised as part of issue #8368
sudo vi /etc/noobaa.conf.d/config.json
and{"ENDPOINT_FORKS": 2}
).more details about the steps can be found in this comment.
It is not guaranteed that you will reproduce it since it might be that all the changes would be from the same child process.
More information - Screenshots / Logs / Other output
Example of policies:
from policy1:
to policy2:
The text was updated successfully, but these errors were encountered: