lasconic / typica

Automatically exported from code.google.com/p/typica
Apache License 2.0
0 stars 0 forks source link

Unable to stop instances on Eucalyptus #97

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create connection to eucalyptus cloud
2. Call euca.stopInstances(['i-354205B7'],false)

What is the expected output? What do you see instead?

I see -- 

[Fatal Error] :1:1: Content is not allowed in prolog.
Jul 16, 2010 11:35:56 AM com.xerox.amazonws.common.AWSQueryConnection 
createException
SEVERE: Couldn't parse error response!
org.xml.sax.SAXParseException: Content is not allowed in prolog.

What version of the product are you using? On what operating system?

Typica 1.7.1, OSX client from groovy unit test, Eucalyptus 1.6 on CentOS

Please provide any additional information below.

Stack trace continues:

[Fatal Error] :1:1: Content is not allowed in prolog.
Jul 16, 2010 11:35:56 AM com.xerox.amazonws.common.AWSQueryConnection 
createException
SEVERE: Couldn't parse error response!
org.xml.sax.SAXParseException: Content is not allowed in prolog.
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
    at com.xerox.amazonws.common.JAXBuddy.deserializeXMLStream(JAXBuddy.java:117)
    at com.xerox.amazonws.common.AWSQueryConnection.createException(AWSQueryConnection.java:708)
    at com.xerox.amazonws.common.AWSQueryConnection.makeRequest(AWSQueryConnection.java:503)
    at com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:2291)
    at com.xerox.amazonws.ec2.Jec2.stopInstances(Jec2.java:729)

and then

INFO: response = Failure: 500 Internal Server Error

com.xerox.amazonws.ec2.EC2Exception: Number of retries exceeded : StopInstances
    at com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:2303)
    at com.xerox.amazonws.ec2.Jec2.stopInstances(Jec2.java:729)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
    at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:129)
    at com.mtvi.cloud.test.GroovyCloudTest.testStopCloudInstance(GroovyCloudTest.groovy:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:64)
Caused by: org.apache.http.HttpException: Number of retries exceeded : 
StopInstances
    at com.xerox.amazonws.common.AWSQueryConnection.makeRequest(AWSQueryConnection.java:508)
    at com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:2291)
    ... 28 more
Caused by: com.xerox.amazonws.common.AWSException: Couldn't parse error 
response!
    at com.xerox.amazonws.common.AWSQueryConnection.createException(AWSQueryConnection.java:729)
    at com.xerox.amazonws.common.AWSQueryConnection.makeRequest(AWSQueryConnection.java:503)
    ... 29 more

Original issue reported on code.google.com by rick.ma...@gmail.com on 16 Jul 2010 at 4:56

GoogleCodeExporter commented 8 years ago
I was looking at this earlier in the week. I think it has a lot to do with what 
eucalyptus returns. I'll see what I can do and what the Eucalyptus guys can do 
about what they return.

Original comment by dkavan...@gmail.com on 16 Jul 2010 at 5:56