Commits on Feb 22, 2013
  1. EUCA-4915, EUCA-4917: The initial implementation of the support for l…

    sangmin authored and sjones4 committed Feb 22, 2013
    …oadbalancer VMs
  2. Auto scaling tag support - EUCA-4758

    sjones4 committed Feb 21, 2013
    Tag support is added for auto scaling. This includes the tag operations
    and support for tags with the existing create/describe auto scaling
    group operations.
    AutoScalingService is updated to implement the new operations and to add
    tag support to existing group operations. AutoScalingGroup now
    references the tags for the group for cascade of creation and deletion.
    A TypeMapper is added to AutoScalingGroups for conversion of tags to the
    internal format on group creation.
    Tag entities and CRUD support is added in the new tags package.
    The String class is updated with some general purpose predicates for
    matching strings.
  3. Fixed an issue in cloudwatch where timestamps in get-metric-statistic…

    Evan Thomas authored and sjones4 committed Feb 20, 2013
    …s timestamps were not being rounded down to the lowest whole minute
  4. Auto scaling ELB reference validation - EUCA-5027

    sjones4 committed Feb 20, 2013
    References to ELB load balancers are now validated when auto scaling
    groups are created.
    The ActivityManager is updated to allow passing of load balancer names
    and there is a new activity (LoadBalancerValidationScalingActivityTask)
    to perform the validation.
    A generic DispatchingClient has been extracted from EucalyptusClient and
    is now extended for both Eucalyptus and ELB clients.
    The AutoScalingService is updated to pass load balancer names to the
    ActivityManager for validation.
    Unit tests are updated to allow for the above changes.
  5. EUCA-4576 implemented aggregation for PutMetricData in Cloudwatch, EU…

    Evan Thomas authored and sjones4 committed Feb 20, 2013
    …CA-4560 GetMetricStatistics end to end
  6. Auto scaling EC2 reference validation - EUCA-5024

    sjones4 committed Feb 19, 2013
    References to EC2 resources are now validated when auto scaling groups
    and launch configurations are created/updated. The resources currently
    validated are availability zones, image identifiers, ssh key names and
    security group names.
    The ActivityManager is updated with methods to validate references for
    an owner and with a process task (ValidationScalingProcessTask) to
    perform the work. There is an abstract activity task with sub-classes
    for each resource type (ValidationScalingActivityTask). A Future is now
    available to use if the results of a process task are required.
    AutoScalingService is updated to use the new ActivityManager methods for
    validation of referenced EC2 resources.
    LaunchConfiguration and AutoScalingGroup are updated so collection
    properties maintain their ordering.
  7. Auto scaling EC2 instance health check update - EUCA-4902

    sjones4 committed Feb 18, 2013
    The ActivityManager is updated to use the DescribeInstanceStatus action
    for checking the health of instances. This operation should have less
    overhead than describing instances and will allow auto scaling to use
    instance health information when that is available.
  8. introduction of monitor instance toggle EUCA-4971

    kedwards3 authored and sjones4 committed Feb 19, 2013
    It is now possible to set the monitoring bit when issuing the run instance operation.
    The operations monitor and un-monitor an instance have been implemented.
  9. Partial implementation of EC2 DescribeInstanceStatus - EUCA-5052

    sjones4 committed Feb 18, 2013
    Message binding and a partial implementation of DescribeInstanceStatus
    are added for API versions from 2011-11-01. A new aws-instances binding
    file adds bindings for the new request and response pair.
    VmControl.groovy is updated to include the new message data objects.
    VmControl implements the describe instance status operation and there is
    a corresponding type mapper added to VmInstances. VmInstances is also
    updated with filter support for the new operation.
    Filtering is updated to allow the available filters to be qualified this
    allows distinct filters to be available for describing instances and
    describing instance status.
    Filter and Filters are updated to allow combination of Filter items and
    for use of a builder when constructing a Filter using internal filters.
    An internal filter can be used for filtering on items that are not part
    of the public filter API (e.g. by instance identifier for instance
    status filtering)
  10. EUCA-4800 PutMetricData end to end functionality added. Some addition…

    Evan Thomas authored and sjones4 committed Feb 18, 2013
    …al items, such as validation need to be added
  11. Cloud watch message bindings test has been updated to test all reques…

    Evan Thomas authored and sjones4 committed Feb 16, 2013
    …t types using the autoscaling bindings test as a guide
  12. Cloud watch message binding and test update.

    sjones4 committed Feb 15, 2013
    CloudWatchMessages.groovy is updated to use Integer instead of
    BigInteger, and to annotate with HttpEmbedded and HttpParameterMapping
    where appropriate. The cloudwatch-binding.xml is updated with matching
    The CloudWatchBindingTest is moved to the src/test/java directory and
    updated to extend QueryBindingTestSupport.
  13. EC2 binding update for support of 2012-12-01 version - EUCA-4943

    sjones4 committed Feb 15, 2013
    A binding file for EC2 is added for the 2012-12-01 version.
  14. Auto Scaling support for multiple availability zones - EUCA-4992

    sjones4 committed Feb 15, 2013
    Auto scaling will now take availability zones into account when
    launching and terminating instances.
    The ActivityManager is refactored to more clearly represent/manage
    scaling processes and activities (ScalingProcessTask and
    ScalingActivityTask respectively). Process tasks have been added for
    launch, termination and monitoring. Launch now uses an activity per
    launched instance and will distribute instances across the desired
    availability zones. Terminate will terminate instances in availability
    zones that are no longer configured for the group in preference to any
    other instances. Terminate will also pick instances to terminate so that
    the availability zones remain balanced.
    CollectionUtils is updated with to support sum and count reductions.
    An ActivityManagerTest is added with unit tests for launch and terminate
    A FuturesTest is added with coverage of the new Futures.allAsList
  15. Auto Scaling support for scaling activity cooldown - EUCA-4989

    sjones4 committed Feb 13, 2013
    The auto scaling service now checks the cooldown period when setting the
    desired capacity or executing a policy when HonorCooldown is true. Auto
    scaling groups now record the time the desired capacity was last
    The auto scaling service is updated to fail operations as appropriate if
    scaling is in progress. The ActivityManager and BackoffRunner now
    support checking if a task / activity is in progress.
  16. Auto scaling add instances to describe group response - EUCA-5013

    sjones4 committed Feb 13, 2013
    The auto scaling service is updated to add instance information to the
    response for DescribeAutoScalingGroups. A type mapper is added to
    AutoScalingInstances to transform instance information to the response
  17. Auto scaling EC2 instance health monitoring - EUCA-4902

    sjones4 committed Feb 12, 2013
    ActivityManager is updated to poll EC2 to determine and mark unhealthy
    auto scaling instances. In addition to the polling activity there is an
    activity to replace unhealthy instances. BackoffRunner now allows tasks
    to be chained, this is used for chaining terminate and launch activities
    for unhealthy instance replacement.
    AutoScalingGroups is updated to suport listing of groups with instances
    in need of replacement or monitoring. AutoScalingInstances is updated to
    support listing of unhealthy instances by group and for marking
    instances as unhealthy.
  18. Junit tests for query binding for ELB

    sangmin authored and sjones4 committed Feb 11, 2013
    Followed Steve's junit tests for autoscaling
  19. EUCA-4800 added distributed table model for metrics

    Evan Thomas authored and sjones4 committed Feb 22, 2013
  20. Auto scaling set auto scaling instance health - EUCA-4905

    sjones4 committed Feb 9, 2013
    Support is added for setting the health status of an auto scaling
    instance. The AutoScalingService is updated to support the new operation
    and AutoScalingInstance is updated with a method to check if the grace
    period for health checking has expired for an instance.
  21. Auto scaling terminate auto scaling instance - EUCA-4899

    sjones4 committed Feb 9, 2013
    Support is added for termination of an auto scaling instance and for
    forcing termination of all instances when deleting an auto scaling
    The AutoScalingService uses the ActivityManager for calling out to EC2
    and to handle checking for existing scaling activity for the group. The
    BackoffRunner will allow user requested termination activities to run
    even when all other scaling activities are disabled.
    AutoScalingInstances is updated to allow listing and deletion of
    instances for an auto scaling group. A ScalingActivityTransform type
    mapper is added to create the response for the instance termination
    AutoScalingService errors are updated, the correct error is now returned
    when attempting to delete a resource that is in use. There is a new
    error for scaling activity in progress.
    LifecycleState is updated with the correct values but these are not yet
  22. EUCA-4914, EUCA-4915

    sangmin authored and sjones4 committed Feb 9, 2013
    Adds LoadBalancerServoceInstance, an entity class to represent the loadbalancer VM.
    Adds PostServoStates service methods which is the non-AWS extension to the loadbalancer service, which will be invoked only from LB VMs.
    Modified the messages.groovy and binding.xml such that the request comes through the PostServoStates method.
    Tested with the python client using boto.
  23. EUCA-4890 Put Metric Data crud complete. More work may be done with t…

    Evan Thomas authored and sjones4 committed Feb 22, 2013
    …ables (adding different tables based on dimension hash)
  24. Auto scaling describe auto scaling instances - EUCA-4896

    sjones4 committed Feb 8, 2013
    Support is added for describing auto scaling instances. There is a new
    AutoScalingInstanceTransform type mapper for conversion to the response
    format. The AutoScalingService is updated to implement the describe
    operation and a unit test is added to cover describe functionality.
  25. Auto scaling launch and terminate activities - EUCA-4893

    sjones4 committed Feb 8, 2013
    Auto scaling is updated with support for launch and termination of
    instances. Launch support includes tagging instances with the group name
    and termination of instances includes evaluation of the relevant
    termination policies. Launch and terminate activities are subject to
    back off on failure and a configuration property is added to disable all
    scaling activities in the cloud.
    The AutoScalingGroup entity is updated to track the current capacity of
    each group and if scaling is currently required for the group.
    Entities are added for scaling activities and instances and a new
    ActivityManager is added to direct/coordinate scaling activities. The
    ActivityManager uses the new BackoffRunner for handling of back off on
    failures and the new EucalyptusClient for access to the Eucalyptus (EC2)
    TerminationPolicyType is updated with implementations for each policy. A
    TerminationPolicyTypeTest unit test is added for validation.
    A new InternalImpersonationHandler is added and ServiceContext updated
    to support impersonation for remote and local clients respectively (this
    is subject to change)
    TagManager is updated to allow creation of tags with restricted names
    for internal clients.
  26. Update Query API binding for Auto Scaling - EUCA-4912 - EUCA-4913

    sjones4 committed Feb 5, 2013
    The Query API binding for auto scaling is updated to annotate all
    messages appropriately. A unit test is added for the auto scaling query
    binding with coverage of all implemented operations. A
    QueryBindingTestSupport class is added to simplify creation of query
    binding unit tests for services.
    BaseQueryBinding is updated to support bindings for Date values and to
    allow use of any supported simple type in a list (Boolean, Date, Double,
    Integer, Long and String)
    Issues with the BaseQueryBinding are addressed, these include preserving
    parameter order for lists and fixing support for alternative operation
    parameters. A BaseQueryBindingTest is added to provide unit test
    coverage of the fixes and new functionality.
    Fixes EUCA-4912
    Fixes EUCA-4913
Commits on Feb 21, 2013
  1. Fixes SAN-58

    Swathi Gangisetty
    Swathi Gangisetty committed Feb 16, 2013
    Netapp volume options are set after a volume is created on the SAN.
    If these options cannot be applied for some reason the volume is marked failed in eucalyptus and deleted from the SAN.
Commits on Feb 20, 2013
  1. Fix copypaste error

    gholms committed Feb 19, 2013
Commits on Feb 15, 2013
  1. Merge branch 'dev/grze/EUCA-4529' into testing

    grze committed Feb 15, 2013
  2. Fixes indentation.

    gelinasc committed Feb 15, 2013