cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Finko <denis.fi...@ecommerce.com>
Subject Can't add shared network with public IPs
Date Mon, 21 Oct 2013 19:34:44 GMT
Hello CloudStack community,

Could you please help me investigate following issue. I am tring to add
new network in CloudStack4.1 with vmware via API call.
For doing this I have use:

- DefaultSharedNetworkOffering
- public IP address range
- api call

http://cs-manage41.ourdomain.com:8080/client/api?
command=createNetwork
&gateway=xx.xxx.xxx.1
&netmask=255.255.255.0
&displaytext=CS_Default_network
&name=CS
&networkofferingid=eedfa08e-c2a2-4392-b561-45b1a7dd9968
&zoneid=ddefc1dd-187a-4849-94d6-ac0466b905bd
&cidr=xx.xxx.xxx.0/24
&vlan=3
&apiKey=i1HtdAADSs4P5fMyGmPTPdpmtcHUtXRNnDdCaxepBm9n3URrpdYWehzXO85qI5l3MMcG_9UW8MkWgU6vn39UdA
&sessionkey=4ruxkWEF6PSRaxrrUVoGBq0bH1M%3D&_=1382752053469

Network was successfully added. But when I go to: CloudStack GI -->
Network -- > click on created network --> View IP Addresses --> Acquire
New IP
I get error: The owner of the network is not the same as owner of the IP

2013-10-21 15:26:05,824 ERROR [cloud.async.AsyncJobManagerImpl]
(Job-Executor-4:job-30) Unexpected exception while executing
org.apache.cloudstack.api.command.user.address.AssociateIPAddrCmd
com.cloud.exception.InvalidParameterValueException: The owner of the
network is not the same as owner of the IP
        at
com.cloud.network.NetworkManagerImpl.associateIPToGuestNetwork(NetworkManagerImpl.java:744)
        at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at
com.cloud.network.NetworkServiceImpl.associateIPToNetwork(NetworkServiceImpl.java:2852)
        at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at
org.apache.cloudstack.api.command.user.address.AssociateIPAddrCmd.execute(AssociateIPAddrCmd.java:244)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
        at
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:679)

Thank you!

-- 
Best regards,

Denis Finko
System Administrator, SA
Ecommerce corporation
www.ecommerce.com


Mime
View raw message