Bug 1311985
Summary: | force_metadata = True : VMs fail receiveing meatdata ( no interface with 169.254.169.254 ip in qdhcp namespace) | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Alexander Stafeyev <astafeye> |
Component: | openstack-neutron | Assignee: | Assaf Muller <amuller> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Toni Freger <tfreger> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 (Kilo) | CC: | amuller, chrisw, ihrachys, nyechiel, psutter, srevivo |
Target Milestone: | --- | Keywords: | Triaged, ZStream |
Target Release: | 9.0 (Mitaka) | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-06-26 18:08:14 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alexander Stafeyev
2016-02-25 12:57:16 UTC
Hi, I just tripped over this while playing with OSP7 allinone setup. Contrary to what was suggested above I think the IP address should be added to the qrouter namespace. My rationale behind this: - Metadata proxy runs in qrouter namespace, not qdhcp: # ip netns list qdhcp-8e62c61b-bbb8-4d39-aaf3-c192345bfbed qrouter-3054833f-f130-4d8f-ab3f-7ce54af27ec7 # ip netns pids qrouter-3054833f-f130-4d8f-ab3f-7ce54af27ec7 4247 # ps ax | grep 4247 4247 ? S 0:01 /usr/bin/python2 /bin/neutron-ns-metadata-proxy --pid_file=/var/lib/neutron/external/pids/3054833f-f130-4d8f-ab3f-7ce54af27ec7.pid --metadata_proxy_socket=/var/lib/neutron/metadata_proxy --router_id=3054833f-f130-4d8f-ab3f-7ce54af27ec7 --state_path=/var/lib/neutron --metadata_port=9697 --metadata_proxy_user=991 --metadata_proxy_group=988 --verbose --log-file=neutron-ns-metadata-proxy-3054833f-f130-4d8f-ab3f-7ce54af27ec7.log --log-dir=/var/log/neutron - Qrouter namespace has relevant iptables rule: # ip netns exec qrouter-3054833f-f130-4d8f-ab3f-7ce54af27ec7 iptables -t nat -nL | grep 169 REDIRECT tcp -- 0.0.0.0/0 169.254.169.254 tcp dpt:80 redir ports 9697 IIRC, I had a similar problem when playing with the same setup using packages from RDO when NetworkManager was still active. Have you already analyzed the cause of this issue and can provide further information on how this will be solved? Thanks, Phil Please note that the upstream patch [1] that was written (not by me) to fix this patch was recently merged. I was waiting until it would merge to address this bug again, so whomever picks this up again should be aware of said patch :) John. [1]: https://review.openstack.org/#/c/305615/ Patch 336872 was merged, which is a backport to Mitaka. Not available in OSP 9 yet, will be in the next rebase. |