Activity log for bug #1514810

Date Who What changed Old value New value Message
2015-11-10 12:16:40 Pavel Bondar bug added bug
2015-11-10 12:17:07 Pavel Bondar neutron: assignee Pavel Bondar (pasha117)
2015-11-10 12:17:35 Pavel Bondar tags l3-ipam-dhcp
2015-11-10 12:17:55 Pavel Bondar tags l3-ipam-dhcp l3-ipam-dhcp liberty-backport-potential
2015-11-10 13:39:07 Miguel Angel Ajo neutron: importance Undecided Medium
2015-11-10 13:39:20 Miguel Angel Ajo bug added subscriber Carl Baldwin
2015-11-10 13:40:21 Miguel Angel Ajo tags l3-ipam-dhcp liberty-backport-potential l3-ipam-dhcp liberty-backport-potential needs-attention
2015-11-10 13:57:10 Pavel Bondar bug added subscriber John Belamaric
2015-11-10 14:21:29 Pavel Bondar bug added subscriber watanabe.isao
2015-11-11 15:37:50 Carl Baldwin description Bug reproducible only if pluggable IPAM is in effect. Steps to reproduce: 1. Enable pluggable IPAM by setting ipam_driver to 'internal' (or another ipam driver). 2. Create Network. 3. Create Subnet with unchecked 'Enable DHCP' option. 4. Verify Subnet is created. 5. Edit Subnet and check 'Enable DHCP' option, press 'Save' Observed error in UI: "Error: Failed to update subnet "90.90.0.0/24": No more IP addresses available on network a9bb6abf-98ec-40d3-a79f-365703949b3b." Error in neutron log: 2015-11-10 12:07:09.656 DEBUG neutron.api.v2.base [req-c585fc85-2143-4d09-95bb-615be2fac2da admin 507df20dc0be462db98373c6bcf6a88c] Request body: {u'subnet': {u'dns_nameservers': [], u'allocation_pools': [{u'start ': u'90.90.0.2', u'end': u'90.90.0.254'}], u'host_routes': [], u'name': u'niny', u'enable_dhcp': True}} from (pid=29244) prepare_request_body /opt/stack/neutron/neutron/api/v2/base.py:645 2015-11-10 12:07:09.754 INFO neutron.api.v2.resource [req-c585fc85-2143-4d09-95bb-615be2fac2da admin 507df20dc0be462db98373c6bcf6a88c] update failed (client error): No more IP addresses available on network a9bb6a bf-98ec-40d3-a79f-365703949b3b. Root cause: Query in _validate_subnet is not compatible with pluggable IPAM. It directly queries tables for built-in IPAM. range_qry = context.session.query(models_v2. IPAvailabilityRange).join(models_v2.IPAllocationPool) https://github.com/openstack/neutron/blob/master/neutron/db/db_base_plugin_v2.py#L458 Need to reword this validation to support pluggable IPAM. Bug reproducible only if pluggable IPAM is in effect. Steps to reproduce: 1. Enable pluggable IPAM by setting ipam_driver to 'internal' (or another ipam driver). 2. Create Network. 3. Create Subnet with unchecked 'Enable DHCP' option. 4. Verify Subnet is created. 5. Edit Subnet and check 'Enable DHCP' option, press 'Save' Observed error in UI: "Error: Failed to update subnet "90.90.0.0/24": No more IP addresses available on network a9bb6abf-98ec-40d3-a79f-365703949b3b." Error in neutron log: 2015-11-10 12:07:09.656 DEBUG neutron.api.v2.base [req-c585fc85-2143-4d09-95bb-615be2fac2da admin 507df20dc0be462db98373c6bcf6a88c] Request body: {u'subnet': {u'dns_nameservers': [], u'allocation_pools': [{u'start ': u'90.90.0.2', u'end': u'90.90.0.254'}], u'host_routes': [], u'name': u'niny', u'enable_dhcp': True}} from (pid=29244) prepare_request_body /opt/stack/neutron/neutron/api/v2/base.py:645 2015-11-10 12:07:09.754 INFO neutron.api.v2.resource [req-c585fc85-2143-4d09-95bb-615be2fac2da admin 507df20dc0be462db98373c6bcf6a88c] update failed (client error): No more IP addresses available on network a9bb6a bf-98ec-40d3-a79f-365703949b3b. Root cause: Query in _validate_subnet is not compatible with pluggable IPAM. It directly queries tables for built-in IPAM. range_qry = context.session.query(models_v2.                         IPAvailabilityRange).join(models_v2.IPAllocationPool) https://github.com/openstack/neutron/blob/87ce4868ca/neutron/db/db_base_plugin_v2.py#L458 Need to reword this validation to support pluggable IPAM.
2015-11-18 14:31:37 Gary Kotton neutron: status New Confirmed
2015-11-18 16:28:45 OpenStack Infra neutron: status Confirmed In Progress
2015-11-18 16:28:45 OpenStack Infra neutron: assignee Pavel Bondar (pasha117) Gary Kotton (garyk)
2015-11-18 16:32:11 Gary Kotton neutron: importance Medium High
2015-11-24 00:20:13 OpenStack Infra neutron: status In Progress Fix Committed
2015-11-28 14:42:02 OpenStack Infra tags l3-ipam-dhcp liberty-backport-potential needs-attention in-stable-liberty l3-ipam-dhcp liberty-backport-potential needs-attention
2015-12-03 21:02:07 Doug Hellmann neutron: status Fix Committed Fix Released
2016-10-07 16:26:38 Ihar Hrachyshka tags in-stable-liberty l3-ipam-dhcp liberty-backport-potential needs-attention in-stable-liberty l3-ipam-dhcp needs-attention