My Oracle Support Banner

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 JULY 21, 2020

Applies to:

Oracle Container Cloud Service - Version N/A to N/A
Information 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:

console.js:35 {"at":1545666823905,"counter":6,"session":"d1effb59-b57c-4f87-a791-2d8592674c78","tenantName":"XXX","event":"PluginSwitched","eventMeta":"{\"toPlugin\":{\"name\":\"container-engine\",\"path\":\"/containers/clusters\",\"loadMethod\":0,\"version\":\"0.6.4-41137e4\",\"url\":\"https://container-engine.plugins.oci.oraclecloud.com/0.6.5-9718f61/index.tpl.html\",\"globals\":[\"ouiUIkit\",\"ouiUIkitIcons\",\"webpackJsonpcontainer_engine\"]},\"fromPlugin\":{\"name\":\"Hg\",\"path\":\"/a/\",\"loadMethod\":0,\"version\":\"2.256.0-1000\",\"url\":\"https://hg.plugins.oci.oraclecloud.com/2.256.0-1000/hg-plugin.tpl.html\"},\"timeElapsed\":719}"}
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":1545666921365,"counter":7,"session":"d1effb59-b57c-4f87-a791-2d8592674c78","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.tenancy.oc1..aaaaaaaaiepv3pigsjrdn4yemrns24g56dbapsa5c2vun434di3qd76cegla --vcn-id ocid1.vcn.oc1.iad.aaaaaaaaa2snvhv6w2qvxityqhcxcth6rjdigmzgvb54m4nnqzwpsi7mqtnq --kubernetes-version v1.10.11
ServiceError:
{
"code": "NotAuthorizedOrNotFound",
"message": "Authorization failed or requested resource not found.",
"opc-request-id": "D268A5F437F44FBC93C69A48D5589649/98193BF0F03A4C819A6075847E2576D7/0CDBD85FDBA343748F041043F769C8F7",
"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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.