Ask Your Question
2

Unable to complete operation for network. The IP address is in use

asked 2015-07-28 09:09:38 -0500

prithvee zankat gravatar image

updated 2015-07-28 10:46:01 -0500

foexle gravatar image

I am unable to create instance. Following is a stack trace -

org.cloudifysource.esc.driver.provisioning.openstack.OpenstackServerException: Error requesting Openstack (code=409): {"NeutronError": {"message": "Unable to complete operation for network 2eea1112-ad37-47e3-8a32-2f4bf95500f7. The IP address **xx.10.70.xx** is in use.", "type": "IpAddressInUse", "detail": ""}}
    at org.cloudifysource.esc.driver.provisioning.openstack.OpenStackBaseClient.createOpenstackServerException(OpenStackBaseClient.java:258)
    at org.cloudifysource.esc.driver.provisioning.openstack.OpenStackBaseClient.doPost(OpenStackBaseClient.java:385)
    at org.cloudifysource.esc.driver.provisioning.openstack.OpenStackNetworkClient.createPort(OpenStackNetworkClient.java:597)
    at vrts.vom.cloudops.openstack.OpenstackCloudManager.createNetworkPort(OpenstackCloudManager.java:2008)
    at vrts.vom.cloud.ops.xop.util.CloudHandler.executeCreateInstance(CloudHandler.java:302)
    at vrts.vom.cloud.ops.xop.util.CloudUpdateThread.executeCreateInstance(CloudUpdateThread.java:419)
    at vrts.vom.cloud.ops.xop.util.CloudUpdateThread.run(CloudUpdateThread.java:126)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: com.sun.jersey.api.client.UniformInterfaceException: POST https://xa.60.10.xb:9696/v2.0/ports returned a response status of 409 Conflict
    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:688)
    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)
    at org.cloudifysource.esc.driver.provisioning.openstack.OpenStackBaseClient.doPost(OpenStackBaseClient.java:373)

It says that IP address xx.10.70.xx is in use, but is not actually.

Listed all IPs using neutron port-list and could not find xx.10.70.xx in output.

What could be the reason?

Thanks, Prithvee.

edit retag flag offensive close merge delete

Comments

could you add the log output of Neutron-server ?

foexle gravatar imagefoexle ( 2015-07-28 10:47:42 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-07-28 17:15:49 -0500

echiu gravatar image

You are using Cloudify for orchestration instead of native Openstack tools. It is likely that Cloudify maintains its own database to track IP addresses, you might want to check their documentation to get details.

Try running nmap -sP xx.10.70.xx to confirm if the IP is in use.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-07-28 09:09:38 -0500

Seen: 684 times

Last updated: Jul 28 '15