AWS API Compatibilty - AvailabilityZone.ZoneState

Bug #726342 reported by Nigel Benns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
New
Undecided
Daniel Nurmi

Bug Description

I am using the .net AWSSDK under RedHat EL5 and mono.
I noticed that when you try and return AvailabilityZone.ZoneState I get an IP address instead of "available".

Here is the code I'm using:

 List<AvailabilityZone> myList = null;
    AmazonEC2Config euca = new AmazonEC2Config();

    euca.ServiceURL = "http://hostofcloudcontroller:8773/services/Eucalyptus/";

    AmazonEC2 ec2 = AWSClientFactory.CreateAmazonEC2Client(
      "accesskey",
      "secretkey",
      euca
    );

    DescribeAvailabilityZonesRequest request = new DescribeAvailabilityZonesRequest();

    DescribeAvailabilityZonesResponse ec2Response = ec2.DescribeAvailabilityZones(request);

    myList = (from res in ec2Response.DescribeAvailabilityZonesResult.AvailabilityZone orderby res.ZoneName select res).ToList();

    String a = String.Empty;
    foreach (var item in myList)
    {
      a += "<option value=\"" + item.ZoneState + "\">" + item.ZoneName + "</option>";
    }

    return a;

The ZoneName is correct, but the ZoneState is an IP.

Tags: awssdk
Daniel Nurmi (nurmi)
Changed in eucalyptus:
assignee: nobody → Daniel Nurmi (nurmi)
Revision history for this message
Andy Grimm (agrimm) wrote :

This issue is now being tracked upstream at http://eucalyptus.atlassian.net/browse/EUCA-2752

Please watch that issue for further updates.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.