Comments (21)
Thank you very much,
I am waiting for my permissions to be reviewed. I'll try as soon as I can and let you know.
Best Regards!
from oci-python-sdk.
Carlos, Thank you for the information
I saw the issue the VNIC has multiple IP addresses, I will fix and let you know
from oci-python-sdk.
Hi Carlos
I fixed it and will push to git on 4/16/2024 after proper testing
For your info
from oci-python-sdk.
Thank you very much!!
from oci-python-sdk.
Code was pushed to 4/16 version, please do check on 4/16 and let me know
Thank you
from oci-python-sdk.
Thank you @adizohar for fixing this.
@carlos-delgadocastano is the issue fixed for you?
from oci-python-sdk.
Carlos it was deployed, please let me know if fixed and please close the ticket if working.
from oci-python-sdk.
Hi!
Thank you for the update. I have not been able to test it, because I had to rollback. I was in showoci.py 23.10.31 version and with this new version I have the following error:
Error in ShowOCIDomains:load_identity_domains_main: {'target_service': 'identity', 'status': 404, 'code': 'NotAuthorizedOrNotFound', 'opc-request-id': '9F3E18E768AD4B1C85E9DEC24F54955F/AB70F23F1B7C5644458C4C037E71F3FF/0D797CEBB7D5C20F19D595FD9C849040', 'message': 'Authorization failed or requested resource not found', 'operation_name': 'list_domains', 'timestamp': '2024-04-17T15:16:05.540195+00:00', 'client_version': 'Oracle-PythonSDK/2.125.3'
Do you know which could be the problem?
Thank you in advance,
Best Regards,
from oci-python-sdk.
Hi Carlos, looks like you don't have access to check IAM Domains and your tenant upgraded to IAM Domains
you can use the flag -ani to skip identity.
from oci-python-sdk.
I will improve the code to post proper error , it could be identity domain in different compartment.
from oci-python-sdk.
Hi,
We need the users report also, so we can't use -ani flag.
Thank you for your help :)
Best Regards,
from oci-python-sdk.
Hi Carlos
I pushed another code fix for 4/23/2024, it will loop on the IAM domains and will extract those you have access
But if you don't have access to IAM domain, you won't be able to extract users and groups.
Most of tenants upgraded to IAM Domains and you will need "read domains" access.
Can you please check your policies ?
I added additional flag that will extract the old identity with -iold, it will work as long the APIs still available (those deprecated)
from oci-python-sdk.
Carlos, the new code will be deployed tomorrow, did you progress with permission to query IAM Domains ? and test the showoci ?
from oci-python-sdk.
Carlos, code is deployed, please check.
from oci-python-sdk.
Hi again and thank you so much for your interest!
I am testing the last version. IAM domain problem it seems fixed with this new flag, but I have a new problem.
The script it is "stucked" in the same point for more than 2 hours. After some minutes it shows errors like this:
Error in ShowOCIService:__load_paas_oce:{'target_service': 'oce_instance', 'status': 503, 'code': 'ServiceUnavailable', 'opc-request-id': '55CA0DD85DE3450F9B9F2C9392D4E032/424565190B10CCFEAE36CF99D5B6B57E/C6A41F8314C0D1439AF3D1F6AEA09A87', 'message': 'Service Unavailable', 'operation_name': 'list_oce_instances', 'timestamp': '2024-04-24T11:01:36.860954+00:00', 'client_version': 'Oracle-PythonSDK/2.125.3', 'request_endpoint': 'GET https:///oceInstances', 'logging_tips': 'To get more info on the failing request, refer to https://docs.oracle.com/en-us/iaas/tools/python/latest/logging.html for ways to log the request/response details.', 'troubleshooting_tips': "See https://docs.oracle.com/iaas/Content/API/References/apierrors.htm#apierrors_503__503_serviceunavailable for more information about resolving this error. Also see https://docs.oracle.com/iaas/api/#/en/oce/20190912/OceInstanceSummary/ListOceInstances for details on this operation's requirements. If you are unable to resolve this oce_instance issue, please contact Oracle support and provide them this full error message."} in compartment <compartment_name>
At this moment I have 12 errors like this, each of them in one different compartment, so the execution is dragging on for many hours and I cannot determine when it will end.
Do you know what the problem might be, and is there a way to avoid checking this type of resource?
Thank you in advance for all your help! :)
Best Regards,
from oci-python-sdk.
Hi Carlos
OCE will be retire at the end of the year
please use -exclude OCE
and let me know
from oci-python-sdk.
btw, you can exclude different services with comma seperated
I am currently support services that shows with -excludelist:
BDS
CERTIFICATES
DATACATALOG
DATAFLOW
DATASAFE
DATASCIENCE
DEVOPS
DI
DNSZONE
GENAI
KMS
LIMITS
NETWORK
OAC
OCE
OCVS
ODA
OIC
OPENSEARCH
QUOTAS
VB
VCIRCUITS
from oci-python-sdk.
Hi again,
I have tested it again:
- With -exclude OCE this problem is solved, thank you.
- The initial error in the private IPs for ExaCS it seems fixed, also. Please let me double check during today and tomorrow to confirm it!
- The ShowOCIDomains error it appears a lot of times in the log (one per compartment), but it works fine, because it does not waste time doing the checks.
So everything seems correct now! Thank you again! :)
Best Regards,
from oci-python-sdk.
Hi Carlos
The Domain error is due to permission you don't have
If this issue solved, please close the ticket and open new one for new issue
Thank you
from oci-python-sdk.
Hi!
Just to confirm that all the tests we have carried out are satisfactory, so the problem has been fixed.
I close the issue... Thank you!! :)
from oci-python-sdk.
Thank you Carlos, appreciate it
from oci-python-sdk.
Related Issues (20)
- IDCS Users and group repot aren't generating fully HOT 3
- MissingHeaderBodySeparatorDefect when uploading items to OSS HOT 5
- oci module component is treated as a dictionary object HOT 5
- oci.pagination.list_call_get_all_results fails when using identity domain client HOT 2
- Missing Composite Operations for Identity Domains
- Generate bypass code with python OCI HOT 2
- Packaging Metadata: Classifiers specify as supported already dead python and not mark modern versions HOT 1
- showoci stuck while running for all resources HOT 3
- resource name not getting cost analysis (Usageapi cllent) HOT 13
- problems running in CLI OCI HOT 3
- metrics are geting 429 error when we calling the api filter maximum , minimum and average metrics HOT 6
- Issue with accessing oci.container_instances.ContainerInstanceClient response data HOT 2
- volume backups are not getting all records in this list_volume_backups api call HOT 8
- Report with properties of PDBs HOT 4
- Error using FlowLogCaptureFilterRuleDetails
- Missing dependency on sseclient
- oci python SDK while using instance-principals, raising exceptions.ServiceError NotAuthorizedOrNotFound HOT 7
- a little typo in the documentation how to run CLI with help option $ python3 oci_capacity_reporter_gui.py -help HOT 1
- Error in log-analytics storage purge-storage-data HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oci-python-sdk.