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

list_images needs an imageid filter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.11.2
    • 0.12.1
    • Compute
    • Problem has been noticed by several users running salt-cloud, across CentOS 6.3, Ubuntu 12.10 and the current Arch Linux. Issue is EC2-specific.

    Description

      The list_images() function has no way to pass a list of images to EC2's DescribeImages Action. This means that DescribeImages will always return every image that EC2 knows about, which numbers in the several hundreds. In salt-cloud, this causes the CPU and memory to get pegged every time this call is made:

      https://github.com/saltstack/salt-cloud/issues/100
      https://github.com/saltstack/salt-cloud/issues/197

      After patching it in my local copy of the repo, I discovered that a pull req had already been submitted which does a much better job at fixing the issue than I did:

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

      If that pull req were to be merged, it would help out a lot.

      Attachments

        Activity

          People

            kami Tomaz Muraus
            techhat Joseph Hall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: