Why am I getting error code 81 while trying to run Aerospike backup with admin user and default roles assigned?

huangapple go评论49阅读模式
英文:

Why am I getting error code 81 while trying to run Aerospike backup with admin user and default roles assigned?

问题

During aerospike backup, 我在进行备份时,尽管我使用了管理员用户并为管理员用户分配了所有默认角色,但我仍然遇到以下错误:

"error while running scan for 4096 partitions from 0 to 4095 - code 81:AEROSPIKE_ROLE_VIOLATION at src/main/aerospike/aerospike_scan.c:352"

您能否告诉我还需要提供哪些权限?

我尝试为管理员用户提供了所有默认角色,但仍然出现相同的错误。我不确定是否需要为管理员用户在命名空间上提供权限。

英文:

While taking aerospike backup, I'm getting below error even though I'm using admin user and I assigned all default roles to admin user.

"error while running scan for 4096 partitions from 0 to 4095 - code 81:AEROSPIKE_ROLE_VIOLATION at src/main/aerospike/aerospike_scan.c:352"

Could you please let me know what else I should provide the permissions?

I tried providing all default roles assigned to admin user but still giving the same error. I am not sure if I need to provide permissions on namespaces to the admin user.

答案1

得分: 2

我可以通过为运行备份的用户提供读写权限来解决此问题。

管理ACL授予用户管理员角色读写权限。

英文:

I'm able to fix the issue by providing read & write role to user which is using to run the backup.

manage acl grant user admin roles read-write

huangapple
  • 本文由 发表于 2023年5月22日 19:12:14
  • 转载请务必保留本文链接:https://go.coder-hub.com/76305568.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定