You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2019/07/17 20:50:06 UTC

[libcloud] branch trunk updated (59bb977 -> e7f6399)

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git.


    from 59bb977  Merge pull request #1292 from CatalystCode/1001_update-cloudflare-dns-v4
     new a5a79a6  Add missing encode_data() method to the Gridscale Connection class.
     new 80eb0e8  NodeDriver class should inherit from base NodeDriver class.
     new ea38fb4  Update Gridscale driver to implement "import_key_pair_from_string" method.
     new b545797  Fix Gridscale NodeDriver so it relies on connection class "encode_data" functionality and doesn't manually convert data to json inside the driver class.
     new 9f754c8  Update base import_key_pair_from_file method so it truncates trailing whitespace and new lines.
     new a496b39  Add new "ex_get_volumes_for_node" and "ex_get_ips_for_node" method to the Gridscale driver and support for destroying / deleting associated resources when destroying a node.
     new 005c849  Fix "deploy_node()" method so it correctly propagates fatal errors back to the user instead of retrying on such errors.
     new b887f5f  Update SSHClient to log more info to make troubleshooting easier.
     new ad8e5a5  Detect more invalid key errors and bail early.
     new 783c642  Fix paramiko debug logging.
     new 4c4dc23  Add a workaround to paramiko for handling key files in PEM format with invalid header and footer.
     new 03be64a  Improve error message detection.
     new 819e674  Update changelog.
     new e2fb1ad  Add a note to the documentation on the private key types which are supported by paramiko.
     new c6c952e  Fix the create node example.# Please enter the commit message for your changes. Lines starting
     new d06cc35  Only try a workaround if key file exists on disk.
     new 7e5b92a  Fix and improve conversion function.
     new 0eeae19  Update fixture key file, update affected tests.
     new ae8d923  Add tests for paramiko ssh client key file handling.
     new 49b6bf4  Fix lint.
     new 1fb98e7  Update gridscale create_node() method so it supports deploy_node().
     new 87f6ac6  Update section title.
     new 40b427f  Throw more user-friendly exception on unsupported private key type.
     new 91ab909  Update changelog.
     new 73d1d04  Add gridscale deploy node example.
     new 235bd97  Re-generate supported providers tables.
     new 4bf1b4b  Update affected paramiko logging tests.
     new f7834fa  ex_get -> ex_list.
     new 5c42f49  Add tests for new methods.
     new b2503fb  lint cleanup.
     new 9d45009  Fix typo, add more missing tests.
     new d682657  Update changelog.
     new 984f9d3  Use consistent method names - storage -> volume, remove default None argument value for mandatory / required arguments.
     new 60b0fd1  Add more tests for some of the missing methods, make some existing tests more robust / strict by also checking method name in the mock response class.
     new 72535f4  Also install paramiko library for coverage step so we also run paramiko tests for tox coverage target.
     new dabe627  Add coverage pragmas for else branches. We don't want per-branch coverage for those else clauses since going into else would indicate a programmer error / invalid test aka should never happen.
     new 7dce9bc  Also install paramiko for coverage-travis tox target.
     new e7f6399  Merge pull request #1315 from Kami/gridscale_driver_improvements

The 6635 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 CHANGES.rst                                        |  25 +++
 .../_supported_methods_key_pair_management.rst     |   2 +-
 docs/compute/deployment.rst                        |  39 +++++
 docs/compute/drivers/gridscale.rst                 |   6 +
 docs/examples/compute/gridscale/create_node.py     |  28 +--
 docs/examples/compute/gridscale/deploy_node.py     |  57 +++++++
 libcloud/__init__.py                               |   7 +-
 libcloud/common/gridscale.py                       |   8 +
 libcloud/compute/base.py                           |  22 ++-
 libcloud/compute/drivers/gridscale.py              | 170 ++++++++++++------
 libcloud/compute/ssh.py                            |  60 ++++++-
 .../compute/fixtures/gridscale/ex_list_ips.json    |   2 +-
 libcloud/test/compute/fixtures/misc/test_dsa.key   |  12 ++
 .../test_dsa_non_paramiko_recognized_header.key    |  12 ++
 libcloud/test/compute/fixtures/misc/test_ecdsa.key |   5 +
 .../test_ecdsa_non_paramiko_recognized_header.key  |   5 +
 .../fixtures/misc/{dummy_rsa => test_rsa.key}      |   0
 .../fixtures/misc/{dummy_rsa.pub => test_rsa.pub}  |   0
 ...=> test_rsa_non_paramiko_recognized_header.key} |   4 +-
 .../fixtures/misc/test_rsa_non_pem_format.key      |  27 +++
 .../fixtures/misc/test_rsa_non_pem_format.pub      |   1 +
 libcloud/test/compute/test_ec2.py                  |   4 +-
 libcloud/test/compute/test_gridscale.py            | 189 +++++++++++++++++----
 libcloud/test/compute/test_openstack.py            |   4 +-
 libcloud/test/compute/test_ssh_client.py           | 107 +++++++++++-
 libcloud/test/test_init.py                         |   7 +-
 tox.ini                                            |   2 +
 27 files changed, 687 insertions(+), 118 deletions(-)
 create mode 100644 docs/examples/compute/gridscale/deploy_node.py
 create mode 100644 libcloud/test/compute/fixtures/misc/test_dsa.key
 create mode 100644 libcloud/test/compute/fixtures/misc/test_dsa_non_paramiko_recognized_header.key
 create mode 100644 libcloud/test/compute/fixtures/misc/test_ecdsa.key
 create mode 100644 libcloud/test/compute/fixtures/misc/test_ecdsa_non_paramiko_recognized_header.key
 copy libcloud/test/compute/fixtures/misc/{dummy_rsa => test_rsa.key} (100%)
 rename libcloud/test/compute/fixtures/misc/{dummy_rsa.pub => test_rsa.pub} (100%)
 rename libcloud/test/compute/fixtures/misc/{dummy_rsa => test_rsa_non_paramiko_recognized_header.key} (96%)
 create mode 100644 libcloud/test/compute/fixtures/misc/test_rsa_non_pem_format.key
 create mode 100644 libcloud/test/compute/fixtures/misc/test_rsa_non_pem_format.pub