jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-529) Getting exception while destroying an aws instance using jclouds
Date Fri, 30 Jan 2015 10:23:35 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14298441#comment-14298441
] 

ASF subversion and git services commented on JCLOUDS-529:
---------------------------------------------------------

Commit bdfd1facb9f2aa5f1ea09f72eb3f1491e503a2ae in jclouds's branch refs/heads/master from
[~aled.sage]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=bdfd1fa ]

JCLOUDS-529: fix aws-ec2 cleanupIncidentalResources

- Some users get a DependencyVioloation, rather than InvalidGroup.InUse,
  when attempting to delete the security group. This caused
  cleanupIncidentalResources to propagate an exception.
- Fixes it by converting this to an IllegalStateException (in same
  way as is done for “InUse”)
- Adds tests (using MockWebServer) for happy-path and for failing
  to delete the security group with each of InUse and DependencyViolation
  responses.
- Adds Timeouts.cleanupIncidentalResources
- Use that timeout in EC2, when retrying the deletion of security group
  on VM deletion (previously hard-coded as 3 seconds).
- Configure that timeout in the tests, so deterministic number of retries


> Getting exception while destroying an aws instance using jclouds
> ----------------------------------------------------------------
>
>                 Key: JCLOUDS-529
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-529
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-compute
>            Reporter: supraja
>              Labels: ec2
>
> Getting the below Exception while trying to destroy an aws instance using destroyNode(id)
> org.jclouds.aws.AWSResponseException: request POST https://ec2.us-east-1.amazonaws.com/
HTTP/1.1 failed with code 400, error: AWSError{requestId='2de
> fa53c-fd1f-4cad-b547-4ffd2158e020', requestToken='null', code='DependencyViolation',
message='resource sg-ba812bdf has a dependent object', context='{Response=,
>  Errors=}'}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message