You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Imesh Gunaratne (JIRA)" <ji...@apache.org> on 2013/08/23 09:55:51 UTC

[jira] [Updated] (STRATOS-62) jclouds Authentication Error in Cloud Controller

     [ https://issues.apache.org/jira/browse/STRATOS-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Imesh Gunaratne updated STRATOS-62:
-----------------------------------

    Description: 
It looks like with the recent jclouds upgrade in Cloud Controller, the IaaS authentication call fails with the following error:

Scenario:
1. Build Cloud Controller from source.
2. Setup an OpenStack instance.
3. Configure Cloud Controller IaaS settings and cartridges to connect to OpenStack.
4. Start Cloud Controller and tail the log.

Caused by: org.jclouds.http.HttpResponseException: command: POST http://192.168.16.252:5000/tokens HTTP/1.1 failed with response: HTTP/1.1 404 Not Found; content: [{"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}]
	at org.jclouds.openstack.nova.v2_0.handlers.NovaErrorHandler.handleError(NovaErrorHandler.java:81)
	... 70 more
[2013-08-23 12:38:11,574] ERROR {org.apache.zookeeper.server.NIOServerCnxnFactory} -  Thread Thread[pool-6-thread-1,5,main] died
org.apache.stratos.cloud.controller.exception.CloudControllerException: org.jclouds.rest.ResourceNotFoundException: {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
	at org.apache.stratos.cloud.controller.deployers.CartridgeDeployer.handleException(CartridgeDeployer.java:153)
	at org.apache.stratos.cloud.controller.deployers.CartridgeDeployer.access$000(CartridgeDeployer.java:45)
	at org.apache.stratos.cloud.controller.deployers.CartridgeDeployer$JcloudsObjectBuilder.run(CartridgeDeployer.java:181)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
	at java.lang.Thread.run(Thread.java:662)


  was:
It looks like with the recent jclouds upgrade in Cloud Controller, the IaaS authentication call fails with the following error:

Caused by: org.jclouds.http.HttpResponseException: command: POST http://192.168.16.252:5000/tokens HTTP/1.1 failed with response: HTTP/1.1 404 Not Found; content: [{"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}]
	at org.jclouds.openstack.nova.v2_0.handlers.NovaErrorHandler.handleError(NovaErrorHandler.java:81)
	... 70 more
[2013-08-23 12:38:11,574] ERROR {org.apache.zookeeper.server.NIOServerCnxnFactory} -  Thread Thread[pool-6-thread-1,5,main] died
org.apache.stratos.cloud.controller.exception.CloudControllerException: org.jclouds.rest.ResourceNotFoundException: {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
	at org.apache.stratos.cloud.controller.deployers.CartridgeDeployer.handleException(CartridgeDeployer.java:153)
	at org.apache.stratos.cloud.controller.deployers.CartridgeDeployer.access$000(CartridgeDeployer.java:45)
	at org.apache.stratos.cloud.controller.deployers.CartridgeDeployer$JcloudsObjectBuilder.run(CartridgeDeployer.java:181)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
	at java.lang.Thread.run(Thread.java:662)


    
> jclouds Authentication Error in Cloud Controller
> ------------------------------------------------
>
>                 Key: STRATOS-62
>                 URL: https://issues.apache.org/jira/browse/STRATOS-62
>             Project: Stratos
>          Issue Type: Bug
>            Reporter: Imesh Gunaratne
>            Priority: Blocker
>
> It looks like with the recent jclouds upgrade in Cloud Controller, the IaaS authentication call fails with the following error:
> Scenario:
> 1. Build Cloud Controller from source.
> 2. Setup an OpenStack instance.
> 3. Configure Cloud Controller IaaS settings and cartridges to connect to OpenStack.
> 4. Start Cloud Controller and tail the log.
> Caused by: org.jclouds.http.HttpResponseException: command: POST http://192.168.16.252:5000/tokens HTTP/1.1 failed with response: HTTP/1.1 404 Not Found; content: [{"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}]
> 	at org.jclouds.openstack.nova.v2_0.handlers.NovaErrorHandler.handleError(NovaErrorHandler.java:81)
> 	... 70 more
> [2013-08-23 12:38:11,574] ERROR {org.apache.zookeeper.server.NIOServerCnxnFactory} -  Thread Thread[pool-6-thread-1,5,main] died
> org.apache.stratos.cloud.controller.exception.CloudControllerException: org.jclouds.rest.ResourceNotFoundException: {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
> 	at org.apache.stratos.cloud.controller.deployers.CartridgeDeployer.handleException(CartridgeDeployer.java:153)
> 	at org.apache.stratos.cloud.controller.deployers.CartridgeDeployer.access$000(CartridgeDeployer.java:45)
> 	at org.apache.stratos.cloud.controller.deployers.CartridgeDeployer$JcloudsObjectBuilder.run(CartridgeDeployer.java:181)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> 	at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira