Permission checks fails with Error: “User not Found”
Permission
checks fails with Error: “User not Found”
You may receive the following error when checking
permissions on an account within CPM. Also, the policy check .CSV file will show
only “User not Found” when opened.
In the
cpm_server logs you may see the following errors
Note: ”user”
represents the account name
INFO:
account_page_check_permissions(views.py:4625) User (“user”) request permission check for
account (G-CORP)
ERROR:
account_page_check_permissions(views.py:4639) Requested permission check failed [account
(1) by user “user”)]: user not found
ERROR:
collect_support_logs(views.py:701)
permission check failed [account (01234567891024) by admin (“user”)]:
user not found
Also, under the Accounts section you
may see the following in the authentication column.
You may see the following under the
account details.
This is a permissions issue.
To correct
the issue, you will need to make sure the IAM Role or IAM User has the correct CPM Permissions applied to is using the steps in the link below.
Then run a permissions check for that user
again.
Below is a
link to the correct permissions file for CPM along with instructions on how to apply them.
Related Articles
How to Check for AWS Permissions
Checking for AWS account permissions Each account in N2WS is mapped to a specific Roles or IAM user in AWS. You can see the list of account and authentication types in the Account Tab: For each account, you can select it and then click on 'Check AWS ...
Permission check may fail with an error "Could not assume role"
Issue: Permission check may fail with this error message: ERROR: get_assume_role_credentials(aws_utils.py:1337) Could not assume role arn arn:<AWS account ARN:RoleName> from account <CPM Account> (<CPM user>), reason User arn:<AWS account ARN:IAM ...
File level restore may fail with the "Failed adding share permission" error
File level restore may fail with the "Failed adding share permission" error: ERROR: share_snapshot(.\cpmserver\cpm\aws_utils.py:265) Failed adding share permission to snapshot snap-1234567890abcdef (original volume: vol-abcdef1234567890) Failed. ...
How to update the AWS Role Permissions
Background This document details the steps needed to update the N2WS IAM Role Permissions. This is often needed when upgrading to a newer version as added functionality requires additional AWS Permissions. Steps for updating a policy 1. Please visit ...
Required minimal AWS permissions/roles for CPM operation
You can apply all the required roles by using the JSON files inside the archive attached to this article (including the new permissions required for v4.0 and up). Note that for some editions there is more then 1 json file. If you are using FLR or ...