OCI console stuck in Loading when creating containers in OKE cluster; Also tried CLI to create, with failed with 404 error of "NotAuthorizedOrNotFound"
(Doc ID 2498678.1)
Last updated on MARCH 29, 2022
Applies to:
Oracle Container Cloud Service - Version N/A to N/AInformation in this document applies to any platform.
Symptoms
When creating containers in OKE cluster using OCI console, system hangs while loading in first screen. Browser console log shows various errors, excerpt as below:
api.ts:142 Uncaught (in promise) TypeError: Failed to fetch
at api.ts:142
console.js:35 [https://console.us-ashburn-1.oraclecloud.com]: Notify route /a/compute/instances?tenant=XXX&provider=OracleIdentityCloudService changes to []
console.js:35 [https://console.us-ashburn-1.oraclecloud.com]: Notify route /a/compute/instances?tenant=XXX&provider=OracleIdentityCloudService changes to []
console.js:35 {"at":154XXXX65,"counter":7,"session":"d1effXXXXXXXXXXXX78","tenantName":"XXX","event":"LocationIsChangingTo","eventMeta":"{\"type\":\"@@router/LOCATION_CHANGE\",\"payload\":{\"pathname\":\"/a/compute/instances\",\"search\":\"?tenant=XXX&provider=OracleIdentityCloudService\",\"hash\":\"\"}}"}
ClusterDetailsPage.tsx:277 Uncaught (in promise) TypeError: Cannot read property 'metadata' of undefined
at ClusterDetailsPage.tsx:277
Also tried creating cluster with CLI on command line with correct kubernetes version, but still got 404 error of "NotAuthorizedOrNotFound", even though the user has admin permission on OCI:
hello> oci ce cluster create --name test --compartment-id ocid1.compartment.oc1..aaaXXXXXXXXXXXXXXXXegla --vcn-id ocid1.vcn.oc1.iad.aaaaXXXXXXXXXXXXXi7mqtnq --kubernetes-version v1.10.11
ServiceError:
{
"code": "NotAuthorizedOrNotFound",
"message": "Authorization failed or requested resource not found.",
"opc-request-id": "D268AXXXXXXXXXXXXXXXXXXXX576D7/0CDXXXXXXXXXXXXXXXXXXXC8F7",
"status": 404
}
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |