← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1182752] Re: VM fails to get IP with shared network

 

Wasn't able to reproduce and no reply thus closing.

** Changed in: nova
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1182752

Title:
  VM fails to get IP with shared network

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  VM fails to get IP with shared network.

  I created shared network with the following command with admin account.
  quantum net-create private-net-01 --provider:network_type flat --provider:physical_network private-net-01 --shared

  However, tenant(other than admin)'s VM with the shared network fails
  to get IP from DHCP server.

  I found that nova sets incorrect filter rule for DHCP in compute node's iptables.
  172.27.0.2 was the actual DHCP server's address.

  -A nova-compute-inst-1 -m state --state INVALID -j DROP
  -A nova-compute-inst-1 -m state --state RELATED,ESTABLISHED -j ACCEPT
  -A nova-compute-inst-1 -j nova-compute-provider
  -A nova-compute-inst-1 -s 172.27.0.1/32 -p udp -m udp --sport 67 --dport 68 -j ACCEPT
  -A nova-compute-inst-1 -s 172.27.0.0/24 -j ACCEPT
  -A nova-compute-inst-1 -j nova-compute-sg-fallback
  -A nova-compute-local -d 172.27.0.3/32 -j nova-compute-inst-1

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