What Should I Do If a Yearly/Monthly EVS Disk Cannot Be Automatically Created?
Symptom
When creating a yearly/monthly EVS disk, the payment permission cannot be added to cce_cluster_agency.
To dynamically create yearly/monthly EVS disks, your cluster version must be v1.23.14-r0, v1.25.9-r0, v1.27.6-r0, v1.28.4-r0, or later. Additionally, you will need to have the Everest add-on 2.4.16 or later installed in the cluster.
Possible Cause
cce_cluster_agency is the system agency of CCE. It contains the cloud service resource operation permissions required by CCE components, but does not include the payment permission. When creating yearly/monthly EVS disks, cce_cluster_agency must have the payment permissions, so you must manually add the bss:order:pay permission to cce_cluster_agency.
Solution
You can create a custom policy, add the bss:order:pay permission to it, and grant the policy to cce_cluster_agency.
- Create a custom policy.
- Log in to the IAM console. In the navigation pane, choose Permissions > Policies/Roles. Then click Create Custom Policy.
- Configure parameters for the policy.
- Policy Name: Set it to CCE Subscribe Operator.
- Policy View: Select JSON.
- Policy Content: Configure it as follows:
{ "Version": "1.1", "Statement": [ { "Effect": "Allow", "Action": [ "bss:order:pay" ] } ] }
- Click OK.
- Grant the custom policy to cce_cluster_agency.
- Log in to the IAM console. In the navigation pane, choose Agencies.
- Locate the agency named cce_cluster_agency and click Authorize.
- Search for the CCE Subscribe Operator custom policy, select it, and click Next.
-
Select an authorization scope as needed.
By default, All resources is selected.
- Click OK.
- Go back to the CCE console, create a yearly/monthly EVS disk again, and verify that this problem has been resolved.