openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #18929
Instances not getting their IPs from dnsmasq
*Dear Stackers,*
*Sorry if that question has already been discussed multiple times but I am
currently stuck trying to understand why none my instances are getting an
IP from dnsmasq. *
*
*
*I am running Folsom on Ubuntu 12.10 in VLANManager mode and multi-host
configuration (one nova-network per compute node).*
*
*
*Everything seem to be configured and operating properly excepted last
mille IP @ assignment from dnsmasq.*
*
*
*Running disk image is
cirros-0.3.0-x86_64-disk.img<https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img>
*
*Any help would be greatly appreciated.*
*Many thanks*
*Patrick*
# nova list
+--------------------------------------+---------+--------+-------------------+
| ID | Name | Status | Networks
|
+--------------------------------------+---------+--------+-------------------+
| 8637dcf4-eddf-46ce-8cd3-6d7791f38aeb | server2 | ACTIVE |
auto_0=172.16.0.3 |
| 93a1e2c6-e85a-4da3-ab8f-f7d64c33c1ca | server3 | ACTIVE |
auto_0=172.16.0.7 |
| 1809a2b8-7c68-4001-a6ce-72bb35560a35 | testvm2 | ACTIVE |
auto_0=172.16.0.5 |
+--------------------------------------+---------+--------+-------------------+
*I created 12 networks automatically assigned to projects / vlans*
*# sudo nova-manage network list*
*id IPv4 IPv6 start address DNS1 DNS2
VlanID project uuid *
*2012-11-26 18:16:24 DEBUG nova.utils
[req-766ca5e6-b5f0-44ba-9983-b7ab95a0da96 None None] backend <module
'nova.db.sqlalchemy.api' from
'/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from
(pid=28992) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:494
*
*1 172.16.0.0/24 None 172.16.0.3 None None
100 c1365ba78c624df9b2ff446515a682f5
47e0f0ee-99d8-46c0-934a-03c1039f33e1*
*2 172.16.1.0/24 None 172.16.1.3 None None
101 None
89de6e1e-07c4-4bae-8c0a-04c1f4795f75*
*3 172.16.2.0/24 None 172.16.2.3 None None
102 None
649f41e1-f051-4a46-9641-0a0cbf5daf6d*
*4 172.16.3.0/24 None 172.16.3.3 None None
103 None
51eb5547-465a-4719-a9a9-36225a9c0b88*
*5 172.16.4.0/24 None 172.16.4.3 None None
104 None
c31d7db4-cb97-4718-b461-748bb752ae70*
*6 172.16.5.0/24 None 172.16.5.3 None None
105 None
178f9138-365b-4f80-bf7d-a410b72ff363*
*7 172.16.6.0/24 None 172.16.6.3 None None
106 None
577333ba-e07f-4669-83fa-da9fe6339f64*
*8 172.16.7.0/24 None 172.16.7.3 None None
107 None
b9b3e8dd-65e0-48f5-9ccb-374c239eab3c*
*9 172.16.8.0/24 None 172.16.8.3 None None
108 None
cccfdc5b-33d1-42e8-86bc-81c2bcb76e70*
*10 172.16.9.0/24 None 172.16.9.3 None None
109 None 55b05e18-9587-455c-81b3-9b0e559d474d*
*11 172.16.10.0/24 None 172.16.10.3 None None
110 None
6e1ec6d8-47f9-4af3-9294-39050a9842ca*
*12 172.16.11.0/24 None 172.16.11.3 None None
111 None
19b86465-ee8f-4ab1-b129-f96be7212da0*
*NIC configuration on host*
*
*
*# ifconfig -a*
*
*
*br100 Link encap:Ethernet HWaddr fa:16:3e:42:30:13 *
* inet addr:172.16.0.6 Bcast:172.16.0.255 Mask:255.255.255.0*
* inet6 addr: fe80::70d7:a4ff:fe5b:adfe/64 Scope:Link*
* UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1*
* RX packets:6 errors:0 dropped:0 overruns:0 frame:0*
* TX packets:18 errors:0 dropped:0 overruns:0 carrier:0*
* collisions:0 txqueuelen:0 *
* RX bytes:1140 (1.1 KB) TX bytes:1908 (1.9 KB)*
*
*
*lo Link encap:Local Loopback *
* inet addr:127.0.0.1 Mask:255.0.0.0*
* inet6 addr: ::1/128 Scope:Host*
* UP LOOPBACK RUNNING MTU:16436 Metric:1*
* RX packets:351167 errors:0 dropped:0 overruns:0 frame:0*
* TX packets:351167 errors:0 dropped:0 overruns:0 carrier:0*
* collisions:0 txqueuelen:0 *
* RX bytes:148123078 (148.1 MB) TX bytes:148123078 (148.1 MB)*
*
*
*p5p1 Link encap:Ethernet HWaddr 00:25:90:69:3e:10 *
* inet addr:10.197.217.19 Bcast:10.197.217.255 Mask:255.255.255.0
*
* inet6 addr: fe80::225:90ff:fe69:3e10/64 Scope:Link*
* UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1*
* RX packets:148917 errors:0 dropped:0 overruns:0 frame:0*
* TX packets:129631 errors:0 dropped:0 overruns:0 carrier:0*
* collisions:0 txqueuelen:1000 *
* RX bytes:41676849 (41.6 MB) TX bytes:66020219 (66.0 MB)*
* Memory:fbae0000-fbb00000 *
*
*
*p5p2 Link encap:Ethernet HWaddr 00:25:90:69:3e:11 *
* inet6 addr: fe80::225:90ff:fe69:3e11/64 Scope:Link*
* UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1*
* RX packets:7561 errors:0 dropped:2114 overruns:0 frame:0*
* TX packets:29 errors:0 dropped:0 overruns:0 carrier:0*
* collisions:0 txqueuelen:1000 *
* RX bytes:2568590 (2.5 MB) TX bytes:2790 (2.7 KB)*
* Memory:fba20000-fba40000 *
*
*
*vlan100 Link encap:Ethernet HWaddr fa:16:3e:42:30:13 *
* inet6 addr: fe80::f816:3eff:fe42:3013/64 Scope:Link*
* UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1*
* RX packets:0 errors:0 dropped:0 overruns:0 frame:0*
* TX packets:23 errors:0 dropped:0 overruns:0 carrier:0*
* collisions:0 txqueuelen:0 *
* RX bytes:0 (0.0 B) TX bytes:2322 (2.3 KB)*
*
*
*vnet0 Link encap:Ethernet HWaddr fe:16:3e:23:d6:91 *
* inet6 addr: fe80::fc16:3eff:fe23:d691/64 Scope:Link*
* UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1*
* RX packets:6 errors:0 dropped:0 overruns:0 frame:0*
* TX packets:27 errors:0 dropped:0 overruns:0 carrier:0*
* collisions:0 txqueuelen:500 *
* RX bytes:1224 (1.2 KB) TX bytes:3362 (3.3 KB)*
*dnsmask is apparently offering a lease (syslog)*
*Nov 26 17:58:08 r423-e2-1 dnsmasq-dhcp[17360]: DHCPDISCOVER(br100)
fa:16:3e:23:d6:91*
*Nov 26 17:58:08 r423-e2-1 dnsmasq-dhcp[17360]: DHCPOFFER(br100) 172.16.0.3
fa:16:3e:23:d6:91*
*But the instance gets no lease*
#sudo /etc/init.d/S40network start
udhcpc (v1.18.5) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
# sudo tcpdump -v -i br100
t*cpdump: listening on br100, link-type EN10MB (Ethernet), capture size
65535 bytes*
*
*
*17:58:02.018094 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto
UDP (17), length 308)*
* 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from
fa:16:3e:23:d6:91 (oui Unknown), length 280, xid 0x38892e75, Flags [none]*
* Client-Ethernet-Address fa:16:3e:23:d6:91 (oui Unknown)*
* Vendor-rfc1048 Extensions*
* Magic Cookie 0x63825363*
* DHCP-Message Option 53, length 1: Discover*
* Client-ID Option 61, length 7: ether fa:16:3e:23:d6:91*
* MSZ Option 57, length 2: 576*
* Parameter-Request Option 55, length 7: *
* Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname*
* Domain-Name, BR, NTP*
* Vendor-Class Option 60, length 12: "udhcp 1.18.5"*
*17:58:02.018353 IP (tos 0xc0, ttl 64, id 65184, offset 0, flags [none],
proto UDP (17), length 340)*
* 172.16.0.6.bootps > 172.16.0.3.bootpc: BOOTP/DHCP, Reply, length 312,
xid 0x38892e75, Flags [none]*
* Your-IP 172.16.0.3*
* Server-IP 172.16.0.6*
* Client-Ethernet-Address fa:16:3e:23:d6:91 (oui Unknown)*
* Vendor-rfc1048 Extensions*
* Magic Cookie 0x63825363*
* DHCP-Message Option 53, length 1: Offer*
* Server-ID Option 54, length 4: 172.16.0.6*
* Lease-Time Option 51, length 4: 120*
* RN Option 58, length 4: 60*
* RB Option 59, length 4: 105*
* Subnet-Mask Option 1, length 4: 255.255.255.0*
* BR Option 28, length 4: 172.16.0.255*
* Default-Gateway Option 3, length 4: 172.16.0.6*
* Domain-Name-Server Option 6, length 4: 172.16.0.6*
* Domain-Name Option 15, length 9: "novalocal"*
* Hostname Option 12, length 7: "server2"*
*17:58:02.021769 IP6 (hlim 1, next-header Options (0) payload length: 36)
:: > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast
listener report v2, 1 group record(s) [gaddr ff02::1:ff23:d691 to_ex, 0
source(s)]*
*17:58:02.281772 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24)
:: > ff02::1:ff23:d691: [icmp6 sum ok] ICMP6, neighbor solicitation, length
24, who has fe80::f816:3eff:fe23:d691*
*17:58:05.022609 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto
UDP (17), length 308)*
* 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from
fa:16:3e:23:d6:91 (oui Unknown), length 280, xid 0x38892e75, Flags [none]*
* Client-Ethernet-Address fa:16:3e:23:d6:91 (oui Unknown)*
* Vendor-rfc1048 Extensions*
* Magic Cookie 0x63825363*
* DHCP-Message Option 53, length 1: Discover*
* Client-ID Option 61, length 7: ether fa:16:3e:23:d6:91*
* MSZ Option 57, length 2: 576*
* Parameter-Request Option 55, length 7: *
* Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname*
* Domain-Name, BR, NTP*
* Vendor-Class Option 60, length 12: "udhcp 1.18.5"*
*17:58:05.022880 IP (tos 0xc0, ttl 64, id 65185, offset 0, flags [none],
proto UDP (17), length 340)*
* 172.16.0.6.bootps > 172.16.0.3.bootpc: BOOTP/DHCP, Reply, length 312,
xid 0x38892e75, Flags [none]*
* Your-IP 172.16.0.3*
* Server-IP 172.16.0.6*
* Client-Ethernet-Address fa:16:3e:23:d6:91 (oui Unknown)*
* Vendor-rfc1048 Extensions*
* Magic Cookie 0x63825363*
* DHCP-Message Option 53, length 1: Offer*
* Server-ID Option 54, length 4: 172.16.0.6*
* Lease-Time Option 51, length 4: 120*
* RN Option 58, length 4: 60*
* RB Option 59, length 4: 105*
* Subnet-Mask Option 1, length 4: 255.255.255.0*
* BR Option 28, length 4: 172.16.0.255*
* Default-Gateway Option 3, length 4: 172.16.0.6*
* Domain-Name-Server Option 6, length 4: 172.16.0.6*
* Domain-Name Option 15, length 9: "novalocal"*
* Hostname Option 12, length 7: "server2"*
*17:58:07.701774 IP6 (hlim 1, next-header Options (0) payload length: 36)
:: > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast
listener report v2, 1 group record(s) [gaddr ff02::1:ff23:d691 to_ex, 0
source(s)]*
*17:58:08.026867 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto
UDP (17), length 308)*
* 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from
fa:16:3e:23:d6:91 (oui Unknown), length 280, xid 0x38892e75, Flags [none]*
* Client-Ethernet-Address fa:16:3e:23:d6:91 (oui Unknown)*
* Vendor-rfc1048 Extensions*
* Magic Cookie 0x63825363*
* DHCP-Message Option 53, length 1: Discover*
* Client-ID Option 61, length 7: ether fa:16:3e:23:d6:91*
* MSZ Option 57, length 2: 576*
* Parameter-Request Option 55, length 7: *
* Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname*
* Domain-Name, BR, NTP*
* Vendor-Class Option 60, length 12: "udhcp 1.18.5"*
*17:58:08.027090 IP (tos 0xc0, ttl 64, id 65186, offset 0, flags [none],
proto UDP (17), length 340)*
* 172.16.0.6.bootps > 172.16.0.3.bootpc: BOOTP/DHCP, Reply, length 312,
xid 0x38892e75, Flags [none]*
* Your-IP 172.16.0.3*
* Server-IP 172.16.0.6*
* Client-Ethernet-Address fa:16:3e:23:d6:91 (oui Unknown)*
* Vendor-rfc1048 Extensions*
* Magic Cookie 0x63825363*
* DHCP-Message Option 53, length 1: Offer*
* Server-ID Option 54, length 4: 172.16.0.6*
* Lease-Time Option 51, length 4: 120*
* RN Option 58, length 4: 60*
* RB Option 59, length 4: 105*
* Subnet-Mask Option 1, length 4: 255.255.255.0*
* BR Option 28, length 4: 172.16.0.255*
* Default-Gateway Option 3, length 4: 172.16.0.6*
* Domain-Name-Server Option 6, length 4: 172.16.0.6*
* Domain-Name Option 15, length 9: "novalocal"*
* Hostname Option 12, length 7: "server2"*
*17:58:13.033176 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has
172.16.0.3 tell 172.16.0.6, length 28*
*17:58:14.033167 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has
172.16.0.3 tell 172.16.0.6, length 28*
*17:58:15.033145 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has
172.16.0.3 tell 172.16.0.6, length 28*