apache-libcloud v3.0.0 Release Notes

Release Date: 2020-04-15 // about 4 years ago
  • Common

    
    - πŸ‘‰ Make sure ``auth_user_info`` variable on the OpenStack identify connection
      class is populated when using auth version ``3.x_password`` and
      ``3.x_oidc_access_token``.
    
      (GITHUB-1436)
      [@lln-ijinus, Tomaz Muraus)
    
    - ⚑️ [OpenStack] Update OpenStack identity driver so a custom project can be
      selected using ``domain_name`` keyword argument containing a project id.
    
      Previously this argument value could only contain a project name, now the
      value will be checked against project name and id.
    
      (GITHUB-1439)
      [Miguel Caballer - @micafer]
    
    Compute
    
    • ⚑️ [GCE] Update create_node() method so it throws an exception if node location can't be inferred and location is not specified by the user ( either by passing datacenter constructor argument or by passing location argument to the method).

    Reported by Kevin K. - @kbknapp. (GITHUB-1443) [Tomaz Muraus]

    • [GCE] Update ex_get_disktype method so it works if zone argument is not set. (GITHUB-1443) [Tomaz Muraus]

    • [GiG G8] Add new driver for GiG G8 provider (https://gig.tech/). (GITHUB-1437) [Jo De Boeck - @grimpy]

    • βž• Add support for Ed25519 private keys for deploy_node() functionality when using paramiko >= 2.2.0. (GITHUB-1445) [Tomaz Muraus - @Kami]

    • πŸ›  Fix deploy_node() so it correctly propagates an exception is a private key which is used is password protected, but no password is specified.

    Previously it incorrectly tried to retry on such exception. This means the exception would only bubble up after all the retry attempts have been exhausted. (GITHUB-1445) [Tomaz Muraus - @Kami]

    • πŸ‘ Allow user to specify password for encrypted keys by passing ssh_key_password argument to the deploy_node() method.

    Previously they (GITHUB-1445) [Tomaz Muraus - @Kami]

    • πŸ›  Fix deploy_node() so it correctly propagates an exception if invalid or unsupported private key is used.

    Previously it incorrectly tried to retry on such exception. This means the exception would only bubble up after all the retry attempts have been exhausted. (GITHUB-1445) [Tomaz Muraus - @Kami]

    • Add new at_exit_func argument to deploy_node() method. With this argument user can specify which function will be called before exiting with the created node in question if the deploy process has been canceled after the node has been created, but before the method has fully finished.

    This comes handy since it simplifies various cleanup scenarios. (GITHUB-1445) [Tomaz Muraus - @Kami]

    • πŸ›  Fix deploy_node() method so we don't retry on fatal SSHCommandTimeoutError exception (exception which is thrown when a command which is running on remote host times out). (GITHUB-1445) [Tomaz Muraus - @Kami]

    • βž• Add new timeout argument to ScriptDeployment and ScriptFileDeployment class constructor.

    With this argument, user can specify an optional run timeout for that deployment step run. (GITHUB-1445) [Tomaz Muraus - @Kami]

    • βž• Add new stdout and stderr attribute to SSHCommandTimeoutError class.

    Those attributes contain value of stdout and stderr produced so far. (GITHUB-1445) [Tomaz Muraus - @Kami]

    • [OpenStack] Fix auto assignment of volume device when using device name auto in the attach_volume method. (GITHUB-1444) [Joshua Hesketh - @jhesketh]

    Storage

    
    - Add new ``download_object_range`` and ``download_object_range_as_stream``
      methods for downloading part of the object content (aka range downloads) to
      the base storage API.
    
      Currently those methods are implemented for the local storage Azure Blobs,
      CloudFiles, S3 and any other provider driver which is based on the S3 one
      (such as Google Storage and DigitalOcean Spaces).
      (GITHUB-1431)
      [Tomaz Muraus]
    
    - βž• Add type annotations for the base storage API.
      (GITHUB-1410)
      [Clemens Wolff - @c-w]
    
    - ⚑️ [Google Storage] Update the driver so it supports service account HMAC
      credentials.
    
      There was a bug in the code where we used the user id length check to
      determine the account type and that code check didn't take service
      account HMAC credentials (which contain a longer string) into account.
    
      Reported by Patrick MΓ©zard - pmezard.
      (GITHUB-1437, GITHUB-1440)
      [Yoan Tournade - @MonsieurV]
    
    DNS
    ~~~
    
    - βž• Add type annotations for the base DNS API.
      (GITHUB-1434)
      [Tomaz Muraus]
    
    Container
    
    • πŸ‘ [Kubernetes] Add support for the client certificate and static token based authentication to the driver. (GITHUB-1421) [Tomaz Muraus]

    • βž• Add type annotations for the base container API. (GITHUB-1435) [Tomaz Muraus]