Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1197448

Summary: DVR interfaces with device_owner network:router_centralized_snat or device_owner network:floatingip_agent_gateway can be deleted using port-delete
Product: Red Hat OpenStack Reporter: Itzik Brown <itbrown>
Component: openstack-neutronAssignee: lpeer <lpeer>
Status: CLOSED CURRENTRELEASE QA Contact: Ofer Blaut <oblaut>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0 (Juno)CC: amuller, chrisw, nyechiel, tfreger, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-neutron-2015.1.0-1.el7.noarch Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-13 20:42:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1188010    

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.