forked from pool/python-apache-libcloud
Accepting request 868316 from home:PSuarezHernandez:branches:devel:languages:python
- Skip "OvhTests::test_list_nodes_invalid_region" compute test when building
RPM package since this tests requires internet connection.
- Update to 3.3.1:
* Compute
+ [EC2] Fix a regression introduced in v3.3.0 which would break EC2 driver for some regions because the driver would incorrectly try to use signature version 2 for all the regions whereas some newer regions require signature version 4 to be used.
If you are unable to upgrade, you can use the following workaround, as long as you only use code which supports / works with authentication signature algorithm version 4:
import libcloud.common.aws
libcloud.common.aws.DEFAULT_SIGNATURE_VERSION = "4"
# Instantiate affected driver here...
Reported by @olegrtecno. (GITHUB-1545, GITHUB-1546)
+ [EC2] Allow user to override which signature algorithm version is used for authentication by passing signature_version keyword argument to the EC2 driver constructor. (GITHUB-1546)
* Storage
+ [Google Cloud Storage] Fix a bug and make sure we also correctly handle scenario in get_object() method when the object size is returned in x-goog-stored-content-length and not content-length header. @RunOrVeith. (GITHUB-1544, GITHUB-1547)
+ [Google Cloud Storage] Update get_object() method and ensure object.size attribute is an integer and not a string. This way it’s consistent with list_objects() method. (GITHUB-1547)
- Update to 3.3.0:
* Common
+ Fix a bug which would cause some prepared requests with empty bodies to be chunked which would cause some of the provider APIs such as OpenStack to return HTTP 400 errors. (GITHUB-1487, GITHUB-1488) [Michael Spagon - @mspagon]
+ Optimize various code imports (remove unnecessary imports, make some lazy, etc.), so now importing most of the modules is around ~20-40% faster (~70 vs ~140 ms) and in some cases such as EC2 driver even more.
+ Now majority of the import time is spent in importing requests library. (GITHUB-1519) [Tomaz Muraus]
+ libcloud.pricing.get_size_price() function has been updated so it only caches pricing data in memory for the requested drivers.
+ Advertise Python 3.9 support in setup.py.
* Compute
+ [GCE] Fix ex_set_image_labels method using incorrect API path. (GITHUB-1485) [Poul Petersen - @petersen-poul]
+ [OpenStack] Fix error setting ex_force_XXX_url without setting ex_force_base_url. (GITHUB-1492) [Miguel Caballer - @micafer]
+ [EC2] Update supported EC2 regions and instance sizes and add support for eu-north-1 region. (GITHUB-1486) [Arturo Noha - @r2ronoha]
+ [Ovh] Add support for multiple regions to the driver. User can select a region (location) by passing location argument to the driver constructor (e.g. location=ca). (GITHUB-1494) [Dan Hunsaker - @danhunsaker]
+ [GCE] Add support for creating nodes without a service account associated with them. Now when an empty list is passed for ex_service_accounts argument, VM will be created without service account attached.
OBS-URL: https://build.opensuse.org/request/show/868316
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=111
This commit is contained in:
committed by
Git OBS Bridge
parent
246cfe49eb
commit
0d2a5c04d7
@@ -1,3 +1,77 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 1 09:05:36 UTC 2021 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
|
||||
|
||||
- Skip "OvhTests::test_list_nodes_invalid_region" compute test when building
|
||||
RPM package since this tests requires internet connection.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 29 17:15:50 UTC 2021 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
|
||||
|
||||
- Update to 3.3.1:
|
||||
|
||||
* Compute
|
||||
+ [EC2] Fix a regression introduced in v3.3.0 which would break EC2 driver for some regions because the driver would incorrectly try to use signature version 2 for all the regions whereas some newer regions require signature version 4 to be used.
|
||||
|
||||
If you are unable to upgrade, you can use the following workaround, as long as you only use code which supports / works with authentication signature algorithm version 4:
|
||||
|
||||
import libcloud.common.aws
|
||||
libcloud.common.aws.DEFAULT_SIGNATURE_VERSION = "4"
|
||||
|
||||
# Instantiate affected driver here...
|
||||
|
||||
Reported by @olegrtecno. (GITHUB-1545, GITHUB-1546)
|
||||
|
||||
+ [EC2] Allow user to override which signature algorithm version is used for authentication by passing signature_version keyword argument to the EC2 driver constructor. (GITHUB-1546)
|
||||
|
||||
* Storage
|
||||
+ [Google Cloud Storage] Fix a bug and make sure we also correctly handle scenario in get_object() method when the object size is returned in x-goog-stored-content-length and not content-length header. @RunOrVeith. (GITHUB-1544, GITHUB-1547)
|
||||
+ [Google Cloud Storage] Update get_object() method and ensure object.size attribute is an integer and not a string. This way it’s consistent with list_objects() method. (GITHUB-1547)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 29 16:59:59 UTC 2021 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
|
||||
|
||||
- Update to 3.3.0:
|
||||
|
||||
* Common
|
||||
+ Fix a bug which would cause some prepared requests with empty bodies to be chunked which would cause some of the provider APIs such as OpenStack to return HTTP 400 errors. (GITHUB-1487, GITHUB-1488) [Michael Spagon - @mspagon]
|
||||
+ Optimize various code imports (remove unnecessary imports, make some lazy, etc.), so now importing most of the modules is around ~20-40% faster (~70 vs ~140 ms) and in some cases such as EC2 driver even more.
|
||||
+ Now majority of the import time is spent in importing requests library. (GITHUB-1519) [Tomaz Muraus]
|
||||
+ libcloud.pricing.get_size_price() function has been updated so it only caches pricing data in memory for the requested drivers.
|
||||
+ Advertise Python 3.9 support in setup.py.
|
||||
|
||||
* Compute
|
||||
+ [GCE] Fix ex_set_image_labels method using incorrect API path. (GITHUB-1485) [Poul Petersen - @petersen-poul]
|
||||
+ [OpenStack] Fix error setting ex_force_XXX_url without setting ex_force_base_url. (GITHUB-1492) [Miguel Caballer - @micafer]
|
||||
+ [EC2] Update supported EC2 regions and instance sizes and add support for eu-north-1 region. (GITHUB-1486) [Arturo Noha - @r2ronoha]
|
||||
+ [Ovh] Add support for multiple regions to the driver. User can select a region (location) by passing location argument to the driver constructor (e.g. location=ca). (GITHUB-1494) [Dan Hunsaker - @danhunsaker]
|
||||
+ [GCE] Add support for creating nodes without a service account associated with them. Now when an empty list is passed for ex_service_accounts argument, VM will be created without service account attached.
|
||||
+ [VSphere] Add new VMware VSphere driver which utilizes pyvmomi library and works under Python 3.
|
||||
+ [OpenStack] Enable to get Quota Set detail. (GITHUB-1495) [Miguel Caballer - @micafer]
|
||||
+ [OpenStack] Add ex_get_size_extra_specs function to OpenStack driver. (GITHUB-1517) [Miguel Caballer - @micafer]
|
||||
+ [OpenStack] Enable to get Neutron Quota details in OpenStack driver. (GITHUB-1514) [Miguel Caballer - @micafer]
|
||||
+ [DigitalOcean] _node_node method now ensures image and size attributes are also set correctly and populated on the Node object. (GITHUB-1507, GITHUB-1508) [@sergerdn]
|
||||
+ [Vultr] Make sure private_ips attribute on the Node object is correctly populated when listing nodes. Also add additional values to the node.extra dictionary. (GITHUB-1506) [@sergerdn]
|
||||
+ [EC2] Optimize EC2 driver imports and move all the large constant files to separate modules in libcloud/compute/constants/ec2_*.py files.
|
||||
+ [Packet / Equinix Metal] Packet driver has been renamed to Equinix Metal. If your code uses Packet.net driver, you need to update it as per example in Upgrade Notes documentation section. (GITHUB-1511) [Dimitris Galanis - @dimgal1]
|
||||
+ [OutScale] Add various extension methods to the driver. For information on available extenion methods, please refer to the driver documentation. (GITHUB-1499) [@tgn-outscale]
|
||||
+ [Linode] Add support for Linode’s API v4. (GITHUB-1504) [Dimitris Galanis - @dimgal1]
|
||||
|
||||
* Storage
|
||||
+ Deprecated lockfile library which is used by the Local Storage driver has been replaced with fasteners library. [Tomaz Muraus - @Kami]
|
||||
+ [S3] Add support for us-gov-east-1 region. (GITHUB-1509, GITHUB-1510) [Andy Spohn - @spohnan]
|
||||
+ [DigitalOcean Spaces] Add support for sfo2 regon. (GITHUB-1525) [Cristian Rasch - @cristianrasch]
|
||||
+ [MinIO] Add new driver for MinIO object storage (https://min.io). (GITHUB-1528, GITHUB-1454) [Tomaz Muraus - @Kami]
|
||||
+ [S3] Update S3 and other drivers which are based on the S3 one (Google Storage, RGW, MinIO) to correctly throw ContainerAlreadyExistsError if container creation fails because container with this name already exists.
|
||||
+ Add new libcloud.common.base.ALLOW_PATH_DOUBLE_SLASHES module level variable.
|
||||
|
||||
* DNS
|
||||
+ [Common] Fix a bug with the header value returned by the export_zone_to_bind_format method containing an invalid timestamp (value for the minute part of the timestamp was wrong and contained month number instead of the minutes value). (GITHUB-1500) [Tomaz Muraus - @Kami]
|
||||
+ [CloudFlare DNS] Add support for creating SSHFP records. (GITHUB-1512, GITHUB-1513) [Will Hughes - @insertjokehere]
|
||||
+ [DigitalOcean] Update driver and make sure request data is sent as part of HTTP request body on POST and PUT operations (previously it was sent as part of query params). (GITHUB-1505) [Andrew Starr-Bochicchio - @andrewsomething]
|
||||
+ [AuroraDNS] Throw correct exception on 403 authorization failed API error. (GITHUB-1521, GITHUB-1522) [Freek Dijkstra - @macfreek]
|
||||
+ [Linode] Add support for Linode’s API v4. (GITHUB-1504) [Dimitris Galanis - @dimgal1]
|
||||
+ [CloudFlare] Update driver so it correctly throws RecordAlreadyExists error on various error responses which represent this error. [Tomaz Muraus - @Kami]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 3 13:31:18 UTC 2020 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user