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 MARCH 19, 2020
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!