Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks,

I solve problem

in /etc/neutron/dhcp_agent.ini

enable_isolated_metadata = True

[root@neutron ~]# ip netns exec qdhcp-f9afafa6-71dc-4698-88b0-686a04ef3abd ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    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
16: tapd185670c-43: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN 
    link/ether fa:16:3e:9c:fa:92 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.2/24 brd 192.168.1.255 scope global tapd185670c-43
       valid_lft forever preferred_lft forever
    inet 169.254.169.254/16 brd 169.254.255.255 scope global tapd185670c-43
       valid_lft forever preferred_lft forever
    inet6 fe80::f816:3eff:fe9c:fa92/64 scope link 
       valid_lft forever preferred_lft forever

and namespace for floating ip

[root@neutron ~]# ip netns exec qdhcp-4468870e-3218-45d6-8811-14bf78b85b71 ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    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
15: tapd0f4d16a-9c: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN 
    link/ether fa:15:3e:54:2a:d3 brd ff:ff:ff:ff:ff:ff
    inet 1XX.XXX.XX.XX/29 brd 1XX.XXX.XX.XX9 scope global tapd0f4d16a-9c
       valid_lft forever preferred_lft forever
    inet 169.254.169.254/16 brd 169.254.255.255 scope global tapd0f4d16a-9c
       valid_lft forever preferred_lft forever
    inet 5X.2XX.XX.1/24 brd 5X.2XX.XX.255 scope global tapd0f4d16a-9c
       valid_lft forever preferred_lft forever
    inet6 fe60::f716:3eff:fe54:2ad2/64 scope link 
       valid_lft forever preferred_lft forever