← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1617409] Re: fixed ip gets assigned when a port is created with no fixed ip

 

Reviewed:  https://review.openstack.org/369062
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ab4ee76c8bdacb0f272328e0b4efefc3b820e5ba
Submitter: Jenkins
Branch:    master

commit ab4ee76c8bdacb0f272328e0b4efefc3b820e5ba
Author: Carl Baldwin <carl.baldwin@xxxxxxx>
Date:   Mon Sep 12 16:09:50 2016 -0600

    Only do deferred ip allocation on deferred ports
    
    Only do deferred ip allocation on ports that were originally marked as
    deferred IP ports on port create.
    
    Change-Id: Ia34bc2617f99cca73f58c9e615a8ba78e667c9b3
    Closes-Bug: #1617409


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  fixed ip gets assigned when a port is created with no fixed ip

Status in neutron:
  Fix Released
Status in OpenStack Compute (nova):
  Invalid

Bug description:
  When a neutron port is created with no fixed ip, and bound to a nova instance, a random IP is automatically picked up from subnet pool and assigned.
  Port request body :
  port_req_body
  {'port': {'network_id': u'b3bfb646-5794-44e6-86eb-0f90b18c6d78', 'tenant_id': u'ccfdd1bc5f894ad0a085e3e1d53f9329', 'mac_address': u'fa:f8:86:36:34:20', 'fixed_ips': [], 'admin_state_up': True}}

  After it is bound to a nova instance, it gets an ip associated with it. From neutron port-show :
  | fixed_ips           | {"subnet_id": "90f2afbc-bc64-4a0c-823a-a39d71f1fadd", "ip_address": "10.0.0.5"} |
  This appears to be a problem due to changes in newton. This behavior was not there in mitaka.

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


References