Update router gateway successful with existed floatingip association
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Alex Xu | ||
Folsom |
Fix Released
|
Medium
|
Gary Kotton |
Bug Description
Clear router gateway successful with existed floatingip association.
1.Create net1 with router:
2.Create net2 and subnet
3.Create router1
4.Set router1 gateway to net1
5.Add net2 interface to router1
6.Create floatingip on net1
7.Create port on net2
8.Associate floatingip and port
9.Clear router1 gateway successful
Expect status code 409
-------
soulxu1204@
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| id | 427ec70b-
| name | net1 |
| provider:
| provider:
| provider:
| router:external | True |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 4ce055fb0c67429
+------
soulxu1204@
Created a new subnet:
+------
| Field | Value |
+------
| allocation_pools | {"start": "192.168.0.2", "end": "192.168.0.254"} |
| cidr | 192.168.0.0/24 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 192.168.0.1 |
| host_routes | |
| id | 414e4049-
| ip_version | 4 |
| name | |
| network_id | 427ec70b-
| tenant_id | 4ce055fb0c67429
+------
soulxu1204@
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| id | 9defc9ba-
| name | net2 |
| provider:
| provider:
| provider:
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 4ce055fb0c67429
+------
soulxu1204@
Created a new subnet:
+------
| Field | Value |
+------
| allocation_pools | {"start": "10.0.0.2", "end": "10.0.0.254"} |
| cidr | 10.0.0.0/24 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 10.0.0.1 |
| host_routes | |
| id | d288c8ea-
| ip_version | 4 |
| name | |
| network_id | 9defc9ba-
| tenant_id | 4ce055fb0c67429
+------
soulxu1204@
Created a new router:
+------
| Field | Value |
+------
| admin_state_up | True |
| external_
| id | cabb6828-
| name | router1 |
| status | ACTIVE |
| tenant_id | 4ce055fb0c67429
+------
soulxu1204@
Added interface to router router1
soulxu1204@
Set gateway for router router1
soulxu1204@
Created a new floatingip:
+------
| Field | Value |
+------
| fixed_ip_address | |
| floating_ip_address | 192.168.0.4 |
| floating_network_id | 427ec70b-
| id | 89ad931c-
| port_id | |
| router_id | |
| tenant_id | 4ce055fb0c67429
+------
soulxu1204@
Created a new port:
+------
| Field | Value |
+------
| admin_state_up | True |
| device_id | |
| device_owner | |
| fixed_ips | {"subnet_id": "d288c8ea-
| id | 8a3b7af7-
| mac_address | fa:16:3e:10:b1:23 |
| name | |
| network_id | 9defc9ba-
| status | ACTIVE |
| tenant_id | 4ce055fb0c67429
+------
soulxu1204@
Associated floatingip 89ad931c-
soulxu1204@
Removed gateway from router router1
soulxu1204@
+------
| id | fixed_ip_address | floating_ip_address | port_id |
+------
| 89ad931c-
+------
Changed in quantum: | |
assignee: | nobody → Alex Xu (xuhj) |
Changed in quantum: | |
status: | New → Confirmed |
milestone: | none → grizzly-2 |
importance: | Undecided → Medium |
tags: | added: folsom-backport-potential |
summary: |
- Clear router gateway successful with existed floatingip association + Update router gateway successful with existed floatingip association |
tags: | removed: folsom-backport-potential |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
tags: | removed: in-stable-folsom |
Changed in quantum: | |
milestone: | grizzly-2 → 2013.1 |
Hi, /review. openstack. org/#/c/ 16584/solve this issue?
Does https:/
Thanks
Gary