com.xerox.amazonws.ec2.EC2Exception: Client error : The instance ID 'i-cca241af' does not exist

Jenkins JIRA | David Kavanagh | 5 years ago
  1. 0

    When using the ec2-plugin, we configured a connection to EC2 as well as a Eucalyptus cloud. When we tried some operations on the Eucalyptus cloud (specifically looking at logs of an instance or terminating an instance), we get an error; Jan 25, 2012 9:44:17 AM hudson.plugins.ec2.EC2Slave terminate WARNING: Failed to terminate EC2 instance: i-CCA241AF com.xerox.amazonws.ec2.EC2Exception: Client error : The instance ID 'i-cca241af' does not exist at com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:2359) at com.xerox.amazonws.ec2.Jec2.terminateInstances(Jec2.java:776) at hudson.plugins.ec2.EC2Slave.terminate(EC2Slave.java:95) at hudson.plugins.ec2.EC2Computer.doDoDelete(EC2Computer.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) Eucalyptus never generates this error message. I ran tests with euca2ools and typica to reproduce this error and supplying upper or lower case instance ids never caused this error to come back. Looking at the ec2-plugin code (EC2Cloud.java), there's a method get() which returns an EC2Cloud instance. The code will only retrieve a cloud of the class EC2Cloud which precluded having more than one cloud of that type registered. public static EC2Cloud get() { return Hudson.getInstance().clouds.get(EC2Cloud.class); } If the intention is to allow more than one cloud of a specific type to be used at the same time, this should be addressed.

    Jenkins JIRA | 5 years ago | David Kavanagh
    com.xerox.amazonws.ec2.EC2Exception: Client error : The instance ID 'i-cca241af' does not exist
  2. 0

    When using the ec2-plugin, we configured a connection to EC2 as well as a Eucalyptus cloud. When we tried some operations on the Eucalyptus cloud (specifically looking at logs of an instance or terminating an instance), we get an error; Jan 25, 2012 9:44:17 AM hudson.plugins.ec2.EC2Slave terminate WARNING: Failed to terminate EC2 instance: i-CCA241AF com.xerox.amazonws.ec2.EC2Exception: Client error : The instance ID 'i-cca241af' does not exist at com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:2359) at com.xerox.amazonws.ec2.Jec2.terminateInstances(Jec2.java:776) at hudson.plugins.ec2.EC2Slave.terminate(EC2Slave.java:95) at hudson.plugins.ec2.EC2Computer.doDoDelete(EC2Computer.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) Eucalyptus never generates this error message. I ran tests with euca2ools and typica to reproduce this error and supplying upper or lower case instance ids never caused this error to come back. Looking at the ec2-plugin code (EC2Cloud.java), there's a method get() which returns an EC2Cloud instance. The code will only retrieve a cloud of the class EC2Cloud which precluded having more than one cloud of that type registered. public static EC2Cloud get() { return Hudson.getInstance().clouds.get(EC2Cloud.class); } If the intention is to allow more than one cloud of a specific type to be used at the same time, this should be addressed.

    Jenkins JIRA | 5 years ago | David Kavanagh
    com.xerox.amazonws.ec2.EC2Exception: Client error : The instance ID 'i-cca241af' does not exist
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Continuous "Loading" for a profile with error in the settings

    YouTrack | 7 years ago
    jetbrains.buildServer.clouds.amazon.AmazonCloudException: Unable to perform operation: Failed to fetch images. Client error : The AMI ID 'ami-00cee674' does not exist Amazon cloud error: Client error : The AMI ID 'ami-00cee674' does not exist

    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 instance ID 'i-cca241af' does not exist

      at com.xerox.amazonws.ec2.Jec2.makeRequestInt()
    2. com.xerox.amazonws
      Jec2.terminateInstances
      1. com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:2359)
      2. com.xerox.amazonws.ec2.Jec2.terminateInstances(Jec2.java:776)
      2 frames
    3. hudson.plugins.ec2
      EC2Computer.doDoDelete
      1. hudson.plugins.ec2.EC2Slave.terminate(EC2Slave.java:95)
      2. hudson.plugins.ec2.EC2Computer.doDoDelete(EC2Computer.java:103)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames