oci db autonomous-database update --autonomous-database-id "$ADB_ID" --private-endpoint-label "" does not work
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 669
- Forks
- 236
- Avg merge
- 1m
- Merged PRs (30d)
- 4
Description
due to documentation a "private-endpoint-type" autonomous database can be updated to "public-endpoint-type" one by executing the following command :
oci db autonomous-database update --autonomous-database-id "$ADB_ID" --private-endpoint-label ""
i.e. - setting --private-endpoint-label to an empty string
Source:
https://docs.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/autonomous-database/update.html
however - when executed this command raises the following error:
"message": "The DNS prefix or Subnet ID for Autonomous AI Database private endpoints cannot be updated."
...
"operation_name": "update_autonomous_database",
...
"status": 400,
"target_service": "database",
which means, that although updating an ADB from public to private network works fine, it is not possible, by using OCI CLI to rollback the change
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the documented oci db autonomous-database update command with an empty --private-endpoint-label, then compare its behavior with the linked Autonomous Database update documentation. Trace the update_autonomous_database entry point and determine whether the CLI mishandles the empty value or the service rejects the transition. Done means the documented rollback works through OCI CLI, or the documentation and command behavior clearly agree.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100