jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hritcu Andrei (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-374) Exception while creating the server in OpenStack Nova API
Date Thu, 05 Dec 2013 11:50:37 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13840035#comment-13840035
] 

Hritcu Andrei commented on JCLOUDS-374:
---------------------------------------

Hello Jira

This code: ContextBuilder contextBuilder =
ContextBuilder.newBuilder(provider).credentials(username,
credential).endpoint(endpoint);

is causing me this:
 Exception in thread "main" java.util.ServiceConfigurationError:
org.jclouds.providers.ProviderMetadata: Provider
org.jclouds.aws.route53.AWSRoute53ProviderMetadata could not be
instantiated: java.lang.reflect.MalformedParameterizedTypeException
    at java.util.ServiceLoader.fail(Unknown Source)
    at java.util.ServiceLoader.access$100(Unknown Source)
    at java.util.ServiceLoader$LazyIterator.next(Unknown Source)
    at java.util.ServiceLoader$1.next(Unknown Source)
.....

Can u give a hint?


> Exception while creating the server in OpenStack Nova API
> ---------------------------------------------------------
>
>                 Key: JCLOUDS-374
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-374
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-compute, jclouds-core, jclouds-examples, jclouds-labs-openstack
>    Affects Versions: 1.5.10
>         Environment: jclouds Version: jclouds-compute-1.5.1,jclouds-core-1.5.1,
> Cloud and API Version: OpenStack Essex
> Operating system:  Windows7
> Java Version: 1.7.0_05
>            Reporter: Nadeem
>            Assignee: Everett Toews
>              Labels: easyfix, features, test
>             Fix For: 1.5.11
>
>
> Code:
> CreateServerOptions options = CreateServerOptions.Builder.adminPass("password");
> ServerCreated serverCreated = serverApi.create(computeData.getServerName(), computeData.getImageId(),
flavourId, options);
> eg: ServerCreated serverCreated = serverApi.create("ServerTest", "f414c2a5-fb5b-49d2-a9e0-7c055703e4d2",
"1",options);
> The code above throws the following error:
> Error Log:
> "com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT
but was STRING at line 1 column 5".
> The server is created, but the error restricts me from proceeding further. Kindly help.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message