Comment 5 for bug 1159015

Revision history for this message
yong sheng gong (gongysh) wrote :

dhcp_agent.ini:
enable_isolated_metadata = False

root 25321 1 0 08:22 ? 00:00:00 python /usr/bin/quantum-ns-metadata-proxy --pid_file=/etc/quantum/data/external/pids/0b7805ac-f0ae-4bbb-8dd4-75d30d196a61.pid --network_id=0b7805ac-f0ae-4bbb-8dd4-75d30d196a61 --state_path=/etc/quantum/data --metadata_port=80 --debug --verbose --log-file=quantum-ns-metadata-proxy-0b7805ac-f0ae-4bbb-8dd4-75d30d196a61.log --log-dir=/home/gongysh/logs
root 25563 1 0 08:22 ? 00:00:00 python /usr/bin/quantum-ns-metadata-proxy --pid_file=/etc/quantum/data/external/pids/b8525b9a-f522-4603-a092-5d3f89af28af.pid --network_id=b8525b9a-f522-4603-a092-5d3f89af28af --state_path=/etc/quantum/data --metadata_port=80 --debug --verbose --log-file=quantum-ns-metadata-proxy-b8525b9a-f522-4603-a092-5d3f89af28af.log --log-dir=/home/gongysh/logs

according to my analysis in Bug Description, these two proxies cannot work at all.

dhcp_agent.ini
enable_isolated_metadata = True

sudo ip netns exec qdhcp-b8525b9a-f522-4603-a092-5d3f89af28af ip addr
38: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 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
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
40: tapf738b936-8d: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether fa:16:3e:48:3c:be brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.2/24 brd 10.0.2.255 scope global tapf738b936-8d
    inet 169.254.169.254/16 brd 169.254.255.255 scope global tapf738b936-8d
    inet6 fe80::f816:3eff:fe48:3cbe/64 scope link
       valid_lft forever preferred_lft forever