libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [libcloud] Kami commented on issue #1545: Can't access EC2 zones requiring signature version 4
Date Fri, 22 Jan 2021 15:51:47 GMT

Kami commented on issue #1545:
URL: https://github.com/apache/libcloud/issues/1545#issuecomment-765501507


   @olegrtecno I was able to reproduce the issue - it's indeed a regression.
   
   I will open a PR with a bug fix shortly. As part of that change, I will also make it possibly
to specify ``signature_version`` via driver constructor argument and override default value
from region constants file.
   
   As a temporary workaround, you could do something like this:
   
   ```python
   import libcloud.common.aws
   libcloud.common.aws.DEFAULT_SIGNATURE_VERSION = "4"
   ```
   
   This should work as long as you are only using drivers which support signature version
4.
   
   Another option would be to subclass the NodeDriver and implement custom ``_ex_connection_class_kwargs``
method which returns dict with "signature_version": "4" item.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message