Just to add more info here, I tried to boot vms with --nic option, and neither are working<br><br>nova --debug boot --flavor 1 --image 0e05917c-9101-4c4f-9080-9c8c29cbc8ff --key_name root_cerebro --nic net-id=991cc68c-bf49-42ec-91f5-4c26c410a5aa,v4-fixed-ip=192.168.22.66 ubuntuDeploy<br>
<br><br>
DEBUG (shell:416) NetworkHostNotSet: Host is not set to the network (2). (HTTP 400)<br>Traceback (most recent call last):<br> File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 413, in main<br> OpenStackComputeShell().main(sys.argv[1:])<br>
File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 364, in main<br> args.func(self.cs, args)<br> File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 209, in do_boot<br>
server = cs.servers.create(*boot_args, **boot_kwargs)<br> File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 456, in create<br> **boot_kwargs)<br> File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/base.py", line 153, in _boot<br>
return_raw=return_raw, **kwargs)<br> File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 157, in _create<br> resp, body = self.api.client.post(url, body=body)<br> File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 139, in post<br>
return self._cs_request(url, 'POST', **kwargs)<br> File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 124, in _cs_request<br> **kwargs)<br> File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 107, in request<br>
raise exceptions.from_response(resp, body)<br>BadRequest: NetworkHostNotSet: Host is not set to the network (2). (HTTP 400)<br>ERROR: NetworkHostNotSet: Host is not set to the network (2). (HTTP 400)<br><br><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Dec 12, 2012 at 9:25 AM, Gui Maluf <span dir="ltr"><<a href="mailto:guimalufb@gmail.com" target="_blank">guimalufb@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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></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>