fixed_ip allocation which is not included within allocation_pools makes error when delete port or re-create port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Gary Kotton | ||
Folsom |
Fix Released
|
High
|
Gary Kotton | ||
quantum (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
operation to reproduce
---
$ quantum subnet-create --name subnet1 --allocation-pool start=10.
Created a new subnet:
+------
| Field | Value |
+------
| allocation_pools | {"start": "10.0.0.100", "end": "10.0.0.120"} |
| cidr | 10.0.0.0/24 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 10.0.0.1 |
| host_routes | |
| id | f45087fa-
| ip_version | 4 |
| name | subnet1 |
| network_id | 00c358bb-
| tenant_id | 5be3e52876004c3
+------
$ quantum port-create --fixed-ip subnet_
Created a new port:
+------
| Field | Value |
+------
| admin_state_up | True |
| device_id | |
| device_owner | |
| fixed_ips | {"subnet_id": "f45087fa-
| id | bc78a300-
| mac_address | fa:16:3e:26:fd:f6 |
| name | |
| network_id | 00c358bb-
| status | ACTIVE |
| tenant_id | 5be3e52876004c3
+------
$ quantum port-delete bc78a300-
Deleted port: bc78a300-
$ quantum port-create --fixed-ip subnet_
Unable to complete operation for network 00c358bb-
---
server's log
---
Traceback (most recent call last):
File "/opt/stack/
result = method(
File "/opt/stack/
obj = obj_creator(
File "/opt/stack/
p = super(OVSQuantu
File "/opt/stack/
self.
File "/opt/stack/
expired[
File "/opt/stack/
raise q_exc.InvalidIn
InvalidInput: Invalid input for operation: No allocation pool found for ip address:10.0.0.5.
---
Note that there is the case error occurs at deleting port. (that is also _recycle_ip error)
What is the right specification ?
* first of all, should not permit port allocaion, or
* should delete the ipallocation table immediately (like gateway_ip), or
* merely _recycle_ip bug ?
Related branches
- Openstack Ubuntu Testers: Pending requested
-
Diff: 79 lines (+68/-0)1 file modifieddebian/changelog (+68/-0)
Changed in quantum: | |
assignee: | nobody → Gary Kotton (garyk) |
milestone: | none → grizzly-1 |
tags: |
added: in-stable-folsom removed: folsom-backport-potential |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum (Ubuntu): | |
status: | New → Fix Released |
Changed in quantum (Ubuntu Quantal): | |
status: | New → Confirmed |
tags: | removed: in-stable-folsom |
Changed in quantum: | |
milestone: | grizzly-1 → 2013.1 |
Yes, this is a bug. The IP allocation should not be permitted.
Thanks
Gary