← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1617409

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

Status in OpenStack Compute (nova):
  New

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/nova/+bug/1617409/+subscriptions


Follow ups