From notifications-return-2644-apmail-jclouds-notifications-archive=jclouds.apache.org@jclouds.apache.org Fri Dec 6 14:53:40 2013 Return-Path: X-Original-To: apmail-jclouds-notifications-archive@www.apache.org Delivered-To: apmail-jclouds-notifications-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7AA18101D5 for ; Fri, 6 Dec 2013 14:53:40 +0000 (UTC) Received: (qmail 52859 invoked by uid 500); 6 Dec 2013 14:53:37 -0000 Delivered-To: apmail-jclouds-notifications-archive@jclouds.apache.org Received: (qmail 52803 invoked by uid 500); 6 Dec 2013 14:53:36 -0000 Mailing-List: contact notifications-help@jclouds.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jclouds.apache.org Delivered-To: mailing list notifications@jclouds.apache.org Received: (qmail 52781 invoked by uid 99); 6 Dec 2013 14:53:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Dec 2013 14:53:36 +0000 Date: Fri, 6 Dec 2013 14:53:36 +0000 (UTC) From: "Everett Toews (JIRA)" To: notifications@jclouds.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (JCLOUDS-374) Exception while creating the server in OpenStack Nova API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCLOUDS-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13841323#comment-13841323 ] Everett Toews commented on JCLOUDS-374: --------------------------------------- Hi [~nadeem.akbarbas]. That's an odd stack trace for your configuration. Your config is using openstack-nova but your stack trace indicates that your trying to access AWS Cloud Watch. It's hard to tell what the problem is without seeing a more complete code example. > 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)