I'm using 2.5.2 and when I make call get_all_groups() the AutoScale group returned has a max_size of None.
It looks like the XML parsing may be broken, but I'm not sure where it's falling apart. If I modify connection.py to print out the body I see the correct MaxSize in the body of the response as returned in get_list():body = response.read()<DescribeAutoScalingGroupsResponse xmlns="http://autoscaling.amazonaws.com/doc/2011-01-01/"><DescribeAutoScalingGroupsResult><AutoScalingGroups><member><Tags><member><ResourceId>201208161118</ResourceId><PropagateAtLaunch>true</PropagateAtLaunch><Value>demo</Value><Key>env</Key><ResourceType>auto-scaling-group</ResourceType></member><member><ResourceId>201208161118</ResourceId><PropagateAtLaunch>true</PropagateAtLaunch><Value>server</Value><Key>nodeType</Key><ResourceType>auto-scaling-group</ResourceType></member><member><ResourceId>201208161118</ResourceId><PropagateAtLaunch>true</PropagateAtLaunch><Value>201208161118</Value><Key>server</Key><ResourceType>auto-scaling-group</ResourceType></member></Tags><SuspendedProcesses/><AutoScalingGroupName>201208161118</AutoScalingGroupName><HealthCheckType>EC2</HealthCheckType><CreatedTime>2012-08-16T15:18:38.049Z</CreatedTime><EnabledMetrics/><LaunchConfigurationName>201208161118</LaunchConfigurationName><Instances><member><HealthStatus>Healthy</HealthStatus><AvailabilityZone>us-east-1d</AvailabilityZone><InstanceId>i-xxxxxxxx</InstanceId><LaunchConfigurationName>201208161118</LaunchConfigurationName><LifecycleState>InService</LifecycleState></member><member><HealthStatus>Healthy</HealthStatus><AvailabilityZone>us-east-1a</AvailabilityZone><InstanceId>i-xxxxxxxx</InstanceId><LaunchConfigurationName>201208161118</LaunchConfigurationName><LifecycleState>InService</LifecycleState></member></Instances><DesiredCapacity>2</DesiredCapacity><AvailabilityZones><member>us-east-1c</member><member>us-east-1a</member><member>us-east-1d</member></AvailabilityZones><LoadBalancerNames/><MinSize>2</MinSize><VPCZoneIdentifier/><HealthCheckGracePeriod>0</HealthCheckGracePeriod><DefaultCooldown>300</DefaultCooldown><AutoScalingGroupARN>arn:aws:autoscaling:us-east-1:XXXXXXXXXXXX:autoScalingGroup:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:autoScalingGroupName/201208161118</AutoScalingGroupARN><TerminationPolicies><member>Default</member></TerminationPolicies><MaxSize>2</MaxSize>-----snip-----What's really confusing is that this was working fine earlier today.Anyone have any ideas as to what may be going on?--
You received this message because you are subscribed to the Google Groups "boto-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/boto-users/-/Dc1j-LVDpl0J.
To post to this group, send email to boto-...@googlegroups.com.
To unsubscribe from this group, send email to boto-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/boto-users?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msg/boto-users/-/rj548-QpaKIJ.
To view this discussion on the web visit https://groups.google.com/d/msg/boto-users/-/J8djEWVe_tsJ.
Error creating launch config! Message: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
The Canonical String for this request should have been
'POST
/
Action=CreateLaunchConfiguration&ImageId=ami-xxxxxxxx&InstanceMonitoring.Enabled=false&InstanceType=m1.large&KeyName=xxxxxxxxxxxx&LaunchConfigurationName=xxxxxxxxxxxxxxxx&SecurityGroups.member.1=xxxxxxxxxxxxx&SecurityGroups.member.2=xxxxxxxxxxxxx&SecurityGroups.member.3=xxxxxxxxxxxx&SecurityGroups.member.4=xxxxxxxxxxxxxxxxxxx&SecurityGroups.member.5=xxxxxxxxxxxxxx&SecurityGroups.member.6=xxxxxxxxxxxxxt&UserData=COMPRESSEDUSERDATA&Version=2011-01-01
host:autoscaling.us-east-1.amazonaws.com
x-amz-date:20120817T150038Z
host;x-amz-date
HASHVALUE'
The String-to-Sign should have been
'AWS4-HMAC-SHA256
20120817T150038Z
20120817/us-east-1/autoscaling/aws4_request
DIFFERENTHASHVALUE'
reason: Forbidden
asConn = boto.ec2.autoscale.connect_to_region(region_name=regionName)
lc = boto.ec2.autoscale.launchconfig.LaunchConfiguration(connection=asConn, name=name, image_id=ami,
key_name=keypairName,
security_groups=secGrps,
instance_type=instanceType,
user_data=userData)
try:
asConn.create_launch_configuration(lc)
except Exception, e:
print 'Error creating launch config! Message: ' + e.error_message + ' reason: ' + e.reason
sys.exit(1)
To view this discussion on the web visit https://groups.google.com/d/msg/boto-users/-/FaRzRb_uH04J.
--
You received this message because you are subscribed to the Google Groups "boto-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/boto-users/-/8u8JPRQ92jUJ.