检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Ensure that the file is correct. 403 ModelArts.4500 The number of iam agencies has reached the maximum The number of IAM agencies exceeded the upper limit. Delete unused IAM agencies. 403 ModelArts.4501 The iam agency create action is forbidden Failed to create the IAM agency.
Figure 1 Searching for an Instance Enable View all to check all notebook instances created by all sub-users in the IAM project. Select search criteria, such as name, ID, status, image, flavor, description, and creation time.
Service Management Permissions Table 1 Fine-grained permissions for service management Permission API Action Related Action IAM Project Enterprise Project Deploying a model POST /v1/{project_id}/services modelarts:service:create N/A √ √ Obtaining model services GET /v1/{project_id
The IAM user does not have the obs:object:PutObjectAcl permission on OBS. Add the agency permission for the IAM user. FAQ Abnormal Creating the image timed out. The timeout duration is xxx minutes. There is a timeout limit for image building using ImagePacker.
member Workforce deleteWorker Deleting labeling team members in a batch Workforce batchDeleteWorker Creating a labeling team Workforce createWorkforce Updating a labeling team Workforce updateWorkforce Deleting a labeling team Workforce deleteWorkforce Automatically creating an IAM
The options are: Enums: NONE: no authentication APP: App authentication IAM: IAM authentication predict_url String Prediction URL service_id String Service ID service_name String Service name support_app_code Boolean Whether to support the App code Table 8 AppAuthResultInfo Parameter
The IAM user does not have the obs:object:PutObjectAcl permission on OBS. Add the agency permission for the IAM user. FAQs Abnormal Creating the image timed out. The timeout duration is xxx minutes. There is a timeout limit for image building using ImagePacker.
If this parameter is set to all, the authorization of all IAM users will be deleted. Constraints: N/A Range: N/A Default Value: N/A Request Parameters None Response Parameters Status code: 200 OK None Example Requests Delete the authorization of a specified user.
member workforce deleteWorker Deleting labeling team members in batches workforce batchDeleteWorker Creating a labeling team workforce createWorkforce Updating a labeling team workforce updateWorkforce Deleting a labeling team workforce deleteWorkforce Automatically creating an IAM
If the token is invalid, API Gateway intercepts the request and reports error message "APIG.0301:Incorrect IAM authentication information: decrypt token fail". Obtain the correct token and enter it in X-Auth-Token for prediction.
It can be obtained by calling the IAM API that is used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
Range: N/A Default Value: N/A Request Parameters Table 3 Request header parameters Parameter Mandatory Type Description X-Auth-Token Yes String User token, which can be obtained by calling the IAM API that is used for obtaining a user token.
When using a token for authentication, cache it to prevent frequently calling the IAM API used to obtain a user token. A token specifies certain permissions in a computer system.
Only the IAM users of the account can register and use the SWR images when the image type is Private. Other users can register and use SWR images when the image type is Public. Log in to the ModelArts management console.
member Workforce deleteWorker Deleting labeling team members in batches Workforce batchDeleteWorker Creating a labeling team Workforce createWorkforce Updating a labeling team Workforce updateWorkforce Deleting a labeling team Workforce deleteWorkforce Automatically creating an IAM
Grant the required basic permissions to the IAM user. ModelArts needs to access other dependent services. Create an agency for ModelArts. Purchase Lite Server resources on the ModelArts console.
Training Job Permissions Table 1 Fine-grained permissions for training jobs (new version) Permission API Action Related Action IAM Project Enterprise Project Creating a training job POST /v2/{project_id}/training-jobs modelarts:trainJob:create swr:repository:listTags swr:repository
It can be obtained by calling the IAM API that is used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
Figure 2 Tenant ID and IAM ID Collect the logs and upload the script. Modify the GpuLogCollection parameter in the script below and replace ak, sk, and obs_dir with the values obtained in the previous steps.
If an IAM user needs to start a notebook instance of another user's, change the key pair. Log in to the ModelArts console. In the navigation pane on the left, choose Development Workspace > Notebook. Click the target notebook instance.