oci-cli
oci-cli copied to clipboard
Command Line Interface for Oracle Cloud Infrastructure
Following bash script ``` #!/bin/bash LSL=$(oci iam compartment list | jq .data[].id) declare -a ARRAY ARRAY=($LSL) for i in "${ARRAY[@]}"; do echo "RUNNING: oci compute instance list -c $i |...
Hi I was trying to access streaming but it gives back this error: oci.exceptions.RequestException: (MaxRetryError("HTTPConnectionPool(host='localhost', port=19000): Max retries exceeded with url: /20180418/streams?compartmentId=ocid1.tenancy.oc1..XXXXXXX (Caused by NewConnectionError(': Failed to establish a new...
## Expected result `oci iam group list-users` or `oci iam user list-groups` should include group membership OCIDs in results as it is available in the underlying API call `ListUserGroupMemberships` ##...
When adding autocomplete to my .zprofile file: ``` [[ -e "/Users/atael/lib/oci_autocomplete.sh" ]] && source "/Users/atael/lib/oci_autocomplete.sh" ``` I get the following error when opening a new terminal window: ``` /Users/atael/lib/oci_autocomplete.sh:12: command...
Both the table output and json output can be very overwhelming for complex data structures. Please add a simplified output for commands. This could be a simplified table view. Putting...
I try to use Archive Storage. I want to restore in some directories but OCI's web interface enable select only objects in one directories. I want to `bulk-restore` command to...
Creating Custom Image from Object Storage bucket object is failing when using Instance Principal. Consider this scenario * QCOW2 image exists in Object Storage bucket Compartment "Migration" * Intent is...
When getting a pluggable database list the open-mode is reported incorrectly. oci db pluggable-database list --database-id +------------+----------+- | open-mode | pdb-name | +------------+----------+- | READ_WRITE | DB1 | | READ_WRITE...
I followed these instructions: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/clitoken.htm I authenticated successfully, and `oci session validate` succeeds. However, any API interaction results in the error: ``` ERROR: The config file at ~/.oci/config is invalid:...
We have noticed that the OCI CLI (including version `3.5.0`) has a bug that deletes files that should not be deleted. This affects any version of the OCI CLI at...