← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1938788] Re: Validate if fixed_ip given for port isn't the same as subnet's gateway_ip

 

** Changed in: neutron
       Status: In Progress => Opinion

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

Title:
  Validate if fixed_ip given for port isn't the same as subnet's
  gateway_ip

Status in neutron:
  Opinion

Bug description:
  Currently when new port is created with fixed_ip given, neutron is not
  validating if that fixed_ip address isn't the same as subnet's gateway
  IP. That may cause problems, like e.g.:

  $ openstack subnet show <subnet-id>
  | allocation_pools  | 10.0.0.2-10.0.0.254
  | cidr              | 10.0.0.0/24   
  | enable_dhcp       | True  
  ...
  | gateway_ip        | 10.0.0.1  

  
  $ nova boot   --flavor test --image test  --nic  net-id=<network-id>,v4-fixed-ip=10.0.0.1  test-vm1

  The instance will be created successfully, but after that, network
  communication issue could be happened since the gateway ip conflict.

  So Neutron should forbid creation of the port with gateway's ip
  address if it is not router's port (device_owner isn't set for one of
  the router device owners).

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



References