Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which API can I use to delete PDB entries in the cloud that does not exists anymore? #542

Open
alessandratesta opened this issue Jun 9, 2023 · 2 comments
Labels
Database Issue pertains to the Database service

Comments

@alessandratesta
Copy link

"lifecycle_details": "Pluggable Database resource with CON_UID: 3846719120 is in FAILED state because it cannot be found by the cloud software tooling running on the host.\nIf you have manually deleted the resource from the host, and you want to remove the OCI cloud resource, please use the OCI Console or APIs to delete the resource within your OCI tenancy.\nPlease use MOS note Doc ID 2855062.1 for the required steps to verify.\nIf the resource is still present at the host, please contact Oracle Support for help with the sync processes needed to correct the resource state in OCI.",

@alessandratesta
Copy link
Author

dictAttribute_list_pdb={'availability_domain','display_name','identifier','resource_type'}

# Initialize service client with default config file
database_client = oci.database.DatabaseClient(config)

delete_pluggable_database_response = database_client.delete_pluggable_database(
pluggable_database_id="ocid1.pluggabledatabase.oc1.************************"

)

Get the data from response

print(delete_pluggable_database_response.headers)

retrieves
ameError: name 'delete_pluggable_database_response' is not defined

@KartikShrikantHegde KartikShrikantHegde added the Database Issue pertains to the Database service label Jun 12, 2023
@adizohar
Copy link
Member

adizohar commented Dec 6, 2023

If pluggable is in failed status, please open Oracle Support ticket and support will help you to delete it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Database Issue pertains to the Database service
Projects
None yet
Development

No branches or pull requests

3 participants