Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-590

Reduce redundant API calls of CloudStack compute driver's list_nodes method

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.6.1, 0.6.2, 0.7.1, 0.8.0, 0.9.1, 0.10.1, 0.11.0, 0.11.1, 0.11.2, 0.12.1, 0.12.3, 0.13.0, 0.13.1, 0.13.2, 0.14.0-beta3, 0.13.3
    • Fix Version/s: None
    • Component/s: Compute
    • Labels:
      None

      Description

      CloudStack compute driver's list_nodes method executes too many API calls and it slows down this method.

      The patch reduces redundant API calls and speed up list_nodes method.

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user atsaki opened a pull request:

        https://github.com/apache/libcloud/pull/332

        LIBCLOUD-590 - Reduce redundant API calls of CloudStack compute driver's...

        CloudStack compute driver's list_nodes method executes too many API calls and it slows down this method.
        The patch reduces redundant API calls and speed up list_nodes method.

        https://issues.apache.org/jira/browse/LIBCLOUD-590

        You can merge this pull request into a Git repository by running:

        $ git pull https://github.com/atsaki/libcloud 590_reduce_cloudstack_list_nodes_api_calls

        Alternatively you can review and apply these changes as the patch at:

        https://github.com/apache/libcloud/pull/332.patch

        To close this pull request, make a commit to your master/trunk branch
        with (at least) the following in the commit message:

        This closes #332


        commit 9234d0a00bd6fc3ee09b29725d9c0352037c2572
        Author: Atsushi Sasaki <atsaki01@gmail.com>
        Date: 2014-06-30T14:26:48Z

        LIBCLOUD-590 - Reduce redundant API calls of CloudStack compute driver's list_nodes method


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user atsaki opened a pull request: https://github.com/apache/libcloud/pull/332 LIBCLOUD-590 - Reduce redundant API calls of CloudStack compute driver's... CloudStack compute driver's list_nodes method executes too many API calls and it slows down this method. The patch reduces redundant API calls and speed up list_nodes method. https://issues.apache.org/jira/browse/LIBCLOUD-590 You can merge this pull request into a Git repository by running: $ git pull https://github.com/atsaki/libcloud 590_reduce_cloudstack_list_nodes_api_calls Alternatively you can review and apply these changes as the patch at: https://github.com/apache/libcloud/pull/332.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #332 commit 9234d0a00bd6fc3ee09b29725d9c0352037c2572 Author: Atsushi Sasaki <atsaki01@gmail.com> Date: 2014-06-30T14:26:48Z LIBCLOUD-590 - Reduce redundant API calls of CloudStack compute driver's list_nodes method
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

        https://github.com/apache/libcloud/pull/332

        Show
        githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/libcloud/pull/332
        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user atsaki opened a pull request:

        https://github.com/apache/libcloud/pull/641

        LIBCLOUD-590 - Reduce redundant API calls of CloudStack compute driver's...

        Reopen https://github.com/apache/libcloud/pull/332.

        You can merge this pull request into a Git repository by running:

        $ git pull https://github.com/atsaki/libcloud 590_reduce_cloudstack_list_nodes_api_calls

        Alternatively you can review and apply these changes as the patch at:

        https://github.com/apache/libcloud/pull/641.patch

        To close this pull request, make a commit to your master/trunk branch
        with (at least) the following in the commit message:

        This closes #641


        commit 09019cf02e5e5977143bf085feb5635f19c620f0
        Author: Atsushi Sasaki <atsaki01@gmail.com>
        Date: 2014-06-30T14:26:48Z

        LIBCLOUD-590 - Reduce redundant API calls of CloudStack compute driver's list_nodes method

        commit 25e0b4b69425a1f643ac162514ca7756410b7755
        Author: Atsushi Sasaki <atsaki01@gmail.com>
        Date: 2014-06-30T16:48:52Z

        remove unused ex_list_public_ips

        commit 6394a37c011b0d23e6f2f65a8f3e65a763b0fb39
        Author: Atsushi Sasaki <atsaki01@gmail.com>
        Date: 2015-11-07T12:14:01Z

        remove unused try-except

        commit 3597603c4c4580100b9911e4facaa597cf7a0f75
        Author: Atsushi Sasaki <atsaki01@gmail.com>
        Date: 2015-11-07T12:16:08Z

        Added test cases for cloudstack list_nodes to test node.extra values

        commit 3e68ebe11b396d9e18b9f2152f55e6018ebe1711
        Author: Atsushi Sasaki <atsaki01@gmail.com>
        Date: 2015-11-10T15:59:57Z

        add a fixture of listIpForwardingRules to ktucloud

        commit a9822e0808dbdbe8b8b33380cc44aca906aba616
        Author: Atsushi Sasaki <atsaki01@gmail.com>
        Date: 2015-11-10T16:09:30Z

        Use keyword args to make it more explicit

        commit afafdff4d7fa8b0e20a56e584b04c75cc28306e5
        Author: Atsushi Sasaki <atsaki01@gmail.com>
        Date: 2015-11-11T14:44:52Z

        Fix bracket indentation


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user atsaki opened a pull request: https://github.com/apache/libcloud/pull/641 LIBCLOUD-590 - Reduce redundant API calls of CloudStack compute driver's... Reopen https://github.com/apache/libcloud/pull/332 . You can merge this pull request into a Git repository by running: $ git pull https://github.com/atsaki/libcloud 590_reduce_cloudstack_list_nodes_api_calls Alternatively you can review and apply these changes as the patch at: https://github.com/apache/libcloud/pull/641.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #641 commit 09019cf02e5e5977143bf085feb5635f19c620f0 Author: Atsushi Sasaki <atsaki01@gmail.com> Date: 2014-06-30T14:26:48Z LIBCLOUD-590 - Reduce redundant API calls of CloudStack compute driver's list_nodes method commit 25e0b4b69425a1f643ac162514ca7756410b7755 Author: Atsushi Sasaki <atsaki01@gmail.com> Date: 2014-06-30T16:48:52Z remove unused ex_list_public_ips commit 6394a37c011b0d23e6f2f65a8f3e65a763b0fb39 Author: Atsushi Sasaki <atsaki01@gmail.com> Date: 2015-11-07T12:14:01Z remove unused try-except commit 3597603c4c4580100b9911e4facaa597cf7a0f75 Author: Atsushi Sasaki <atsaki01@gmail.com> Date: 2015-11-07T12:16:08Z Added test cases for cloudstack list_nodes to test node.extra values commit 3e68ebe11b396d9e18b9f2152f55e6018ebe1711 Author: Atsushi Sasaki <atsaki01@gmail.com> Date: 2015-11-10T15:59:57Z add a fixture of listIpForwardingRules to ktucloud commit a9822e0808dbdbe8b8b33380cc44aca906aba616 Author: Atsushi Sasaki <atsaki01@gmail.com> Date: 2015-11-10T16:09:30Z Use keyword args to make it more explicit commit afafdff4d7fa8b0e20a56e584b04c75cc28306e5 Author: Atsushi Sasaki <atsaki01@gmail.com> Date: 2015-11-11T14:44:52Z Fix bracket indentation
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 330c2563e306b501f0fc039d06ccfc7baf198ff5 in libcloud's branch refs/heads/trunk from Atsushi Sasaki
        [ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=330c256 ]

        LIBCLOUD-590 - Reduce redundant API calls of CloudStack compute driver's list_nodes method

        Signed-off-by: Sebastien Goasguen <runseb@gmail.com>

        This closes #641

        Show
        jira-bot ASF subversion and git services added a comment - Commit 330c2563e306b501f0fc039d06ccfc7baf198ff5 in libcloud's branch refs/heads/trunk from Atsushi Sasaki [ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=330c256 ] LIBCLOUD-590 - Reduce redundant API calls of CloudStack compute driver's list_nodes method Signed-off-by: Sebastien Goasguen <runseb@gmail.com> This closes #641
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

        https://github.com/apache/libcloud/pull/641

        Show
        githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/libcloud/pull/641
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 330c2563e306b501f0fc039d06ccfc7baf198ff5 in libcloud's branch refs/heads/cloudflare_dns_driver from Atsushi Sasaki
        [ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=330c256 ]

        LIBCLOUD-590 - Reduce redundant API calls of CloudStack compute driver's list_nodes method

        Signed-off-by: Sebastien Goasguen <runseb@gmail.com>

        This closes #641

        Show
        jira-bot ASF subversion and git services added a comment - Commit 330c2563e306b501f0fc039d06ccfc7baf198ff5 in libcloud's branch refs/heads/cloudflare_dns_driver from Atsushi Sasaki [ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=330c256 ] LIBCLOUD-590 - Reduce redundant API calls of CloudStack compute driver's list_nodes method Signed-off-by: Sebastien Goasguen <runseb@gmail.com> This closes #641

          People

          • Assignee:
            Unassigned
            Reporter:
            atsaki Atsushi Sasaki
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development