Problem during create instance with JCloud: No enum constant org.jclouds.openstack.neutron.v2_0.domain.NetworkType.VXLAN

asked 2014-08-10 11:13:46 -0600

anhdenday gravatar image

updated 2015-08-03 18:20:16 -0600

smaffulli gravatar image

I've installed openstack in my server, after that I used JCloud (cloudwatt) from my computer (client) to connect to my OpenStack via API to create an instance....etc. I have been following cloudwatt site sample.

Everything seem ok until I try creating network, because I've checked in my openstack dashboard and see that it's already created keypair, security group, and network name but without Subnets. I get the error below and of course the instance cannot be created.

22:57:34.808 [main] DEBUG jclouds.wire - << "{"network": {"status": "ACTIVE", "subnets": [], "name": "jcnetwork", "provider:physical_network": null, "admin_state_up": true, "tenant_id": "88aa7a7d4f8c4c3c8df8a985da345858", "provider:network_type": "vxlan", "shared": false, "id": "50d8aad3-11cd-48fb-8a45-af7da3d7f1d4", "provider:segmentation_id": 1003}}"
Exception in thread "main" java.lang.IllegalArgumentException: No enum constant org.jclouds.openstack.neutron.v2_0.domain.NetworkType.VXLAN
    at java.lang.Enum.valueOf(
    at org.jclouds.openstack.neutron.v2_0.domain.NetworkType.valueOf(
    at org.jclouds.openstack.neutron.v2_0.domain.NetworkType.fromValue(
    at org.jclouds.openstack.neutron.v2_0.domain.Network.<init>(
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
    at java.lang.reflect.Constructor.newInstance(
    at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$DeserializeIntoParameterizedConstructor.newInstance(
    at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$
    at org.jclouds.http.functions.ParseFirstJsonValueNamed.apply(
    at org.jclouds.http.functions.ParseFirstJsonValueNamed.apply(
    at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(
    at $Proxy78.create(Unknown Source)

Please help me, thanks you so much

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-08-11 11:01:31 -0600

Fdot gravatar image


Just send you an answer on the Cloudwatt dev website. But let's continue here ;)

Are you testing on the Cloudwatt service or on your own OpenStack installation ?



edit flag offensive delete link more


What do you mean about Cloudwatt service? The information below is what do you want to say?

    * String user = ""; String password =
     * "Masvandayar@003"; String tenant =
     * "e2614ec6-8a63-11e3-b8f7-525400872571"; String url =
     * "";

No As i already said before, I install my own OpenStack and I've changed user, passward and authUrl keystone :)

Thanks you so much

anhdenday gravatar imageanhdenday ( 2014-08-11 11:29:42 -0600 )edit

Thanks you for reply on cloudwatt

Maybe your OpenStack environment is different than mine. I have to discovery more and change the code for adapt my environment :(

anhdenday gravatar imageanhdenday ( 2014-08-11 11:52:54 -0600 )edit

Instead of conversating using comments, which are hard to read, try to edit the question and the answer as you go so that this Question becomes more useful for future readers.

smaffulli gravatar imagesmaffulli ( 2014-08-11 15:00:17 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-08-10 11:13:46 -0600

Seen: 417 times

Last updated: Aug 11 '14