Bug 1188733

Summary: Manually moving dvr_snat router fails
Product: Red Hat OpenStack Reporter: Itzik Brown <itbrown>
Component: openstack-neutronAssignee: Nir Magnezi <nmagnezi>
Status: CLOSED NEXTRELEASE QA Contact: Ofer Blaut <oblaut>
Severity: high Docs Contact:
Priority: medium    
Version: 6.0 (Juno)CC: amuller, chrisw, lpeer, nyechiel, oblaut, tfreger, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-13 20:37:31 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-02-03 15:25:25 UTC
Description of problem:

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


How reproducible:
100%

Steps to Reproduce:
1.Create a distributed router 
  #neutron router-create router1

2. Set the router gateway
  #neutron router-gateway-set router1 public1

3. Verify the dvr_snat agent exists in:
  #neutron l3-agent-list-hosting-router  router1

4. Remove the router from the agent:
   #neutron l3-agent-router-remove  <agent-id> router1

5. Add the router to the agent
   #neutron l3-agent-router-add <agent-id> router1

Actual results:
Not Found (HTTP 404) (Request-ID: req-135efd0d-f2ed-4c98-b3ae-507eec9fe3de)

Expected results:
The router should be added to the agent
Additional info:

Comment 3 Nir Yechiel 2015-02-03 16:04:18 UTC
Attaching the relevant patch (currently in review) and linking to the tracker bug.

Comment 8 Nir Magnezi 2015-09-01 13:36:51 UTC
https://review.openstack.org/#/c/123815 was abandoned.
Instead, there are couple of fixes that were merged:
https://review.openstack.org/#/c/118491/
https://review.openstack.org/#/c/122024/

Comment 9 Nir Magnezi 2015-09-01 14:11:22 UTC
A Comment by Oleg Bondarev that seems to be important:

L3 agent support for snat rescheduling is added in https://review.openstack.org/#/c/211939/ (originally in https://review.openstack.org/#/c/199514 but then moved to a separate patch).

Comment 10 Assaf Muller 2015-10-13 20:37:31 UTC
Fixed in upstream Liberty branch and there's no reason to backport it. No further action is required.