[ 
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 the 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 instance created.
4. Start Cloud Controller and tail the log. 

Please note that this error is raised when deploying the cartridge definitions. 
See the attached trace file for more information.

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)


  was:
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)


    
> 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
>         Attachments: cc-log.txt
>
>
> It looks like with the recent jclouds upgrade in the 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 instance created.
> 4. Start Cloud Controller and tail the log. 
> Please note that this error is raised when deploying the cartridge 
> definitions. See the attached trace file for more information.
> 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)

--
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

Reply via email to