Changes in Apache Libcloud in development¶
- [GCE] Fix
ex_set_image_labelsmethod using incorrect API path. (GITHUB-1485) [Poul Petersen – @petersen-poul]
Changes in Apache Libcloud 3.2.0¶
libcloud.pricing.download_pricing_filefunction has been updated so it tries to download latest
pricing.jsonfile from our public read-only S3 bucket.
We now run a daily job as part of our CI/CD which scrapes provider prices and publishes the latest version of the
pricing.jsonfile to that bucket.
For more information, please see https://libcloud.readthedocs.io/en/latest/compute/pricing.html.
[OpenStack] Add ex_get_network() to the OpenStack driver to make it possible to retrieve a single network by using the ID.
(GITHUB-1474) [Sander Roosingh – @SanderRoosingh]
[OpenStack] Fix pagination in the
list_images()method and make sure method returns all the images, even if the result is spread across multiple pages.
(GITHUB-1467) [Thomas Bechtold – @toabctl]
[GCE] Add script for scraping GCE pricing data and improve price addition in
_to_node_sizemethod. (GITHUB-1468) [Eis D. Zaster – @Eis-D-Z]
[AWS EC2] Update script for scraping AWS EC2 pricing and update EC2 pricing data. (GITHUB-1469) [Eis D. Zaster – @Eis-D-Z]
[Deployment] Add new
wait_periodargument to the
deploy_nodemethod and default it to 5 seconds.
This argument tells Libcloud how long to wait between each poll interval when waiting for a node to come online and have IP address assigned to it.
Previously this argument was not exposed to the end user and defaulted to 3 seconds which means it would be quite easy to reach rate limits with some providers when spinning up many instances concurrently using the same credentials. [Tomaz Muraus – @Kami]
[Azure ARM] Add script for scraping Azure ARM instance pricing data. (GITHUB-1470) [Eis D. Zaster – @Eis-D-Z]
deploy_node()method to try to re-connect to the server if we receive “SSH connection not active” error when trying to run a deployment step.
In some scenarios, connection may get closed by the server for whatever reason before finishing all the deployment steps and in this case only re-connecting would help and result in a successful outcome. [Tomaz Muraus – @Kami]
FileDeploymentclass much faster and more efficient when working with large files or when running multiple
FileDeploymentsteps on a single node.
This was achieved by implementing two changes on the
put()method now tries to re-use the existing open SFTP connection if one already exists instead of re-creating a new one for each
putfo()method has been added to the
ParamikoSSHClientclass which utilizes the underlying
This method doesn’t need to buffer the whole file content in memory and also supports pipelining which makes uploads much faster and more efficient for larger files.
[Tomaz Muraus – @Kami]
__str__()methods to all the Deployment classes. [Tomaz Muraus – @Kami]
use_compressionarguments have been added to the
Right now those are not exposed yet to the
deploy_node()method. [Tomaz Muraus – @Kami]
ParamikoSSHClient.put()method so it returns a correct path when commands are being executed on a Windows machine.
Also update related deployment classes so they correctly handle situation when we are executing commands on a Windows server. [Arthur Kamalov, Tomaz Muraus]
[Outscale] Add a new driver for the Outscale provider. Existing Outscale driver utilizes the EC2 compatible API and this one utilizes native Outscale API. (GITHUB-1476) [Tio Gobin – @tgn-outscale]
[KubeVirt] Add new methods for managing services which allows users to expose ports for the VMs (
ex_delete_service). (GITHUB-1478) [Eis D. Zaster – @Eis-D-Z]
- [LXD] Add new methods for managing network and storage pool capabilities and include other improvements in some of the existing methods. (GITHUB-1477) [Eis D. Zaster – @Eis-D-Z]