Bug 1197448 - DVR interfaces with device_owner network:router_centralized_snat or device_owner network:floatingip_agent_gateway can be deleted using port-delete
Summary: DVR interfaces with device_owner network:router_centralized_snat or device_ow...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 6.0 (Juno)
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 7.0 (Kilo)
Assignee: lpeer
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On:
Blocks: 1188010
TreeView+ depends on / blocked
 
Reported: 2015-03-01 09:27 UTC by Itzik Brown
Modified: 2016-04-27 01:08 UTC (History)
5 users (show)

Fixed In Version: python-neutron-2015.1.0-1.el7.noarch
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-13 20:42:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1425504 0 None None None Never
OpenStack gerrit 159679 0 'None' MERGED Prevent direct port-delete of FIP Agent GW and CSNAT 2020-09-07 00:14:01 UTC

Description Itzik Brown 2015-03-01 09:27:10 UTC
Description of problem:


Version-Release number of selected component (if applicable):
openstack-neutron-2014.2.2-1.el7ost.noarch
python-neutron-2014.2.2-1.el7ost.noarch
openstack-neutron-openvswitch-2014.2.2-1.el7ost.noarch
openstack-neutron-ml2-2014.2.2-1.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create a distributed router

2. List all the ports with device_owner network:router_centralized_snat or 
   network:router_interface_distributed

   # neutron port-list --device_owner network:router_centralized_snat 
   # neutron port-list --device_owner network:router_interface_distributed

3. Delete the ports
   neutron port-delete <port-id>

Actual results:
The ports used by DVR can be deleted by using port-delete command.

Expected results:
The ports used by DVR should not be deleted by using port-delete command

Additional info:

Comment 3 Itzik Brown 2015-05-07 08:41:54 UTC
This bug has been fixed:

When trying to delete a port with device_owner network:router_centralized_snat I get:

Port a5aa1789-731a-4454-9828-876496fd7014 cannot be deleted directly via the port API: has device owner network:router_centralized_snat

Version
=======
python-neutron-2015.1.0-1.el7.noarch

Comment 4 Assaf Muller 2015-10-13 20:42:06 UTC
Closing as per comment 3.


Note You need to log in before you can comment on or make changes to this bug.