英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论