Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Newton: Instance cannot be allocated IP address

[root@controller ~]# brctl show bridge name bridge id STP enabled interfaces brqefcdbb1c-63 8000.0050569d7e8a no ens192 tapd939dea5-3e [root@controller ~]# ip netns exec qdhcp-efcdbb1c-63ba-49b0-9d71-10db484e8e0d bash [root@controller ~]# ip addr 1: lo: <loopback,up,lower_up> mtu 65536 qdisc noqueue state UNKNOWN qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ns-d939dea5-3e@if4: <broadcast,multicast,up,lower_up> mtu 1500 qdisc noqueue state UP qlen 1000 link/ether fa:16:3e:31:00:06 brd ff:ff:ff:ff:ff:ff link-netnsid 0 inet 10.63.35.215/21 brd 10.63.39.255 scope global ns-d939dea5-3e valid_lft forever preferred_lft forever inet 169.254.169.254/16 brd 169.254.255.255 scope global ns-d939dea5-3e valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe31:6/64 scope link valid_lft forever preferred_lft forever [root@controller ~]# ps -eaf |grep nobody nobody 2789 1 0 Dec20 ? 00:01:48 dnsmasq --no-hosts --no-resolv --strict-order --except-interface=lo --pid-file=/var/lib/neutron/dhcp/efcdbb1c-63ba-49b0-9d71-10db484e8e0d/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/efcdbb1c-63ba-49b0-9d71-10db484e8e0d/host --addn-hosts=/var/lib/neutron/dhcp/efcdbb1c-63ba-49b0-9d71-10db484e8e0d/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/efcdbb1c-63ba-49b0-9d71-10db484e8e0d/opts --dhcp-leasefile=/var/lib/neutron/dhcp/efcdbb1c-63ba-49b0-9d71-10db484e8e0d/leases --dhcp-match=set:ipxe,175 --bind-interfaces --interface=ns-d939dea5-3e --dhcp-range=set:tag0,10.63.32.0,static,86400s --dhcp-option-force=option:mtu,1500 --dhcp-lease-max=2048 --conf-file= --domain=openstacklocal

[root@controller efcdbb1c-63ba-49b0-9d71-10db484e8e0d]# cat addn_hosts 10.63.35.215 host-10-63-35-215.openstacklocal host-10-63-35-215 10.63.35.216 host-10-63-35-216.openstacklocal host-10-63-35-216 (This IP Instance should get)

[root@controller efcdbb1c-63ba-49b0-9d71-10db484e8e0d]#

[root@compute ~]# brctl show bridge name bridge id STP enabled interfaces brqefcdbb1c-63 8000.0050569d49fd no ens192 tap0de15df9-b6 <interface type="bridge"> <mac address="fa:16:3e:8f:98:65"/> <model type="virtio"/> <driver name="qemu"/> <source bridge="brqefcdbb1c-63"/> <target dev="tap0de15df9-b6"/>

Newton: Instance cannot be allocated IP address

[root@controller ~]# brctl show
bridge name     bridge id               STP enabled     interfaces
brqefcdbb1c-63          8000.0050569d7e8a       no              ens192
                                                        tapd939dea5-3e
[root@controller ~]# ip netns exec qdhcp-efcdbb1c-63ba-49b0-9d71-10db484e8e0d bash
[root@controller ~]# ip addr
1: lo: <loopback,up,lower_up> <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ns-d939dea5-3e@if4: <broadcast,multicast,up,lower_up> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether fa:16:3e:31:00:06 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 10.63.35.215/21 brd 10.63.39.255 scope global ns-d939dea5-3e
       valid_lft forever preferred_lft forever
    inet 169.254.169.254/16 brd 169.254.255.255 scope global ns-d939dea5-3e
       valid_lft forever preferred_lft forever
    inet6 fe80::f816:3eff:fe31:6/64 scope link
       valid_lft forever preferred_lft forever
[root@controller ~]# ps -eaf |grep nobody
nobody    2789     1  0 Dec20 ?        00:01:48 dnsmasq --no-hosts --no-resolv --strict-order --except-interface=lo --pid-file=/var/lib/neutron/dhcp/efcdbb1c-63ba-49b0-9d71-10db484e8e0d/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/efcdbb1c-63ba-49b0-9d71-10db484e8e0d/host --addn-hosts=/var/lib/neutron/dhcp/efcdbb1c-63ba-49b0-9d71-10db484e8e0d/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/efcdbb1c-63ba-49b0-9d71-10db484e8e0d/opts --dhcp-leasefile=/var/lib/neutron/dhcp/efcdbb1c-63ba-49b0-9d71-10db484e8e0d/leases --dhcp-match=set:ipxe,175 --bind-interfaces --interface=ns-d939dea5-3e --dhcp-range=set:tag0,10.63.32.0,static,86400s --dhcp-option-force=option:mtu,1500 --dhcp-lease-max=2048 --conf-file= --domain=openstacklocal

--domain=openstacklocal

[root@controller efcdbb1c-63ba-49b0-9d71-10db484e8e0d]# cat addn_hosts 10.63.35.215 host-10-63-35-215.openstacklocal host-10-63-35-215 10.63.35.216 host-10-63-35-216.openstacklocal host-10-63-35-216 (This IP Instance should get)

get) [root@controller efcdbb1c-63ba-49b0-9d71-10db484e8e0d]#

efcdbb1c-63ba-49b0-9d71-10db484e8e0d]# --------------------------------------------------------------------------------- [root@compute ~]# brctl show bridge name bridge id STP enabled interfaces brqefcdbb1c-63 8000.0050569d49fd no ens192 tap0de15df9-b6 <interface type="bridge"> <mac address="fa:16:3e:8f:98:65"/> <model type="virtio"/> <driver name="qemu"/> <source bridge="brqefcdbb1c-63"/> <target dev="tap0de15df9-b6"/>

dev="tap0de15df9-b6"/>