IBM / ibm-cos-sdk-python

ibm-cos-sdk-python
Apache License 2.0
44 stars 26 forks source link

Log message: No endpoints ruleset found for service s3, falling back to legacy endpoint routing. #56

Closed zichd closed 9 months ago

zichd commented 1 year ago
import logging
logging.getLogger().setLevel(logging.INFO)
import ibm_boto3
from ibm_botocore.client import Config

cos_instance = ibm_boto3.resource(
    service_name="s3",
    ibm_api_key_id="*********",
    ibm_service_instance_id="***********",
    ibm_auth_endpoint="*********",
    config=Config(signature_version="oauth"),
    endpoint_url="********"
)

This code renders this log message with ibm-cos-sdk==2.13.1: INFO:ibm_botocore.client:No endpoints ruleset found for service s3, falling back to legacy endpoint routing.

I didn't find any functional impact other than the message itself. If I switch back to 2.13.0, the message disappears. Should I update my code somehow or is it a bug?

arnabm28 commented 1 year ago

Hello,

Thanks for pointing out the issue. We have seen this additional log message being printed after updating to the latest version of the python core package (2.13.1).

We are working on this issue internally and will come up with more updates.

We will update with further details at the earliest.

arnabm28 commented 1 year ago

Hello,

We have identified the root cause of the issue and we have fixed the same. However owing to the nature of the issue and its current impact, we will have this fix go in our next release cycle.

We will update you once this the new release is out.

Thanks

IBMalok commented 10 months ago

@zichd We fixed the issue in version 2.13.2. Please verify once and close the ticket. Thanks

IBMalok commented 9 months ago

Closing as the issue has been fixed.