Hello all,

We have a situation where jclouds is not using the correct returned
x-storage-url. Any thoughts on what could be causing this?

The code works file against rackspace, but doesn't work for grizzly.




07:25:05,599 DEBUG [jclouds.headers] (EJB default - 2) >> GET
https://swift.testing.com/auth/v1.0 HTTP/1.1
07:25:05,605 DEBUG [jclouds.headers] (EJB default - 2) >> X-Auth-User:
saqib:saqib
07:25:05,605 DEBUG [jclouds.headers] (EJB default - 2) >> X-Auth-Key:
supersecurepasswd
07:25:05,606 DEBUG [jclouds.headers] (EJB default - 2) >> Accept: */*
07:25:05,606 DEBUG [jclouds.headers] (EJB default - 2) >> Host:
swift.testing.com
07:25:05,789 DEBUG [jclouds.headers] (EJB default - 2) << HTTP/1.1 200 OK
07:25:05,789 DEBUG [jclouds.headers] (EJB default - 2) << x-auth-token:
AUTH_tk077381184324932032444323123353f4
07:25:05,790 DEBUG [jclouds.headers] (EJB default - 2) << x-storage-token:
AUTH_tk077381184324932032444323123353f4
07:25:05,790 DEBUG [jclouds.headers] (EJB default - 2) << Date: Thu, 27 Jun
2013 12:25:07 GMT
07:25:05,791 DEBUG [jclouds.headers] (EJB default - 2) << Keep-Alive:
timeout=5, max=100
07:25:05,791 DEBUG [jclouds.headers] (EJB default - 2) << x-storage-url:
https://swift.testing.com/v1/AUTH_4c0ac470-6804-4065-944b-497efaf5d13c
07:25:05,791 DEBUG [jclouds.headers] (EJB default - 2) << Connection:
Keep-Alive
07:25:05,792 DEBUG [jclouds.headers] (EJB default - 2) << Server:
Apache/2.2.22 (Ubuntu)
07:25:05,792 DEBUG [jclouds.headers] (EJB default - 2) << Content-Type:
application/unknown
07:25:05,794 DEBUG [jclouds.headers] (EJB default - 2) << Content-Length:
116
07:25:05,830 DEBUG [jclouds.headers] (EJB default - 2) >> PUT
https://swift.testing.com/auth/testcontainer HTTP/1.1
07:25:05,831 DEBUG [jclouds.headers] (EJB default - 2) >> X-Auth-Token:
AUTH_tk077381184324932032444323123353f4
07:25:05,842 DEBUG [jclouds.headers] (EJB default - 2) << HTTP/1.1 405
Method Not Allowed
07:25:05,849 DEBUG [jclouds.headers] (EJB default - 2) << Vary:
Accept-Encoding
07:25:05,853 DEBUG [jclouds.headers] (EJB default - 2) << Date: Thu, 27 Jun
2013 12:25:07 GMT
07:25:05,853 DEBUG [jclouds.headers] (EJB default - 2) << Keep-Alive:
timeout=5, max=99
07:25:05,853 DEBUG [jclouds.headers] (EJB default - 2) << Connection:
Keep-Alive
07:25:05,854 DEBUG [jclouds.headers] (EJB default - 2) << Server:
Apache/2.2.22 (Ubuntu)
07:25:05,854 DEBUG [jclouds.headers] (EJB default - 2) << Content-Type:
text/html; charset=UTF-8
07:25:05,854 DEBUG [jclouds.headers] (EJB default - 2) << Content-Length:
187
07:25:05,881 ERROR [org.jboss.ejb3.invocation] (EJB default - 2)
JBAS014134: EJB Invocation failed on component CloudStorageServiceBean for
method public abstract void
app.data.services.CloudStorageService.createContainer(java.lang.String,java.lang.String)
throws app.data.services.CloudStorageServiceException:
org.jclouds.http.HttpResponseException: command: PUT
https://swift.testing.com/auth/testcontainer HTTP/1.1 failed with response:
HTTP/1.1 405 Method Not Allowed; content: [<html>
 <head>
  <title>405 Method Not Allowed</title>
 </head>
 <body>
  <h1>405 Method Not Allowed</h1>
  The method PUT is not allowed for this resource. <br /><br />

 </body>
</html>]

Reply via email to