peterknife / boto

Automatically exported from code.google.com/p/boto
0 stars 0 forks source link

get_spot_price_history() doesn't handle nextToken #588

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Calling get_spot_price_history() with a long enough interval between end_time 
and start_time

What is the expected output? What do you see instead?
The command line ec2-describe-spot-price-history shows all the prices; the 
response from boto is incomplete.

What version of the product are you using? On what operating system?
python-boto-2.13.3-1.fc19

Please provide any additional information below.
I've enabled debug in boto, and ran the same HTTP query with wget. I see at the 
end of the XML response <nextToken>....</nextToken>. The last <item> in that 
response is also the last SpotPriceHistory from boto, but far from the 
start_time parameter. And like I said I get more results from 
ec2-describe-spot-price-history for the same parameters.

Original issue reported on code.google.com by gpir...@gmail.com on 2 Nov 2013 at 9:32