← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1556991] [NEW] Isolated metadata will not work if ipv6 subnet is created first

 

Public bug reported:

IPv6 metadata is not supported yet. The discussion is at [1].

I want to use IPv4 isolated metadata service. And found this issue,

1) Set "enable_isolated_metadata = True" in configuration.
2) Create a network.
3) Create a Ipv6 subnet for it. According to [2], the metadata proxy will not be created
4) Create a ipv4 subnet for the network.
5) Boot a vm in the network.
6) The VM can't use metadata service. curl 169.254.169.254 will report "curl: (7) couldn't connect to host". The route to the dhcp port has been in the VM,

$ ip r
default via 30.0.0.1 dev eth0 
30.0.0.0/24 dev eth0  src 30.0.0.3 
169.254.169.254 via 30.0.0.2 dev eth0 

But the process of metadata proxy can not be found in the OS.


Expected: the VM can use metadata service.

[1] https://bugs.launchpad.net/neutron/+bug/1460177
[2] https://github.com/openstack/neutron/blob/53c03f5ed32d043cf963c6b67e4afa6d42ef1eaa/neutron/agent/dhcp/agent.py#L246-L249

** Affects: neutron
     Importance: Undecided
     Assignee: Hong Hui Xiao (xiaohhui)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Hong Hui Xiao (xiaohhui)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1556991

Title:
  Isolated metadata will not work if ipv6 subnet is created first

Status in neutron:
  New

Bug description:
  IPv6 metadata is not supported yet. The discussion is at [1].

  I want to use IPv4 isolated metadata service. And found this issue,

  1) Set "enable_isolated_metadata = True" in configuration.
  2) Create a network.
  3) Create a Ipv6 subnet for it. According to [2], the metadata proxy will not be created
  4) Create a ipv4 subnet for the network.
  5) Boot a vm in the network.
  6) The VM can't use metadata service. curl 169.254.169.254 will report "curl: (7) couldn't connect to host". The route to the dhcp port has been in the VM,

  $ ip r
  default via 30.0.0.1 dev eth0 
  30.0.0.0/24 dev eth0  src 30.0.0.3 
  169.254.169.254 via 30.0.0.2 dev eth0 

  But the process of metadata proxy can not be found in the OS.

  
  Expected: the VM can use metadata service.

  [1] https://bugs.launchpad.net/neutron/+bug/1460177
  [2] https://github.com/openstack/neutron/blob/53c03f5ed32d043cf963c6b67e4afa6d42ef1eaa/neutron/agent/dhcp/agent.py#L246-L249

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1556991/+subscriptions


Follow ups