com.xerox.amazonws.ec2.EC2Exception: Client error : The volume 'vol-c90ffaa0' is not 'attached'.

Atlassian JIRA | Ulrich Kuhnhardt [Atlassian] | 7 years ago
  1. 0

    EBS volumes cannot be detached/deleted when instances are shut down by the cron scheduler. {panel} INFO | jvm 1 | 2009/08/24 07:40:00 | 2009-08-24 07:40:00,006 INFO [QuartzScheduler_Worker-6] [ElasticFunctionalityFacadeImpl] Adjusting elastic agents with schedule: com.atlassian.bamboo.agent.elastic.schedule.ElasticInstanceScheduleImpl@26e492[25886722,0 40 7 ? * MON-FRI,<null>,EQUALS,0,true] INFO | jvm 1 | 2009/08/24 07:40:00 | 2009-08-24 07:40:00,006 INFO [QuartzScheduler_Worker-6] [ElasticFunctionalityFacadeImpl] Adjusting all elastic instance... INFO | jvm 1 | 2009/08/24 07:40:00 | 2009-08-24 07:40:00,023 INFO [QuartzScheduler_Worker-6] [ElasticFunctionalityFacadeImpl] Attempting to shutdown 1 of 'Default' elastic instances INFO | jvm 1 | 2009/08/24 07:40:01 | 2009-08-24 07:40:01,264 INFO [BAM::Events:pool-1-thread-13] [ElasticInstanceManagerImpl] Elastic Agent "Elastic Agent on i-6ad13f02" stopped on instance i-6ad13f02 INFO | jvm 1 | 2009/08/24 07:40:01 | 2009-08-24 07:40:01,277 INFO [pool-3-thread-3] [ElasticInstanceManagerImpl] Elastic instance i-6ad13f02 transitioned from RUNNING to SHUTTING_DOWN. INFO | jvm 1 | 2009/08/24 07:40:01 | 2009-08-24 07:40:01,287 INFO [BAM::Events:pool-1-thread-7] [ElasticInstanceManagerImpl] Elastic Agent "Elastic Agent on i-6ad13f02" stopped on instance i-6ad13f02 INFO | jvm 1 | 2009/08/24 07:40:01 | 2009-08-24 07:40:01,632 INFO [pool-3-thread-3] [RemoteEC2InstanceImpl] EC2 instance i-6ad13f02 transitioned from running (16) to shutting-down (32) INFO | jvm 1 | 2009/08/24 07:40:01 | 2009-08-24 07:40:01,633 INFO [BAM::Events:pool-1-thread-7] [ElasticInstanceManagerImpl] Requested termination of elastic instance: i-6ad13f02 INFO | jvm 1 | 2009/08/24 07:40:01 | 2009-08-24 07:40:01,633 INFO [BAM::Events:pool-1-thread-13] [ElasticInstanceManagerImpl] Requested termination of elastic instance: i-6ad13f02 INFO | jvm 1 | 2009/08/24 07:40:25 | 2009-08-24 07:40:25,833 INFO [pool-3-thread-3] [RemoteEC2InstanceImpl] EC2 instance i-6ad13f02 has terminated. INFO | jvm 1 | 2009/08/24 07:40:25 | 2009-08-24 07:40:25,833 INFO [pool-3-thread-3] [ElasticInstanceManagerImpl] Elastic instance i-6ad13f02 transitioned from SHUTTING_DOWN to TERMINATED. INFO | jvm 1 | 2009/08/24 07:40:25 | 2009-08-24 07:40:25,833 INFO [pool-3-thread-3] [ElasticInstanceManagerImpl] Detected that the elastic instance i-6ad13f02 has stopped. INFO | jvm 1 | 2009/08/24 07:40:25 | 2009-08-24 07:40:25,836 INFO [pool-3-thread-3] [EBSVolumeSupervisorImpl] Deleting EBS volume vol-c90ffaa0 INFO | jvm 1 | 2009/08/24 07:40:26 | 2009-08-24 07:40:26,036 WARN [pool-3-thread-3] [EBSVolumeImpl] Attempt to detach EBS volume vol-c90ffaa0 from EC2 instance i-6ad13f02 failed. Proceeding with deletion. INFO | jvm 1 | 2009/08/24 07:40:26 | com.xerox.amazonws.ec2.EC2Exception: Client error : The volume 'vol-c90ffaa0' is not 'attached'. INFO | jvm 1 | 2009/08/24 07:40:26 | at com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:1680) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.xerox.amazonws.ec2.Jec2.detachVolume(Jec2.java:1569) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.EBSVolumeImpl.delete(EBSVolumeImpl.java:38) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.bamboo.agent.elastic.server.EBSVolumeSupervisorImpl.purge(EBSVolumeSupervisorImpl.java:119) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl$1.ec2InstanceStateChanged(RemoteElasticInstanceImpl.java:307) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$4.run(RemoteEC2InstanceImpl.java:518) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$CatchingRunnableDecorator.run(RemoteEC2InstanceImpl.java:98) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.setState(RemoteEC2InstanceImpl.java:513) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.terminated(RemoteEC2InstanceImpl.java:346) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.EC2InstanceState$3.supervise(EC2InstanceState.java:125) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.backgroundSupervise(RemoteEC2InstanceImpl.java:437) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.access$300(RemoteEC2InstanceImpl.java:25) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$2.run(RemoteEC2InstanceImpl.java:127) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$CatchingRunnableDecorator.run(RemoteEC2InstanceImpl.java:98) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.lang.Thread.run(Thread.java:619) {panel}

    Atlassian JIRA | 7 years ago | Ulrich Kuhnhardt [Atlassian]
    com.xerox.amazonws.ec2.EC2Exception: Client error : The volume 'vol-c90ffaa0' is not 'attached'.
  2. 0

    EBS volumes cannot be detached/deleted when instances are shut down by the cron scheduler. {panel} INFO | jvm 1 | 2009/08/24 07:40:00 | 2009-08-24 07:40:00,006 INFO [QuartzScheduler_Worker-6] [ElasticFunctionalityFacadeImpl] Adjusting elastic agents with schedule: com.atlassian.bamboo.agent.elastic.schedule.ElasticInstanceScheduleImpl@26e492[25886722,0 40 7 ? * MON-FRI,<null>,EQUALS,0,true] INFO | jvm 1 | 2009/08/24 07:40:00 | 2009-08-24 07:40:00,006 INFO [QuartzScheduler_Worker-6] [ElasticFunctionalityFacadeImpl] Adjusting all elastic instance... INFO | jvm 1 | 2009/08/24 07:40:00 | 2009-08-24 07:40:00,023 INFO [QuartzScheduler_Worker-6] [ElasticFunctionalityFacadeImpl] Attempting to shutdown 1 of 'Default' elastic instances INFO | jvm 1 | 2009/08/24 07:40:01 | 2009-08-24 07:40:01,264 INFO [BAM::Events:pool-1-thread-13] [ElasticInstanceManagerImpl] Elastic Agent "Elastic Agent on i-6ad13f02" stopped on instance i-6ad13f02 INFO | jvm 1 | 2009/08/24 07:40:01 | 2009-08-24 07:40:01,277 INFO [pool-3-thread-3] [ElasticInstanceManagerImpl] Elastic instance i-6ad13f02 transitioned from RUNNING to SHUTTING_DOWN. INFO | jvm 1 | 2009/08/24 07:40:01 | 2009-08-24 07:40:01,287 INFO [BAM::Events:pool-1-thread-7] [ElasticInstanceManagerImpl] Elastic Agent "Elastic Agent on i-6ad13f02" stopped on instance i-6ad13f02 INFO | jvm 1 | 2009/08/24 07:40:01 | 2009-08-24 07:40:01,632 INFO [pool-3-thread-3] [RemoteEC2InstanceImpl] EC2 instance i-6ad13f02 transitioned from running (16) to shutting-down (32) INFO | jvm 1 | 2009/08/24 07:40:01 | 2009-08-24 07:40:01,633 INFO [BAM::Events:pool-1-thread-7] [ElasticInstanceManagerImpl] Requested termination of elastic instance: i-6ad13f02 INFO | jvm 1 | 2009/08/24 07:40:01 | 2009-08-24 07:40:01,633 INFO [BAM::Events:pool-1-thread-13] [ElasticInstanceManagerImpl] Requested termination of elastic instance: i-6ad13f02 INFO | jvm 1 | 2009/08/24 07:40:25 | 2009-08-24 07:40:25,833 INFO [pool-3-thread-3] [RemoteEC2InstanceImpl] EC2 instance i-6ad13f02 has terminated. INFO | jvm 1 | 2009/08/24 07:40:25 | 2009-08-24 07:40:25,833 INFO [pool-3-thread-3] [ElasticInstanceManagerImpl] Elastic instance i-6ad13f02 transitioned from SHUTTING_DOWN to TERMINATED. INFO | jvm 1 | 2009/08/24 07:40:25 | 2009-08-24 07:40:25,833 INFO [pool-3-thread-3] [ElasticInstanceManagerImpl] Detected that the elastic instance i-6ad13f02 has stopped. INFO | jvm 1 | 2009/08/24 07:40:25 | 2009-08-24 07:40:25,836 INFO [pool-3-thread-3] [EBSVolumeSupervisorImpl] Deleting EBS volume vol-c90ffaa0 INFO | jvm 1 | 2009/08/24 07:40:26 | 2009-08-24 07:40:26,036 WARN [pool-3-thread-3] [EBSVolumeImpl] Attempt to detach EBS volume vol-c90ffaa0 from EC2 instance i-6ad13f02 failed. Proceeding with deletion. INFO | jvm 1 | 2009/08/24 07:40:26 | com.xerox.amazonws.ec2.EC2Exception: Client error : The volume 'vol-c90ffaa0' is not 'attached'. INFO | jvm 1 | 2009/08/24 07:40:26 | at com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:1680) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.xerox.amazonws.ec2.Jec2.detachVolume(Jec2.java:1569) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.EBSVolumeImpl.delete(EBSVolumeImpl.java:38) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.bamboo.agent.elastic.server.EBSVolumeSupervisorImpl.purge(EBSVolumeSupervisorImpl.java:119) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl$1.ec2InstanceStateChanged(RemoteElasticInstanceImpl.java:307) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$4.run(RemoteEC2InstanceImpl.java:518) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$CatchingRunnableDecorator.run(RemoteEC2InstanceImpl.java:98) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.setState(RemoteEC2InstanceImpl.java:513) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.terminated(RemoteEC2InstanceImpl.java:346) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.EC2InstanceState$3.supervise(EC2InstanceState.java:125) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.backgroundSupervise(RemoteEC2InstanceImpl.java:437) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.access$300(RemoteEC2InstanceImpl.java:25) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$2.run(RemoteEC2InstanceImpl.java:127) INFO | jvm 1 | 2009/08/24 07:40:26 | at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$CatchingRunnableDecorator.run(RemoteEC2InstanceImpl.java:98) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) INFO | jvm 1 | 2009/08/24 07:40:26 | at java.lang.Thread.run(Thread.java:619) {panel}

    Atlassian JIRA | 7 years ago | Ulrich Kuhnhardt [Atlassian]
    com.xerox.amazonws.ec2.EC2Exception: Client error : The volume 'vol-c90ffaa0' is not 'attached'.
  3. 0

    've just switched from M6 to M7. I've spotted a problem that somehow M7 (compared to M6) seems too eagerly mark remote agents as "offline" and in result it shuts them down - about 5-10 per 4-5 hours. I've logged in to each of "offline" instances before they went down, but in elastic agent's logs there was nothing suspicious and it seems it was connecting fine with SSH tunnelled connection back to the master. Do you know if any additional functionality (apart from official fix for-s for M7 - [http://jira.atlassian.com/browse/BAM/fixforversion/14643]) were added so that they can introduce this kind of behaviour - compared to M6? I've noticed that if the elastic agent is marked as "offline" it happens just after a build is completed on this agent (of course it doesn't happen after every completed build). Nothing weird happened in Bamboo master's logs and the only sign of the node being put down is simply: {noformat} 2009-06-26 06:31:57,120 INFO [pool-2-thread-1] [ElasticInstanceManagerImpl] Elastic instance i-c3fedfaa transitioned from RUNNING to SHUTTING_DOWN. 2009-06-26 06:31:57,293 INFO [pool-2-thread-1] [RemoteEC2InstanceImpl] EC2 instance i-c3fedfaa transitioned from running (16) to shutting-down (32) 2009-06-26 06:32:15,333 INFO [pool-2-thread-3] [RemoteEC2InstanceImpl] EC2 instance i-c3fedfaa has terminated. 2009-06-26 06:32:15,333 INFO [pool-2-thread-3] [ElasticInstanceManagerImpl] Elastic instance i-c3fedfaa transitioned from SHUTTING_DOWN to TERMINATED. 2009-06-26 06:32:15,333 INFO [pool-2-thread-3] [ElasticInstanceManagerImpl] Detected that the elastic instance i-c3fedfaa has stopped. 2009-06-26 06:32:15,344 INFO [pool-2-thread-3] [ElasticInstanceManagerImpl] Elastic Agent "Elastic Agent on i-c3fedfaa" stopped on instance i-c3fedfaa 2009-06-26 06:32:15,345 INFO [pool-2-thread-3] [EBSVolumeSupervisorImpl] Deleting EBS volume vol-b48c62dd 2009-06-26 06:32:15,346 ERROR [pool-10-thread-1] [AgentOfflineEventListener] Elastic instance i-c3fedfaa does not exist 2009-06-26 06:32:15,412 WARN [pool-2-thread-3] [EBSVolumeImpl] Attempt to detach EBS volume vol-b48c62dd from EC2 instance i-c3fedfaa failed. Proceeding with deletion. com.xerox.amazonws.ec2.EC2Exception: Client error : The volume 'vol-b48c62dd' is not 'attached'. at com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:1680) at com.xerox.amazonws.ec2.Jec2.detachVolume(Jec2.java:1569) at com.atlassian.aws.ec2.EBSVolumeImpl.delete(EBSVolumeImpl.java:38) at com.atlassian.bamboo.agent.elastic.server.EBSVolumeSupervisorImpl.purge(EBSVolumeSupervisorImpl.java:110) at com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl$1.ec2InstanceStateChanged(RemoteElasticInstanceImpl.java:291) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$4.run(RemoteEC2InstanceImpl.java:494) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$CatchingRunnableDecorator.run(RemoteEC2InstanceImpl.java:96) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.setState(RemoteEC2InstanceImpl.java:489) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.terminated(RemoteEC2InstanceImpl.java:325) at com.atlassian.aws.ec2.EC2InstanceState$3.supervise(EC2InstanceState.java:125) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.backgroundSupervise(RemoteEC2InstanceImpl.java:413) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.access$300(RemoteEC2InstanceImpl.java:25) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$2.run(RemoteEC2InstanceImpl.java:125) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$CatchingRunnableDecorator.run(RemoteEC2InstanceImpl.java:96) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) {noformat}

    Atlassian JIRA | 7 years ago | Krystian Nowak
    com.xerox.amazonws.ec2.EC2Exception: Client error : The volume 'vol-b48c62dd' is not 'attached'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    've just switched from M6 to M7. I've spotted a problem that somehow M7 (compared to M6) seems too eagerly mark remote agents as "offline" and in result it shuts them down - about 5-10 per 4-5 hours. I've logged in to each of "offline" instances before they went down, but in elastic agent's logs there was nothing suspicious and it seems it was connecting fine with SSH tunnelled connection back to the master. Do you know if any additional functionality (apart from official fix for-s for M7 - [http://jira.atlassian.com/browse/BAM/fixforversion/14643]) were added so that they can introduce this kind of behaviour - compared to M6? I've noticed that if the elastic agent is marked as "offline" it happens just after a build is completed on this agent (of course it doesn't happen after every completed build). Nothing weird happened in Bamboo master's logs and the only sign of the node being put down is simply: {noformat} 2009-06-26 06:31:57,120 INFO [pool-2-thread-1] [ElasticInstanceManagerImpl] Elastic instance i-c3fedfaa transitioned from RUNNING to SHUTTING_DOWN. 2009-06-26 06:31:57,293 INFO [pool-2-thread-1] [RemoteEC2InstanceImpl] EC2 instance i-c3fedfaa transitioned from running (16) to shutting-down (32) 2009-06-26 06:32:15,333 INFO [pool-2-thread-3] [RemoteEC2InstanceImpl] EC2 instance i-c3fedfaa has terminated. 2009-06-26 06:32:15,333 INFO [pool-2-thread-3] [ElasticInstanceManagerImpl] Elastic instance i-c3fedfaa transitioned from SHUTTING_DOWN to TERMINATED. 2009-06-26 06:32:15,333 INFO [pool-2-thread-3] [ElasticInstanceManagerImpl] Detected that the elastic instance i-c3fedfaa has stopped. 2009-06-26 06:32:15,344 INFO [pool-2-thread-3] [ElasticInstanceManagerImpl] Elastic Agent "Elastic Agent on i-c3fedfaa" stopped on instance i-c3fedfaa 2009-06-26 06:32:15,345 INFO [pool-2-thread-3] [EBSVolumeSupervisorImpl] Deleting EBS volume vol-b48c62dd 2009-06-26 06:32:15,346 ERROR [pool-10-thread-1] [AgentOfflineEventListener] Elastic instance i-c3fedfaa does not exist 2009-06-26 06:32:15,412 WARN [pool-2-thread-3] [EBSVolumeImpl] Attempt to detach EBS volume vol-b48c62dd from EC2 instance i-c3fedfaa failed. Proceeding with deletion. com.xerox.amazonws.ec2.EC2Exception: Client error : The volume 'vol-b48c62dd' is not 'attached'. at com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:1680) at com.xerox.amazonws.ec2.Jec2.detachVolume(Jec2.java:1569) at com.atlassian.aws.ec2.EBSVolumeImpl.delete(EBSVolumeImpl.java:38) at com.atlassian.bamboo.agent.elastic.server.EBSVolumeSupervisorImpl.purge(EBSVolumeSupervisorImpl.java:110) at com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl$1.ec2InstanceStateChanged(RemoteElasticInstanceImpl.java:291) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$4.run(RemoteEC2InstanceImpl.java:494) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$CatchingRunnableDecorator.run(RemoteEC2InstanceImpl.java:96) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.setState(RemoteEC2InstanceImpl.java:489) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.terminated(RemoteEC2InstanceImpl.java:325) at com.atlassian.aws.ec2.EC2InstanceState$3.supervise(EC2InstanceState.java:125) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.backgroundSupervise(RemoteEC2InstanceImpl.java:413) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.access$300(RemoteEC2InstanceImpl.java:25) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$2.run(RemoteEC2InstanceImpl.java:125) at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$CatchingRunnableDecorator.run(RemoteEC2InstanceImpl.java:96) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) {noformat}

    Atlassian JIRA | 7 years ago | Krystian Nowak
    com.xerox.amazonws.ec2.EC2Exception: Client error : The volume 'vol-b48c62dd' is not 'attached'.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.xerox.amazonws.ec2.EC2Exception

      Client error : The volume 'vol-c90ffaa0' is not 'attached'.

      at com.xerox.amazonws.ec2.Jec2.makeRequestInt()
    2. com.xerox.amazonws
      Jec2.detachVolume
      1. com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:1680)
      2. com.xerox.amazonws.ec2.Jec2.detachVolume(Jec2.java:1569)
      2 frames
    3. com.atlassian.aws
      EBSVolumeImpl.delete
      1. com.atlassian.aws.ec2.EBSVolumeImpl.delete(EBSVolumeImpl.java:38)
      1 frame
    4. com.atlassian.bamboo
      RemoteElasticInstanceImpl$1.ec2InstanceStateChanged
      1. com.atlassian.bamboo.agent.elastic.server.EBSVolumeSupervisorImpl.purge(EBSVolumeSupervisorImpl.java:119)
      2. com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl$1.ec2InstanceStateChanged(RemoteElasticInstanceImpl.java:307)
      2 frames
    5. com.atlassian.aws
      RemoteEC2InstanceImpl$CatchingRunnableDecorator.run
      1. com.atlassian.aws.ec2.RemoteEC2InstanceImpl$4.run(RemoteEC2InstanceImpl.java:518)
      2. com.atlassian.aws.ec2.RemoteEC2InstanceImpl$CatchingRunnableDecorator.run(RemoteEC2InstanceImpl.java:98)
      3. com.atlassian.aws.ec2.RemoteEC2InstanceImpl.setState(RemoteEC2InstanceImpl.java:513)
      4. com.atlassian.aws.ec2.RemoteEC2InstanceImpl.terminated(RemoteEC2InstanceImpl.java:346)
      5. com.atlassian.aws.ec2.EC2InstanceState$3.supervise(EC2InstanceState.java:125)
      6. com.atlassian.aws.ec2.RemoteEC2InstanceImpl.backgroundSupervise(RemoteEC2InstanceImpl.java:437)
      7. com.atlassian.aws.ec2.RemoteEC2InstanceImpl.access$300(RemoteEC2InstanceImpl.java:25)
      8. com.atlassian.aws.ec2.RemoteEC2InstanceImpl$2.run(RemoteEC2InstanceImpl.java:127)
      9. com.atlassian.aws.ec2.RemoteEC2InstanceImpl$CatchingRunnableDecorator.run(RemoteEC2InstanceImpl.java:98)
      9 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      3. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
      6. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      8. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      9. java.lang.Thread.run(Thread.java:619)
      9 frames