oracle/oci-python-sdk

DB Systems - Databases with Failed state aren't exported to report

eps-oci opened this issue · 9 comments

Hi,

We have realized that DB Systems databases in failed state aren't exported to report.

Regards,
Ernani

Can you please elaborate a bit more, which report ?

When we run showoci.py -d, we have receiving a list of Oracle databases created, except databases with failed state. For example dba tried to do a reshape and failed, the database came up again but the state still in Failed, this database isn't exported to report.

Currently showoci does not extract databases with status failed, I will add it for next version for next week Tuesday.

Thank you!

Hi, In order to have it fix quickly, you can edit the file showoci_service.py
Go to line 899 and change FAILED to FAILEDXXX (it is in procedure check_lifecycle_state_active)
Run again and let me know

I forwarded your suggestion, but I didn't receive a feedback yet.

Hello!! It's been working fine!!! Thank you!

Great, it will be implemented next Tue, if you are happy, can you kindly close the ticket

Thanks for the quick correction and attention!