The gridmanager will construct KeyPairs for all outstanding EC2 jobs upfront. This can lead to a delay in starting jobs when there are many (10K for instance) EC2 jobs queued.
This is fixed in the V7_1 branch. The construction of keypairs is now restricted by the gridmanager's submission throttles.
This is tested by submitting a set of 100 jobs (any number greater than GRIDMANAGER_MAX_SUBMITTED_JOBS_PER_RESOURCE will work), and after some begin to run check the set of created keypairs with ec2-describe-keypairs. If there are more keypairs than running jobs this issue still exists.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2008-0911.html