皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

Apache Libcloud 3.2.0 释出

Changelog

Changes in Apache Libcloud in development

Compute

  • [GCE] Fix ex_set_image_labels method using incorrect API path. (GITHUB-1485) [Poul Petersen – @petersen-poul]

Changes in Apache Libcloud 3.2.0

Common

  • libcloud.pricing.download_pricing_file function has been updated so it tries to download latest pricing.json file 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.json file to that bucket.

    For more information, please see https://libcloud.readthedocs.io/en/latest/compute/pricing.html.

Compute

  • [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_size method. (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_period argument to the deploy_node method 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]

  • Update 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]

  • [Deployment] Make FileDeployment class much faster and more efficient when working with large files or when running multiple FileDeployment steps on a single node.

    This was achieved by implementing two changes on the ParamikoSSHClient class:

    1. 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 put() call.

    2. New putfo() method has been added to the ParamikoSSHClient class which utilizes the underlying sftp.putfo() method.

      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]

  • [Deployment] Add __repr__() and __str__() methods to all the Deployment classes. [Tomaz Muraus – @Kami]

  • [Deployment] New keep_alive and use_compression arguments have been added to the ParamikoSSHClient class constructor.

    Right now those are not exposed yet to the deploy_node() method. [Tomaz Muraus – @Kami]

  • [Deployment] Update 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_list_services, ex_create_service, ex_delete_service). (GITHUB-1478) [Eis D. Zaster – @Eis-D-Z]

Container

  • [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]

转自 https://libcloud.readthedocs.io/en/latest/changelog.html#changes-in-apache-libcloud-3-2-0

分享到:更多 ()