<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">If anyone is interested, the problem
was this bug:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="https://lists.launchpad.net/openstack/msg14988.html">https://lists.launchpad.net/openstack/msg14988.html</a><br>
<br>
Javier<br>
<br>
On 19/04/13 12:41, Javier Alvarez wrote:<br>
</div>
<blockquote cite="mid:51711F60.7020803@bsc.es" type="cite">Looking
at /var/log/syslog I have found some more info:
<br>
<br>
Apr 19 12:36:26 dnsmasq-dhcp[2204]: read
/var/lib/nova/networks/nova-br100.conf
<br>
Apr 19 12:36:34 kernel: [176191.796184] device vnet0 entered
promiscuous mode
<br>
Apr 19 12:36:34 kernel: [176191.874774] br100: port 2(vnet0)
entering forwarding state
<br>
Apr 19 12:36:34 kernel: [176191.874796] br100: port 2(vnet0)
entering forwarding state
<br>
Apr 19 12:36:36 kernel: [176194.057668] kvm: 11182: cpu0
unhandled rdmsr: 0xc0010001
<br>
Apr 19 12:36:37 ntpd[3497]: Listen normally on 36 vnet0
fe80::fc16:3eff:fe24:1cab UDP 123
<br>
Apr 19 12:36:37 ntpd[3497]: peers refreshed
<br>
Apr 19 12:36:38 dnsmasq-dhcp[2204]: DHCPDISCOVER(br100)
fa:16:3e:24:1c:ab no address available
<br>
Apr 19 12:36:41 dnsmasq-dhcp[2204]: DHCPDISCOVER(br100)
fa:16:3e:24:1c:ab no address available
<br>
Apr 19 12:36:44 dnsmasq-dhcp[2204]: DHCPDISCOVER(br100)
fa:16:3e:24:1c:ab no address available
<br>
<br>
The thing is that /var/lib/nova/networks/nova-br100.conf is empty.
Can that be the cause dnsmasq-dhcp doesn't have available
addresses?
<br>
<br>
Thanks,
<br>
<br>
Javier
<br>
<br>
On 18/04/13 17:38, Javier Alvarez wrote:
<br>
<blockquote type="cite">Hello all,
<br>
<br>
Here it is my situation:
<br>
<br>
I am trying to install Essex on a small cluster (3 nodes)
running Debian. There is a front-end node that has a public IP
and then there are 2 compute nodes in a LAN. I cannot run
nova-network on the front-end node because it is overwritting
the iptables there and some other services start to misbehave,
so I am trying a multi-host solution with nova-network running
in each compute node.
<br>
<br>
The nova.conf I'm using in both compute nodes is the following:
<br>
<br>
[DEFAULT]
<br>
logdir=/var/log/nova
<br>
state_path=/var/lib/nova
<br>
lock_path=/var/lock/nova
<br>
root_helper=sudo nova-rootwrap
<br>
auth_strategy=keystone
<br>
iscsi_helper=tgtadm
<br>
<a class="moz-txt-link-abbreviated" href="mailto:sql_connection=mysql://nova-common:password@172.16.8.1/nova">sql_connection=mysql://nova-common:password@172.16.8.1/nova</a>
<br>
connection_type=libvirt
<br>
libvirt_type=kvm
<br>
my_ip=172.16.8.22
<br>
rabbit_host=172.16.8.1
<br>
glance_host=172.16.8.1
<br>
image_service=nova.image.glance.GlanceImageService
<br>
network_manager=nova.network.manager.FlatDHCPManager
<br>
fixed_range=192.168.100.0/24
<br>
flat_interface=eth1
<br>
public_interface=eth0
<br>
flat_network_bridge=br100
<br>
flat_network_dhcp_start=192.168.100.2
<br>
network_size=256
<br>
dhcpbridge_flagfile=/etc/nova/nova.conf
<br>
dhcpbridge=/usr/bin/nova-dhcpbridge
<br>
multi_host=True
<br>
send_arp_for_ha=true
<br>
<br>
I have created a network with:
<br>
<br>
nova-manage network create private
--fixed_range_v4=192.168.100.0/24 --multi_host=T
--bridge_interface=br100
<br>
<br>
And I have set up eth1 with no IP and running in promisc mode.
When I launch an instance, ifconfig outputs the following:
<br>
<br>
<br>
br100 Link encap:Ethernet HWaddr 68:b5:99:c2:7b:a7
<br>
inet addr:192.168.100.3 Bcast:192.168.100.255
Mask:255.255.255.0
<br>
inet6 addr: fe80::7033:eeff:fe29:81ae/64 Scope:Link
<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
<br>
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
<br>
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
<br>
collisions:0 txqueuelen:0
<br>
RX bytes:0 (0.0 B) TX bytes:90 (90.0 B)
<br>
<br>
eth0 Link encap:Ethernet HWaddr 68:b5:99:c2:7b:a6
<br>
inet addr:172.16.8.22 Bcast:172.16.8.255
Mask:255.255.255.0
<br>
inet6 addr: fe80::6ab5:99ff:fec2:7ba6/64 Scope:Link
<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
<br>
RX packets:4432580 errors:0 dropped:0 overruns:0
frame:0
<br>
TX packets:4484811 errors:0 dropped:0 overruns:0
carrier:0
<br>
collisions:0 txqueuelen:1000
<br>
RX bytes:457880509 (436.6 MiB) TX bytes:398588034
(380.1 MiB)
<br>
Memory:fe860000-fe880000
<br>
<br>
eth1 Link encap:Ethernet HWaddr 68:b5:99:c2:7b:a7
<br>
UP BROADCAST PROMISC MULTICAST MTU:1500 Metric:1
<br>
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
<br>
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
<br>
collisions:0 txqueuelen:1000
<br>
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
<br>
Memory:fe8e0000-fe900000
<br>
<br>
lo Link encap:Local Loopback
<br>
inet addr:127.0.0.1 Mask:255.0.0.0
<br>
inet6 addr: ::1/128 Scope:Host
<br>
UP LOOPBACK RUNNING MTU:16436 Metric:1
<br>
RX packets:52577 errors:0 dropped:0 overruns:0 frame:0
<br>
TX packets:52577 errors:0 dropped:0 overruns:0
carrier:0
<br>
collisions:0 txqueuelen:0
<br>
RX bytes:2737820 (2.6 MiB) TX bytes:2737820 (2.6 MiB)
<br>
<br>
vnet0 Link encap:Ethernet HWaddr fe:16:3e:2d:40:3b
<br>
inet6 addr: fe80::fc16:3eff:fe2d:403b/64 Scope:Link
<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
<br>
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
<br>
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
<br>
collisions:0 txqueuelen:500
<br>
RX bytes:0 (0.0 B) TX bytes:370 (370.0 B)
<br>
<br>
And brctl show:
<br>
<br>
bridge name bridge id STP enabled
interfaces
<br>
br100 8000.68b599c27ba7 no eth1
<br>
vnet0
<br>
<br>
Which looks fine to me. However, the VM log shows that it is
unable to get an IP through DHCP (despite dnsmasq is running):
<br>
<br>
Starting network...
<br>
udhcpc (v1.18.5) started
<br>
Sending discover...
<br>
Sending discover...
<br>
Sending discover...
<br>
No lease, failing
<br>
WARN: /etc/rc3.d/S40-network failed
<br>
<br>
What am I doing wrong? Any help would be very much appreciated.
<br>
<br>
Thanks in advance,
<br>
<br>
Javier
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Javier Álvarez Cid-Fuentes
Grid Computing and Clusters Group
Barcelona Supercomputing Center (BSC-CNS)
Tel. (+34) 93 413 72 46</pre>
<br>
<br>
WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.
<br><br>
<a href="http://www.bsc.es/disclaimer.htm">http://www.bsc.es/disclaimer</a>
<br>
</body>
</html>