Joseph Hall created LIBCLOUD-294:
------------------------------------
Summary: list_images needs an imageid filter
Key: LIBCLOUD-294
URL: https://issues.apache.org/jira/browse/LIBCLOUD-294
Project: Libcloud
Issue Type: Bug
Components: Compute
Affects Versions: 0.11.2
Environment: 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.
Reporter: Joseph Hall
Priority: Minor
Fix For: 0.11.2
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira