My Oracle Support Banner

OCI - Adding Private IP Inside an Instance using Command "oci-network-config" Fails with Error "failed ot add private ip: Failed to get API session" (Doc ID 2645438.1)

Last updated on MAY 09, 2024

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64

Symptoms

Adding private IP inside a OCI instance using "oci-network-config"" command fails with following error,

#oci-network-config --add-private-ip --private-ip x.x.x.x
failed ot add private ip: Failed to get API session

Changes

 

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
Changes
Cause
Solution
 #oci setup config
References


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