Blog
Libcloud 2.0.0rc2 released
We are pleased to announce the release of Libcloud 2.0.0rc2.
This release brings many new features, improvements, bug-fixes, and drivers.
Release highlights
- Apache Libcloud 2.0 series replaces the use of Python httplib with a hard dependency on the
requests
package. Users' no longer have to specific Certificate Authority bundles when using Apache Libcloud - 10% performance improvement through the use of HTTP sessions
- Support for buffered IO streams for storage drivers
- Support for Python 3.6, deprecation of Python 3.2
A detailed description of the 2.0 changes is documented here
Note that 2.0.0rc1 was not released to PyPi as 4 breaking issues were discovered by users. The changelog for both 2.0.0rc2 and rc1 is below.
Release highlights for 2.0.0rc2
Compute
- Fix a bug in profitbricks driver where listing snapshots would request a malformed URL
- Fix LIBCLOUD-806 bug where vsphere driver cannot be instantiated
- [google compute] Improve performance of list nodes by caching volume information.
Common
- Fix LIBCLOUD_DEBUG trying to decompress already decompressed responses
- Added an integration test API and a test suite for validating functionality without mocking any libcloud subsystems
- Fix for Linode classes since 2.0x
- Fix CertificateConnection not correctly signing requests in 2.0rc1, impacted Azure classic driver, OpenStack and Docker driver
- Change Cloudscale to cloudscale.ch.
- Explicitly check if response is None in RawResponse class
Compute
- Outscale SAS doc improvements and logo update
- [GCE] Allow preemptible instances to be created
- Add support for forcing detachment of EBS volumes to EC2 driver
- Fix Public IP not assigned when creating NIC on Azure ARM
- [ONAPP] Add list images support for OnApp driver
- [EC2] Add r4 instance types for AWS
- [EC2] support for AWS eu-west-2 and ca-central-1 regions
- [EC2] Add P2 GPU instance types
- [EC2] Add method to modify snapshot attribute for EC2
- [Linode] Add start, stop instance methods and fix incorrect state TERMINATED to STOPPED
- [EC2] Add ENA support for EC2 compute images
- [Azure ARM] fix typeerror on exlistnics
- [GCE] allow delete instances from managed group
Storage
- Reintroduce S3 multipart upload support with signature v4
Changes Apache Libcloud 2.0.0rc1
Common
- Fix DEBUG mode, also add support for using io.StringIO as the file handle when calling libcloud.enable_debug
- Introduction of the requests package as the mechanism for making HTTP requests for all drivers
- Fix bug where custom port and secure flag would not get propagated to connection class
- Fix bug where custom port would not get propagated to connection
- Fix bug where instantiating a connection from URL and then requesting an action with a leading / would lead to a malformed URL
Compute
- Fix a bug in profitbricks driver where listing snapshots would request a malformed URL
- Fix LIBCLOUD-806 bug where vsphere driver cannot be instantiated
- [google compute] Improve performance of list nodes by caching volume information.
Full change log can be found at here.
Special thank you
I would like to wish a special thank you to all of our community contributors for their ongoing support to the project.
Download
The release can can be downloaded from https://libcloud.apache.org/downloads.html or installed using pip:
pip install apache-libcloud==2.0.0rc2
Upgrading
If you have installed Libcloud using pip you can also use it to upgrade it:
pip install --upgrade apache-libcloud==2.0.0rc2
Upgrade notes
A page which describes backward incompatible or semi-incompatible changes and how to preserve the old behavior when this is possible can be found at https://libcloud.readthedocs.org/en/latest/upgrade_notes.html
Documentation
Regular and API documentation is available at https://libcloud.readthedocs.org/en/latest/
Bugs / Issues
If you find any bug or issue, please report it on our issue tracker https://issues.apache.org/jira/browse/LIBCLOUD. Don't forget to attach an example and / or test which reproduces your problem.
Thanks
Thanks to everyone who contributed and made this release possible! Full list of people who contributed to this release can be found in the CHANGES file.
Libcloud 1.5.0 released
We are pleased to announce the release of Libcloud 1.5.0.
This release brings many new features, improvements, bug-fixes, and drivers.
Release highlights
- [azure] New method for accessing rate cards.
- [openstack] Add new Connection class to support VOMS proxys to keystone servers.
- [ec2] Added m4 instances to us-gov and brazil, added m4.16xlarge to all.
- Add new CloudScale.ch driver
- [dimensiondata] Added support for 2.4 API, added support for image import, cloning. Add feature for changing NIC VLANs, add feature for changing NIC order for a server.
Full change log can be found at here.
Special thank you
I would like to wish a special thank you to all of our community contributors for their ongoing support to the project.
Download
The release can can be downloaded from https://libcloud.apache.org/downloads.html or installed using pip:
pip install apache-libcloud==1.5.0
Upgrading
If you have installed Libcloud using pip you can also use it to upgrade it:
pip install --upgrade apache-libcloud==1.5.0
Upgrade notes
A page which describes backward incompatible or semi-incompatible changes and how to preserve the old behavior when this is possible can be found at https://libcloud.readthedocs.org/en/latest/upgrade_notes.html
Documentation
Regular and API documentation is available at https://libcloud.readthedocs.org/en/latest/
Bugs / Issues
If you find any bug or issue, please report it on our issue tracker https://issues.apache.org/jira/browse/LIBCLOUD. Don't forget to attach an example and / or test which reproduces your problem.
Thanks
Thanks to everyone who contributed and made this release possible! Full list of people who contributed to this release can be found in the CHANGES file.
Libcloud 1.4.0 released
We are pleased to announce the release of Libcloud 1.4.0.
This release brings many new features, improvements, bug-fixes, and drivers.
Release highlights
The release includes a new Azure ARM driver and an Amazon Application Load Balancer (ALB) driver.
Full change log can be found at here.
Special thank you
I would like to wish a special thank you to all of our community contributors for their ongoing support to the project.
Download
The release can can be downloaded from https://libcloud.apache.org/downloads.html or installed using pip:
pip install apache-libcloud==1.4.0
Upgrading
If you have installed Libcloud using pip you can also use it to upgrade it:
pip install --upgrade apache-libcloud==1.4.0
Upgrade notes
A page which describes backward incompatible or semi-incompatible changes and how to preserve the old behavior when this is possible can be found at https://libcloud.readthedocs.org/en/latest/upgrade_notes.html
Documentation
Regular and API documentation is available at https://libcloud.readthedocs.org/en/latest/
Bugs / Issues
If you find any bug or issue, please report it on our issue tracker https://issues.apache.org/jira/browse/LIBCLOUD. Don't forget to attach an example and / or test which reproduces your problem.
Thanks
Thanks to everyone who contributed and made this release possible! Full list of people who contributed to this release can be found in the CHANGES file.
Libcloud 1.3.0 released
We are pleased to announce the release of Libcloud 1.3.0.
This release brings many new features, improvements, bug-fixes, and drivers.
Important changes
- RunAbove driver is now the OVH cloud driver because of changes in the platform. Users will get a deprecated error message and pointed to the website for more information.
- Fixed support for SLES/OpenSUSE 12, now checks the default certificate path (does not impact users using certifi).
- DigitalOcean v1 API has been deprecated in favour of the new 2.0 API.
Release highlights
Rancher Driver
Mario Loria contributed a full Rancher driver for our container abstraction interface. Documentation is available with examples of usage, you can use the driver to deploy containers, services, stacks or operate and maintain existing deployments! Thanks Mario.
from libcloud.container.types import Provider
from libcloud.container.providers import get_driver
from libcloud.container.base import ContainerImage
driver = get_driver(Provider.RANCHER)
connection = driver("MYRANCHERACCESSKEY", "MYRANCHERSECRETKEY",
host="17.23.66.4", port=443)
image = ContainerImage("hastebin", "hastebin", "rlister/hastebin", "latest",
driver=None)
new_service = connection.ex_deploy_service(name="excitingservice", image=image,
environmentid="1e2",
environment={
"STORAGE_TYPE": "file"
})
New API
As well as the direct get_driver API
, there is now a short-hand API for
users to choose.
import libcloud
cls = libcloud.get_driver(libcloud.DriverType.COMPUTE, libcloud.DriverType.COMPUTE.RACKSPACE)
Full change log can be found at here.
Special thank you
I would like to wish a special thank you to all of our community contributors for their ongoing support to the project.
Download
The release can can be downloaded from https://libcloud.apache.org/downloads.html or installed using pip:
pip install apache-libcloud==1.3.0
Upgrading
If you have installed Libcloud using pip you can also use it to upgrade it:
pip install --upgrade apache-libcloud==1.3.0
Upgrade notes
A page which describes backward incompatible or semi-incompatible changes and how to preserve the old behavior when this is possible can be found at https://libcloud.readthedocs.org/en/latest/upgrade_notes.html
Documentation
Regular and API documentation is available at https://libcloud.readthedocs.org/en/latest/
Bugs / Issues
If you find any bug or issue, please report it on our issue tracker https://issues.apache.org/jira/browse/LIBCLOUD. Don't forget to attach an example and / or test which reproduces your problem.
Thanks
Thanks to everyone who contributed and made this release possible! Full list of people who contributed to this release can be found in the CHANGES file.
Libcloud 1.2.1 released
We are pleased to announce the release of Libcloud 1.2.1.
This release brings many new features, improvements, bug-fixes, and drivers.
Release highlights
Changes in Apache Libcloud 1.2.1
- Fix issue enabling backups on Dimension Data driver
Changes in Apache Libcloud 1.2.0
General
- Fix caching of auth tokens in the Google Compute Engine drivers. Now we make sure that the file is truncated before writing a new token. Not truncating the file would cause issues if the new token is shorted then the existing one which is cached in the file.
Compute
- Fix image undeprecation in GCE
- Added Managed Instance Groups in GCE
- Allow undeprecation of an image in GCE
- BUGFIX Values with wildcards failed signature validation in cloudstack
- Added StorageState-Migrating to the cloudstack driver.
- Update copy image logic to match create image in GCE driver.
- Removed HD attribute from the Abiquo compute driver to support the 3.4 API
- Add image and size details to list_nodes response in Dimension Data driver
- Add support for changing VM admin password in VMware driver
- Add Barcelona (Spain) region to the Aurora Compute driver.
- Various improvements in the libvirt driver.
Load balancer
- Add support for temporary IAM role credentials (token) to the AWS ELB driver.
DNS
- Updated the 'extra' parameter in update_record() to be optional in aurora driver
- Support for iterating over records and zones in the Aurora DNS driver
- Add support for DS, PTR, SSFHFP and TLSA record type to the Aurora DNS driver.
Container
- Add network mode and labels when creating containers within docker driver
Storage
- Fix authentication issue in S3/China region, disabled multipart uploads as not supported by region.
Full change log can be found at here.
Special thank you
I would like to wish a special thank you to all of our community contributors for their ongoing support to the project.
Download
The release can can be downloaded from https://libcloud.apache.org/downloads.html or installed using pip:
pip install apache-libcloud==1.2.1
Upgrading
If you have installed Libcloud using pip you can also use it to upgrade it:
pip install --upgrade apache-libcloud==1.2.1
Upgrade notes
A page which describes backward incompatible or semi-incompatible changes and how to preserve the old behavior when this is possible can be found at https://libcloud.readthedocs.org/en/latest/upgrade_notes.html
Documentation
Regular and API documentation is available at https://libcloud.readthedocs.org/en/latest/
Bugs / Issues
If you find any bug or issue, please report it on our issue tracker https://issues.apache.org/jira/browse/LIBCLOUD. Don't forget to attach an example and / or test which reproduces your problem.
Thanks
Thanks to everyone who contributed and made this release possible! Full list of people who contributed to this release can be found in the CHANGES file.