Anton, actually it's not a fixed ip leaking problem. I'm running out of fixed IP cause I couldnt create a wide range network.<br><br>So, I restarted the nova-network and now vms are getting the fixed IP with the parameter: * --nic net-id=991cc68c-bf49-42ec-91f5-4c26c410a5aa * <br>
But now the problem is that VMs assigned through this network cant get the correct route table<br><br><pre class="">cloud-init-nonet waiting 120 seconds for a network device.
cloud-init-nonet gave up waiting for a network device.
ci-info: lo : 1 127.0.0.1 255.0.0.0 .
ci-info: eth0 : 1 . . fa:16:3e:27:d5:c4
route_info failed<br><br><br><br>I can't delete the current network cause there is alot of VMs running inside! But maybe can I modify the range of the current network?<br></pre><br><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Dec 12, 2012 at 9:45 AM, Anton Tarasov <span dir="ltr"><<a href="mailto:atarasov@mirantis.com" target="_blank">atarasov@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi Gui Maluf! You have to destroy your network, and recreate it with new range of ip-address , it is will help you.</div><div>Or you can go to the following links:</div><div><br></div><div><a href="https://github.com/openstack/nova/commit/50b9c032fdc520c1461ff4651b60b4fc4b8f8e19" target="_blank">https://github.com/openstack/nova/commit/50b9c032fdc520c1461ff4651b60b4fc4b8f8e19</a></div>
<div><a href="https://github.com/openstack/nova/commit/61ab72d15b3ac61b245e0bdd4a7bee5f3a673f75" target="_blank">https://github.com/openstack/nova/commit/61ab72d15b3ac61b245e0bdd4a7bee5f3a673f75</a><br><br><div> You can find at this links decision too.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote"><div><div class="h5">On Wed, Dec 12, 2012 at 3:25 PM, Gui Maluf <span dir="ltr"><<a href="mailto:guimalufb@gmail.com" target="_blank">guimalufb@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hey guys, I've a set up with 4 servers, 1 running CC+node and 3 running compute+volume. The network is FlatDHCP.<br>And I followed the hastexo guide.<br>The problem is that the network I'd created was only 32 available, and I created a lot os VMs. But I still need more, and after creating a new network I cant get more IPs.<br>
<br>root@cerebro:/var/log/nova# nova-manage network create private --fixed_range_v4=<a href="http://192.168.22.64/27" target="_blank">192.168.22.64/27</a> --num_networks=1 --bridge=br100 --bridge_interface=eth1 --network_size=32<br>
<br>
root@cerebro:/var/log/nova# nova-manage network list<br>
id IPv4 IPv6 start address DNS1 DNS2 VlanID project uuid <br>2012-12-12 09:05:22 DEBUG nova.utils [req-dc28aa03-5b86-4ed6-9daf-2f2ccb51fbbc None None] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from (pid=30864) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658<br>
1 <a href="http://192.168.22.32/27" target="_blank">192.168.22.32/27</a> None 192.168.22.34 8.8.4.4 None None None d6c5a754-3afb-445a-8a01-7512d0036eee<br>
2 <a href="http://192.168.22.64/27" target="_blank">192.168.22.64/27</a> None 192.168.22.66 8.8.4.4 None None None 991cc68c-bf49-42ec-91f5-4c26c410a5aa<br>
<br>I've tried to change the associated project, but nothing happens.<br>And before I create the first network(32/27) I tried to create with different values but the network didnt work. That's why I use this small value for network even knowing that I'll need more fixed IPs.<br>
<br>I dont know what to do. I need more fixed IPs and I can't delete the vms I already have.<br>Any solutions?<br><br>Thanks in advance<br><br><br>nova-compute error:<br> 2012-12-12 08:54:38 TRACE nova.compute.manager [instance: 761b8616-9b61-425a-b1ce-7b94bf3477ac] <br>
2012-12-12 08:54:38 ERROR nova.rpc.amqp [req-315f5588-af60-4645-b9f8-4520e7074ebf b2372e326c0548dfa71ed42e671d0c97 2337dcf9aa9144f9b0605a481bb6dfb5] Exception during message handling<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp Traceback (most recent call last):<br>
2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 253, in _process_data<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp rval = node_func(context=ctxt, **node_args)<br>
2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp return f(*args, **kw)<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 183, in decorated_function<br>
2012-12-12 08:54:38 TRACE nova.rpc.amqp sys.exc_info())<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp self.gen.next()<br>
2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in decorated_function<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp return function(self, context, instance_uuid, *args, **kwargs)<br>
2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 676, in run_instance<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp do_run_instance()<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 945, in inner<br>
2012-12-12 08:54:38 TRACE nova.rpc.amqp retval = f(*args, **kwargs)<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 675, in do_run_instance<br>
2012-12-12 08:54:38 TRACE nova.rpc.amqp self._run_instance(context, instance_uuid, **kwargs)<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 476, in _run_instance<br>
2012-12-12 08:54:38 TRACE nova.rpc.amqp self._set_instance_error_state(context, instance_uuid)<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp self.gen.next()<br>
2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 449, in _run_instance<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp requested_networks)<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 584, in _allocate_network<br>
2012-12-12 08:54:38 TRACE nova.rpc.amqp requested_networks=requested_networks)<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 178, in allocate_for_instance<br>
2012-12-12 08:54:38 TRACE nova.rpc.amqp 'args': args})<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/__init__.py", line 68, in call<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp return _get_impl().call(context, topic, msg, timeout)<br>
2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 674, in call<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp return rpc_amqp.call(context, topic, msg, timeout, Connection.pool)<br>
2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 343, in call<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp rv = list(rv)<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 311, in __iter__<br>
2012-12-12 08:54:38 TRACE nova.rpc.amqp raise result<br>2012-12-12 08:54:38 TRACE nova.rpc.amqp RemoteError: Remote error: NoMoreFixedIps Zero fixed ips available.<span><font color="#888888"><br><br clear="all">
<br>-- <br><font face="Arial, Helvetica, sans-serif"><b>guilherme</b> \n<br>
\<font>t</font> <b>maluf</b><br></font><br>
</font></span><br></div></div>_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">Best regards,</span><div>Tony Tarasov</div>
<br>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><font face="Arial, Helvetica, sans-serif"><b>guilherme</b> \n<br>\<font>t</font> <b>maluf</b><br></font><br>
</div>