Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
1.5.10
-
None
-
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
Description
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.