Tempest Rhel7: External network cant be deleted while holding unassociated floating IPs
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
High
|
Sahil Sabharwal | |||
R3.0.2.x |
Fix Committed
|
High
|
Sahil Sabharwal | |||
R3.0.3.x |
Fix Committed
|
High
|
Sahil Sabharwal | |||
R3.1 |
Fix Committed
|
High
|
Sahil Sabharwal | |||
R3.1.1.x |
Fix Committed
|
High
|
Sahil Sabharwal | |||
R3.2 |
Fix Committed
|
High
|
Sahil Sabharwal | |||
Trunk |
Fix Committed
|
High
|
Sahil Sabharwal |
Bug Description
Mainline/
A network can be deleted when holding unassociated floating IPs. However below error is seen.
[root@a5s165 ~(keystone_admin)]# neutron net-create np-test-net --router:external
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| contrail:fq_name | default-domain |
| | admin |
| | np-test-net |
| contrail:
| id | 25290893-
| name | np-test-net |
| router:external | True |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 2eb241bca66f43c
+------
[root@a5s165 ~(keystone_admin)]# neutron subnet-create --name np-test-subnet np-test-net 10.1.1.0/24
Created a new subnet:
+------
| Field | Value |
+------
| allocation_pools | {"start": "10.1.1.2", "end": "10.1.1.254"} |
| cidr | 10.1.1.0/24 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 10.1.1.1 |
| host_routes | |
| id | 578b202c-
| ip_version | 4 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | np-test-subnet |
| network_id | 25290893-
| tenant_id | 2eb241bca66f43c
+------
[root@a5s165 ~(keystone_admin)]#
[root@a5s165 ~(keystone_admin)]# neutron floatingip-create np-test-net
Created a new floatingip:
+------
| Field | Value |
+------
| fixed_ip_address | |
| floating_ip_address | 10.1.1.3 |
| floating_network_id | 25290893-
| id | b45fd128-
| port_id | |
| router_id | |
| status | ACTIVE |
| tenant_id | 2eb241bca66f43c
+------
[root@a5s165 ~(keystone_admin)]# neutron net-delete np-test-net
Unable to complete operation on network 25290893-
[root@a5s165 ~(keystone_admin)]#
Because of this behavior, following cases are failing:
tempest.
summary: |
- Tempest Rhel7: External network cant be deleted while still holding + Tempest Rhel7: External network cant be deleted while holding unassociated floating IPs |
tags: | added: rhosp-tempest |
information type: | Proprietary → Public |
tags: | added: tempest |
tags: |
added: osp7-cert osp8-cert rhos-tempest removed: rhosp-tempest |
Review in progress for https:/ /review. opencontrail. org/28008
Submitter: <email address hidden> (<email address hidden>)