pallet/pallet — Issue #105: DescribeImages called on node request
Author: kokaku
Created: 2011-12-19 16:42:56+00:00
State: open

When running Pallet 0.6.6 or 0.6.5 with JClouds 1.2.1...

Using JClouds clojure libaries directly, I am able to obtain a list of instances.
```clojure
(use 'org.jclouds.compute2)
(def compute (compute-service "aws-ec2" USER PASS :sshj :log4j)
(def nl (nodes compute)
(count nl) => 9
```

When I use Pallet to do the same, in addition to a DescribeInstances request, there is also a DescribeImages request being made. That second request takes so long that I do not wait for it to return (I believe it is pulling down a list of all 8000+ AMIs that could be used to create instances).

This also happens if I use a mix of Pallet and Clojure. For example, creating a service in the standard Pallet way and calling `(.getNodeMetadata service ID-STR)` - same thing - the node metadata returns and then there is a massive DescribeImages request.

Perhaps something changed in JClouds 1.2.1 that causes this Pallet behavior?