Skip to content

Commit 6b96896

Browse files
authored
docs: entitlement issue fix (#946)
1 parent 6143856 commit 6b96896

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,39 @@ During cluster provisioning a containers apikey is created if one does not alrea
240240

241241
To workaround the issue simply attempt a re-apply of the terraform and it should pass on second attempt. If you still face issues, an IBM Cloud support case should be created with the `Kubernetes service` and include the `incidentID` from the error.
242242

243+
#### The entitlement 'cloud_pak' was not found
244+
When provisioning this module, you might encounter the following error during the Terraform apply phase if a value has been set for ocp_entitlement.
245+
246+
```
247+
2025/10/20 14:28:57 Terraform apply | with module.ocp_base.ibm_container_vpc_cluster.cluster[0],
248+
2025/10/20 14:28:57 Terraform apply | on ../../main.tf line 140, in resource "ibm_container_vpc_cluster" "cluster":
249+
2025/10/20 14:28:57 Terraform apply | 140: resource "ibm_container_vpc_cluster" "cluster" {
250+
2025/10/20 14:28:57 Terraform apply |
251+
2025/10/20 14:28:57 Terraform apply | ---
252+
2025/10/20 14:28:57 Terraform apply | id: terraform-40a3a1fe
253+
2025/10/20 14:28:57 Terraform apply | summary: 'Request failed with status code: 400, ServerErrorResponse:
254+
2025/10/20 14:28:57 Terraform apply | {"incidentID":"a0701484-1dcf-a82e-90b1-455464f7064c","code":"E3595","description":"The
255+
2025/10/20 14:28:57 Terraform apply | entitlement ''cloud_pak'' was not found. Specify ''ocp_entitled'' to search for
256+
2025/10/20 14:28:57 Terraform apply | any supported license or entitlement. If no match is found, then you do not have
257+
2025/10/20 14:28:57 Terraform apply | a supported license or entitlement.","type":"BadRequest"}'
258+
2025/10/20 14:28:57 Terraform apply | severity: error
259+
2025/10/20 14:28:57 Terraform apply | resource: ibm_container_vpc_cluster
260+
2025/10/20 14:28:57 Terraform apply | operation: create
261+
2025/10/20 14:28:57 Terraform apply | component:
262+
2025/10/20 14:28:57 Terraform apply | name: github.com/IBM-Cloud/terraform-provider-ibm
263+
2025/10/20 14:28:57 Terraform apply | version: 1.83.3
264+
2025/10/20 14:28:57 Terraform apply | ---
265+
```
266+
267+
This error typically occurs when the OpenShift cluster API key for the target region and resource group is invalid, expired, or not properly associated with the required entitlement.
268+
269+
To resolve this issue, Replace the API key for all clusters in the specified region and targeted resource group.
270+
```
271+
ibmcloud target -g <resource-group>
272+
ibmcloud oc api-key reset --region <region>
273+
```
274+
275+
243276
#### New kube_version message
244277

245278
- When you run a `terraform plan` command, you might get a message about a new version of Kubernetes, as in the following example:

0 commit comments

Comments
 (0)