Zend Framework

Zend_Service_Amazon_Ec2_Instance describe can only return one instance.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8.2
  • Fix Version/s: 1.9.0
  • Labels:
    None

Description

If there is more than one instance running in EC2, Zend_Service_Amazon_Ec2_Instance's describe will only return the last in the reservation set.

This is because onn line 253 the instances array is created and also replaces itself every time a reservation item is looped through.

The reservation id is also replaced since the data structure only allows one.

Issue Links

Activity

Hide
Jon Whitcraft added a comment -

Yes I found this issue while doing ZF-6717 and it has since been fixed in my user branch and will be released with that update. It should be in 1.8.4.

Show
Jon Whitcraft added a comment - Yes I found this issue while doing ZF-6717 and it has since been fixed in my user branch and will be released with that update. It should be in 1.8.4.
Hide
Jon Whitcraft added a comment -

This has been fixed in my user branch were I'm working on the update to the API version.

Show
Jon Whitcraft added a comment - This has been fixed in my user branch were I'm working on the update to the API version.
Hide
Jon Whitcraft added a comment -

This was done with r16390 as it was part of the update to the describeInstance method.

Show
Jon Whitcraft added a comment - This was done with r16390 as it was part of the update to the describeInstance method.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: