← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1343193] Re: the error "Malformed request body" for Jclouds

 

** Project changed: juju-core => nova

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1343193

Title:
  the error "Malformed request body" for Jclouds

Status in OpenStack Compute (Nova):
  New

Bug description:
  when i use the ServerApi to resize a Server, i got a error like this:
  org.jclouds.http.HttpResponseException: command: POST http://controller:8774/v2/3489ffad1a63422daa15974861ce7580/servers/3e01420b-db11-4e77-b38e-7a72f159e9a4/action HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: [{"badRequest": {"message": "Malformed request body", "code": 400}}]
  	at org.jclouds.openstack.nova.v2_0.handlers.NovaErrorHandler.handleError(NovaErrorHandler.java:81)
  	at org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:67)
  	at org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:180)
  	at org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:150)
  	at org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.invoke(InvokeSyncToAsyncHttpMethod.java:129)
  	at org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:95)
  	at org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:56)
  	at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117)
  	at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:79)
  	at com.sun.proxy.$Proxy72.resize(Unknown Source)
  	at com.csvcn.cmaapi.nova.dao.InstanceDao.resizeServer(InstanceDao.java:105)
  	at com.csvcn.cmaapi.nova.service.InstanceService.resizeInstance(InstanceService.java:159)
  	at com.csvcn.cmaapi.nova.service.InstanceService.main(InstanceService.java:177)

  the version of openstack-nova is 1.7.5.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1343193/+subscriptions