[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2021-09-26 Thread OpenStack Infra
Reviewed:  https://review.opendev.org/c/openstack/neutron/+/810394
Committed: 
https://opendev.org/openstack/neutron/commit/b4ad1a2775d00cd6d14bd4766a0a1c5c41332d89
Submitter: "Zuul (22348)"
Branch:stable/victoria

commit b4ad1a2775d00cd6d14bd4766a0a1c5c41332d89
Author: Rodolfo Alonso Hernandez 
Date:   Thu Jun 3 14:49:45 2021 +

Populate self.floating_ips_dict using "ip rule" information

When the L3 agent starts, reads the floating IP rule priority from
a state file created by "FipRulePriorityAllocator". In case of not
having all floating IPs registers in this file, the method:
- Creates a new priority for this floating IP.
- Creates the "ip rule" in the namespace.
- Adds a new entry in "self.floating_ips_dict".

All "ip rules" present in the namespace that do not match the
registered fixed IP address ("from") and the priority assigned
are deleted.

Closes-Bug: #1891673
Closes-Bug: #1929821

Change-Id: Ia3fbde3304ab5f3c309dc62dbf58274afbcf4614
(cherry picked from commit a03c240ef4ea1d4b874b618dbd0163a3a2f7024c)


** Tags added: in-stable-victoria

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2021-09-24 Thread OpenStack Infra
Reviewed:  https://review.opendev.org/c/openstack/neutron/+/810393
Committed: 
https://opendev.org/openstack/neutron/commit/f2f7602de7e1b067ae28f55b2b2dbbde29e7bcb1
Submitter: "Zuul (22348)"
Branch:stable/wallaby

commit f2f7602de7e1b067ae28f55b2b2dbbde29e7bcb1
Author: Rodolfo Alonso Hernandez 
Date:   Thu Jun 3 14:49:45 2021 +

Populate self.floating_ips_dict using "ip rule" information

When the L3 agent starts, reads the floating IP rule priority from
a state file created by "FipRulePriorityAllocator". In case of not
having all floating IPs registers in this file, the method:
- Creates a new priority for this floating IP.
- Creates the "ip rule" in the namespace.
- Adds a new entry in "self.floating_ips_dict".

All "ip rules" present in the namespace that do not match the
registered fixed IP address ("from") and the priority assigned
are deleted.

Closes-Bug: #1891673
Closes-Bug: #1929821

Change-Id: Ia3fbde3304ab5f3c309dc62dbf58274afbcf4614
(cherry picked from commit a03c240ef4ea1d4b874b618dbd0163a3a2f7024c)


** Tags added: in-stable-wallaby

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2021-09-23 Thread OpenStack Infra
Reviewed:  https://review.opendev.org/c/openstack/neutron/+/810425
Committed: 
https://opendev.org/openstack/neutron/commit/7eaa84a0cd48adb2ecd7653640d32aea8096e786
Submitter: "Zuul (22348)"
Branch:stable/ussuri

commit 7eaa84a0cd48adb2ecd7653640d32aea8096e786
Author: Rodolfo Alonso Hernandez 
Date:   Thu Jun 3 14:49:45 2021 +

Populate self.floating_ips_dict using "ip rule" information

When the L3 agent starts, reads the floating IP rule priority from
a state file created by "FipRulePriorityAllocator". In case of not
having all floating IPs registers in this file, the method:
- Creates a new priority for this floating IP.
- Creates the "ip rule" in the namespace.
- Adds a new entry in "self.floating_ips_dict".

All "ip rules" present in the namespace that do not match the
registered fixed IP address ("from") and the priority assigned
are deleted.

Closes-Bug: #1891673
Closes-Bug: #1929821

Conflicts:
neutron/tests/unit/agent/l3/test_dvr_local_router.py

Change-Id: Ia3fbde3304ab5f3c309dc62dbf58274afbcf4614
(cherry picked from commit a03c240ef4ea1d4b874b618dbd0163a3a2f7024c)
(cherry picked from commit b4ad1a2775d00cd6d14bd4766a0a1c5c41332d89)


** Tags added: in-stable-ussuri

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2021-08-06 Thread Bernard Cafarelli
** Tags added: neutron-proactive-backport-potential

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-12-11 Thread Slawek Kaplonski
** Tags removed: neutron-proactive-backport-potential

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-11-15 Thread OpenStack Infra
Reviewed:  https://review.opendev.org/750395
Committed: 
https://git.openstack.org/cgit/openstack/neutron/commit/?id=84d38f342bcad6537971d732a4961334a5890f3b
Submitter: Zuul
Branch:stable/train

commit 84d38f342bcad6537971d732a4961334a5890f3b
Author: Edward Hope-Morley 
Date:   Fri Aug 14 17:44:54 2020 +0100

Ensure fip ip rules deleted when fip removed

The information needed to delete ip rules associated
with fips is held in memory between add and remove so
a restart of the l3-agent results in any fips that
existed before the restart having their ip rules
persist after the fips are removed. This patch
enures that an agent restart reloads this information
so that ip rules associated with a fip are correctly
removed when the fip is removed.

Change-Id: If656a703c996ccc7719b1b09d793c5bbdfd6f3c1
Closes-Bug: #1891673
(cherry picked from commit 5eca44bfa850e6e75c9974ae7711b87764628253)
(cherry picked from commit 8ba796ea7ff28a815996ffeaf3c4dc39df1edcfb)


** Tags added: in-stable-train

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-11-11 Thread OpenStack Infra
Reviewed:  https://review.opendev.org/750400
Committed: 
https://git.openstack.org/cgit/openstack/neutron/commit/?id=1eb5b54776d2194319528712399439c54c5320d7
Submitter: Zuul
Branch:stable/rocky

commit 1eb5b54776d2194319528712399439c54c5320d7
Author: Edward Hope-Morley 
Date:   Fri Aug 14 17:44:54 2020 +0100

Ensure fip ip rules deleted when fip removed

The information needed to delete ip rules associated
with fips is held in memory between add and remove so
a restart of the l3-agent results in any fips that
existed before the restart having their ip rules
persist after the fips are removed. This patch
enures that an agent restart reloads this information
so that ip rules associated with a fip are correctly
removed when the fip is removed.

Change-Id: If656a703c996ccc7719b1b09d793c5bbdfd6f3c1
Closes-Bug: #1891673
(cherry picked from commit 5eca44bfa850e6e75c9974ae7711b87764628253)
(cherry picked from commit 8ba796ea7ff28a815996ffeaf3c4dc39df1edcfb)
(cherry picked from commit 84d38f342bcad6537971d732a4961334a5890f3b)
(cherry picked from commit f28788f77798e6e1e64ac9f60a82b99b52546f8f)


** Tags added: in-stable-rocky

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-11-04 Thread OpenStack Infra
Reviewed:  https://review.opendev.org/750396
Committed: 
https://git.openstack.org/cgit/openstack/neutron/commit/?id=f28788f77798e6e1e64ac9f60a82b99b52546f8f
Submitter: Zuul
Branch:stable/stein

commit f28788f77798e6e1e64ac9f60a82b99b52546f8f
Author: Edward Hope-Morley 
Date:   Fri Aug 14 17:44:54 2020 +0100

Ensure fip ip rules deleted when fip removed

The information needed to delete ip rules associated
with fips is held in memory between add and remove so
a restart of the l3-agent results in any fips that
existed before the restart having their ip rules
persist after the fips are removed. This patch
enures that an agent restart reloads this information
so that ip rules associated with a fip are correctly
removed when the fip is removed.

Change-Id: If656a703c996ccc7719b1b09d793c5bbdfd6f3c1
Closes-Bug: #1891673
(cherry picked from commit 5eca44bfa850e6e75c9974ae7711b87764628253)
(cherry picked from commit 8ba796ea7ff28a815996ffeaf3c4dc39df1edcfb)
(cherry picked from commit 84d38f342bcad6537971d732a4961334a5890f3b)


** Tags added: in-stable-stein

** Tags added: in-stable-queens

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-10-08 Thread Bernard Cafarelli
** Tags added: neutron-proactive-backport-potential

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-30 Thread Corey Bryant
This bug was fixed in the package neutron - 2:12.1.1-0ubuntu2~cloud0
---

 neutron (2:12.1.1-0ubuntu2~cloud0) xenial-queens; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 neutron (2:12.1.1-0ubuntu2) bionic; urgency=medium
 .
   * d/p/Ensure-fip-ip-rules-deleted-when-fip-removed.patch
 Backport fix for dvr fip ip rule cleanup (LP: #1891673)


** Changed in: cloud-archive/queens
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-30 Thread Corey Bryant
This bug was fixed in the package neutron - 2:13.0.7-0ubuntu1~cloud2
---

 neutron (2:13.0.7-0ubuntu1~cloud2) bionic-rocky; urgency=medium
 .
   * d/p/Ensure-fip-ip-rules-deleted-when-fip-removed.patch
 Backport fix for dvr fip ip rule cleanup (LP: #1891673)


** Changed in: cloud-archive/rocky
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-30 Thread Corey Bryant
This bug was fixed in the package neutron - 2:14.3.0-0ubuntu1~cloud2
---

 neutron (2:14.3.0-0ubuntu1~cloud2) bionic-stein; urgency=medium
 .
   * d/p/Ensure-fip-ip-rules-deleted-when-fip-removed.patch
 Backport fix for dvr fip ip rule cleanup (LP: #1891673)


** Changed in: cloud-archive/stein
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-30 Thread Corey Bryant
This bug was fixed in the package neutron - 2:15.1.0-0ubuntu1~cloud1
---

 neutron (2:15.1.0-0ubuntu1~cloud1) bionic-train; urgency=medium
 .
   * d/p/Ensure-fip-ip-rules-deleted-when-fip-removed.patch
 Backport fix for dvr fip ip rule cleanup (LP: #1891673)


** Changed in: cloud-archive/train
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-30 Thread Corey Bryant
This bug was fixed in the package neutron - 2:16.1.0-0ubuntu2~cloud0
---

 neutron (2:16.1.0-0ubuntu2~cloud0) bionic-ussuri; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 neutron (2:16.1.0-0ubuntu2) focal; urgency=medium
 .
   * d/p/Ensure-fip-ip-rules-deleted-when-fip-removed.patch
 Backport fix for dvr fip ip rule cleanup (LP: #1891673)


** Changed in: cloud-archive/ussuri
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-30 Thread Corey Bryant
** Changed in: cloud-archive/victoria
   Status: Fix Committed => Fix Released

** Changed in: neutron (Ubuntu Groovy)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-29 Thread Launchpad Bug Tracker
This bug was fixed in the package neutron - 2:12.1.1-0ubuntu2

---
neutron (2:12.1.1-0ubuntu2) bionic; urgency=medium

  * d/p/Ensure-fip-ip-rules-deleted-when-fip-removed.patch
Backport fix for dvr fip ip rule cleanup (LP: #1891673)

 -- Edward Hope-Morley   Tue, 08 Sep
2020 17:55:17 +0100

** Changed in: neutron (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-29 Thread Launchpad Bug Tracker
This bug was fixed in the package neutron - 2:16.1.0-0ubuntu2

---
neutron (2:16.1.0-0ubuntu2) focal; urgency=medium

  * d/p/Ensure-fip-ip-rules-deleted-when-fip-removed.patch
Backport fix for dvr fip ip rule cleanup (LP: #1891673)

 -- Edward Hope-Morley   Wed, 09 Sep
2020 09:25:20 +0100

** Changed in: neutron (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-24 Thread Edward Hope-Morley
xenial-queens verified with [Test Case] and output is:

# apt-cache policy neutron-common 
neutron-common:
  Installed: 2:12.1.1-0ubuntu2~cloud0
  Candidate: 2:12.1.1-0ubuntu2~cloud0
  Version table:
 *** 2:12.1.1-0ubuntu2~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu 
xenial-proposed/queens/main amd64 Packages
100 /var/lib/dpkg/status
 2:8.4.0-0ubuntu7.5 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu xenial-updates/main 
amd64 Packages
 2:8.4.0-0ubuntu7.4 500
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 
Packages
 2:8.0.0-0ubuntu1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 
Packages

# ./discover_ip_rules_affected_by_lp1891673.sh
Nothing to cleanup - exiting.

** Tags removed: verification-needed verification-queens-needed
** Tags added: verification-done verification-queens-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-24 Thread Edward Hope-Morley
bionic-queens verified with [Test Case] and output is:

# apt-cache policy neutron-common 
neutron-common:
  Installed: 2:12.1.1-0ubuntu2
  Candidate: 2:12.1.1-0ubuntu2
  Version table:
 *** 2:12.1.1-0ubuntu2 500
500 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages
100 /var/lib/dpkg/status
 2:12.1.1-0ubuntu1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main 
amd64 Packages
 2:12.0.1-0ubuntu1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main amd64 
Packages
# ./discover_ip_rules_affected_by_lp1891673.sh
Nothing to cleanup - exiting.

** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-24 Thread Edward Hope-Morley
bionic-rocky verified with [Test Case] and output is:

# apt-cache policy neutron-common 
neutron-common:
  Installed: 2:13.0.7-0ubuntu1~cloud2
  Candidate: 2:13.0.7-0ubuntu1~cloud2
  Version table:
 *** 2:13.0.7-0ubuntu1~cloud2 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu 
bionic-proposed/rocky/main amd64 Packages
100 /var/lib/dpkg/status
 2:12.1.1-0ubuntu1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main 
amd64 Packages
 2:12.0.1-0ubuntu1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main amd64 
Packages

# ./discover_ip_rules_affected_by_lp1891673.sh
Nothing to cleanup - exiting.

** Tags removed: verification-rocky-needed
** Tags added: verification-rocky-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-24 Thread Edward Hope-Morley
bionic-stein verified with [Test Case] and output is:

# apt-cache policy neutron-l3-agent 
neutron-l3-agent:
  Installed: 2:14.3.0-0ubuntu1~cloud2
  Candidate: 2:14.3.0-0ubuntu1~cloud2
  Version table:
 *** 2:14.3.0-0ubuntu1~cloud2 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu 
bionic-proposed/stein/main amd64 Packages
100 /var/lib/dpkg/status
 2:12.1.1-0ubuntu1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main 
amd64 Packages
 2:12.0.1-0ubuntu1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main amd64 
Packages

# ./discover_ip_rules_affected_by_lp1891673.sh
Nothing to cleanup - exiting.

** Tags added: verification-stein-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-23 Thread Edward Hope-Morley
bionic-train verified with [Test Case] and output is:

# apt-cache policy neutron-common 
neutron-common:
  Installed: 2:15.1.0-0ubuntu1~cloud1
  Candidate: 2:15.1.0-0ubuntu1~cloud1
  Version table:
 *** 2:15.1.0-0ubuntu1~cloud1 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu 
bionic-proposed/train/main amd64 Packages
100 /var/lib/dpkg/status
 2:12.1.1-0ubuntu1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main 
amd64 Packages
 2:12.0.1-0ubuntu1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main amd64 
Packages

# ./discover_ip_rules_affected_by_lp1891673.sh
Nothing to cleanup - exiting.


** Tags added: verification-train-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-23 Thread Edward Hope-Morley
focal/ussuri verified with [Test Case] and output is:

# apt-cache policy neutron-common
neutron-common:
  Installed: 2:16.1.0-0ubuntu2
  Candidate: 2:16.1.0-0ubuntu2
  Version table:
 *** 2:16.1.0-0ubuntu2 500
500 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
100 /var/lib/dpkg/status
 2:16.1.0-0ubuntu1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/main 
amd64 Packages
 2:16.0.0~b3~git2020041516.5f42488a9a-0ubuntu2 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 
Packages

# ./discover_ip_rules_affected_by_lp1891673.sh
Nothing to cleanup - exiting.


** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-23 Thread Edward Hope-Morley
bionic-ussuri verified with [Test Case] and output is:

# apt-cache policy neutron-common 
neutron-common:
  Installed: 2:16.1.0-0ubuntu2~cloud0
  Candidate: 2:16.1.0-0ubuntu2~cloud0
  Version table:
 *** 2:16.1.0-0ubuntu2~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu 
bionic-proposed/ussuri/main amd64 Packages
100 /var/lib/dpkg/status
 2:12.1.1-0ubuntu1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main 
amd64 Packages
 2:12.0.1-0ubuntu1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main amd64 
Packages

# ./discover_ip_rules_affected_by_lp1891673.sh 
Nothing to cleanup - exiting.


** Tags removed: verification-ussuri-needed
** Tags added: verification-ussuri-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-23 Thread Edward Hope-Morley
@brian-murray the focal-proposed build appears to have failed as a
result of a timeout. I've requested a rebuild on #ubuntu-server so
hopefully it will pass next time. I will move on to verifying the others
and circle back to focal once the build succeeds.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-22 Thread Brian Murray
Hello Edward, or anyone else affected,

Accepted neutron into focal-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/neutron/2:16.1.0-0ubuntu2 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: neutron (Ubuntu Focal)
   Status: Triaged => Fix Committed

** Tags added: verification-needed verification-needed-focal

** Changed in: neutron (Ubuntu Bionic)
   Status: Triaged => Fix Committed

** Tags added: verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-22 Thread Edward Hope-Morley
The build in groovy-updates [1] matches that in victoria-staging [2] and
both have the fix hence why I am marking them as Fix Commited (since
groovy/victoria is not released yet).

[1] 
https://launchpad.net/ubuntu/+source/neutron/2:17.0.0~git2020091014.215a541bd4-0ubuntu1
[2] 
https://launchpad.net/~ubuntu-cloud-archive/+archive/ubuntu/victoria-staging/+build/19932691

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-22 Thread Edward Hope-Morley
** Changed in: cloud-archive/victoria
   Status: Triaged => Fix Committed

** Changed in: neutron (Ubuntu Groovy)
   Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-21 Thread Edward Hope-Morley
** Changed in: cloud-archive/ussuri
   Status: Fix Committed => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-21 Thread OpenStack Infra
Reviewed:  https://review.opendev.org/750394
Committed: 
https://git.openstack.org/cgit/openstack/neutron/commit/?id=8ba796ea7ff28a815996ffeaf3c4dc39df1edcfb
Submitter: Zuul
Branch:stable/ussuri

commit 8ba796ea7ff28a815996ffeaf3c4dc39df1edcfb
Author: Edward Hope-Morley 
Date:   Fri Aug 14 17:44:54 2020 +0100

Ensure fip ip rules deleted when fip removed

The information needed to delete ip rules associated
with fips is held in memory between add and remove so
a restart of the l3-agent results in any fips that
existed before the restart having their ip rules
persist after the fips are removed. This patch
enures that an agent restart reloads this information
so that ip rules associated with a fip are correctly
removed when the fip is removed.

Change-Id: If656a703c996ccc7719b1b09d793c5bbdfd6f3c1
Closes-Bug: #1891673
(cherry picked from commit 5eca44bfa850e6e75c9974ae7711b87764628253)


** Changed in: cloud-archive/ussuri
   Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-21 Thread Edward Hope-Morley
** Changed in: neutron (Ubuntu Bionic)
   Status: Incomplete => Triaged

** Changed in: neutron (Ubuntu Focal)
   Status: Incomplete => Triaged

** Changed in: neutron (Ubuntu Groovy)
   Status: Incomplete => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-16 Thread Edward Hope-Morley
@racb done.

** Description changed:

  [Impact]
  
  neutron-l3-agent restart causes partial loss of fip information such
  that fip removal from vm results in ip rules left behind which breaks
  external network access for that vm.
  
  [Test Case]
  
  * deploy openstack with dvr enabled
  * create distributed router, network etc
  * create a vm and attach a floating ip
  * go to compute host on which vm is running and restart neutron-l3-agent
  * tail -f /var/log/neutron/neutron-l3-agent.log until it settles
  * remove fip from vm
  * run https://gist.github.com/dosaboy/eca8dcd4560f68d856f465ca8382c58b on 
that compute node
  * should return with "nothing to do"
  
  [Regression Potential]
- none expected
+ 
+ the patch is reloading, on agent startup, information associated with
+ floating ips, specifically the information needed to delete ip rules and
+ rule priorities associated with a floating ip. Since that is essentially
+ read-only I don't envisage a regression potential. When the l3-agent
+ comes to use that information to delete the floating ip an error could
+ occur if the information it is trying to delete no longer exists but
+ that would not be a problem introduced by this patch so again, I don't
+ envisage any potential for regressions from this patch since it doesn't
+ change behavior in any way other than allowing the l3-agent to behave
+ the same as if it hadn't been restarted.
  
  [Other Info]
  patched neutron l3 agent will reload info for *used* floating ips when 
restarted BUT if there are ip rules left behind from fips removed prior to 
using a pathed neutron then manual cleanup is still required and for that you 
can use https://gist.github.com/dosaboy/eca8dcd4560f68d856f465ca8382c58b.
-  
+ 
  --
  
  With Bionic Stein using dvr_snat if I add a floating ip to a vm then
  remove the floating ip, the corresponding ip rules in the associated
  qrouter ns local to the instance are not deleted which results in no
  longer being able to reach the external network because packets are
  still sent to the fip namespace (via rfp-/fpr-) e.g. in my compute host
  running a vm whose address is 192.168.21.28 for which i have removed the
  fip I still see:
  
  # ip netns exec qrouter-5e45608f-33d4-41bf-b3ba-915adf612e65 ip rule list
  0:  from all lookup local
  32765:  from 192.168.21.28 lookup 16
  32766:  from all lookup main
  32767:  from all lookup default
  3232240897: from 192.168.21.1/24 lookup 3232240897
  3232241231: from 192.168.22.79/24 lookup 3232241231
  
  And table 16 leads to:
  
  # ip netns exec qrouter-5e45608f-33d4-41bf-b3ba-915adf612e65 ip route show 
table 16
  default via 169.254.109.249 dev rfp-5e45608f-3
  
  Which results in the instance no longer being able to reach the external
  network (packets are never sent to the snat- ns in my case).
  
  The workaround is to delete that ip rule but neutron should be taking
  care of this. Looks like the culprit is in
  neutron/agent/l3/dvr_local_router.py:floating_ip_removed_dist
  
  Note that the NAT rules were successfully removed from iptables so looks
  like it is just this bit that is left behind.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-16 Thread Robie Basak
For the Ubuntu SRU:

Please fix this in Groovy first, or explain why an exception to policy
is warranted in this specific case.

> [Regression Potential]
> none expected

This is not acceptable. Please see
https://wiki.ubuntu.com/StableReleaseUpdates#Procedure and provide the
analysis required.

** Changed in: neutron (Ubuntu Bionic)
   Status: Triaged => Incomplete

** Changed in: neutron (Ubuntu Focal)
   Status: Triaged => Incomplete

** Changed in: neutron (Ubuntu Groovy)
   Status: Triaged => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-11 Thread Corey Bryant
Thanks Ed, this has been uploaded to the corresponding unapproved queues
and cloud archive staging PPAs.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-10 Thread Corey Bryant
** Changed in: cloud-archive/victoria
   Importance: Undecided => High

** Changed in: cloud-archive/victoria
   Status: New => Triaged

** Changed in: cloud-archive/queens
   Importance: Undecided => High

** Changed in: cloud-archive/queens
   Status: In Progress => Triaged

** Changed in: cloud-archive/rocky
   Importance: Undecided => High

** Changed in: cloud-archive/rocky
   Status: In Progress => Triaged

** Changed in: cloud-archive/stein
   Importance: Undecided => High

** Changed in: cloud-archive/stein
   Status: In Progress => Triaged

** Changed in: cloud-archive/train
   Importance: Undecided => High

** Changed in: cloud-archive/train
   Status: In Progress => Triaged

** Changed in: cloud-archive/ussuri
   Importance: Undecided => High

** Changed in: cloud-archive/ussuri
   Status: In Progress => Triaged

** Changed in: neutron (Ubuntu Bionic)
   Importance: Undecided => High

** Changed in: neutron (Ubuntu Bionic)
   Status: New => Triaged

** Changed in: neutron (Ubuntu Focal)
   Importance: Undecided => High

** Changed in: neutron (Ubuntu Focal)
   Status: New => Triaged

** Changed in: neutron (Ubuntu Groovy)
   Importance: Undecided => High

** Changed in: neutron (Ubuntu Groovy)
   Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-09 Thread Edward Hope-Morley
** Patch added: "lp1891673-bionic-rocky.debdiff"
   
https://bugs.launchpad.net/neutron/+bug/1891673/+attachment/5409049/+files/lp1891673-bionic-rocky.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-09 Thread Edward Hope-Morley
** Patch added: "lp1891673-bionic-queens.debdiff"
   
https://bugs.launchpad.net/neutron/+bug/1891673/+attachment/5409048/+files/lp1891673-bionic-queens.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-09 Thread Edward Hope-Morley
** Patch added: "lp1891673-bionic-stein-uca.debdiff"
   
https://bugs.launchpad.net/neutron/+bug/1891673/+attachment/5409037/+files/lp1891673-bionic-stein-uca.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-09 Thread Ubuntu Foundations Team Bug Bot
The attachment "lp1891673-focal-ussuri.debdiff" seems to be a debdiff.
The ubuntu-sponsors team has been subscribed to the bug report so that
they can review and hopefully sponsor the debdiff.  If the attachment
isn't a patch, please remove the "patch" flag from the attachment,
remove the "patch" tag, and if you are member of the ~ubuntu-sponsors,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-09 Thread Edward Hope-Morley
** Description changed:

+ [Impact]
+ 
+ neutron-l3-agent restart causes partial loss of fip information such
+ that fip removal from vm results in ip rules left behind which breaks
+ external network access for that vm.
+ 
+ [Test Case]
+ 
+ * deploy openstack with dvr enabled
+ * create distributed router, network etc
+ * create a vm and attach a floating ip
+ * go to compute host on which vm is running and restart neutron-l3-agent
+ * tail -f /var/log/neutron/neutron-l3-agent.log until it settles
+ * remove fip from vm
+ * run https://gist.github.com/dosaboy/eca8dcd4560f68d856f465ca8382c58b on 
that compute node
+ * should return with "nothing to do"
+ 
+ [Regression Potential]
+ none expected
+ 
+ [Other Info]
+ patched neutron l3 agent will reload info for *used* floating ips when 
restarted BUT if there are ip rules left behind from fips removed prior to 
using a pathed neutron then manual cleanup is still required and for that you 
can use https://gist.github.com/dosaboy/eca8dcd4560f68d856f465ca8382c58b.
+  
+ --
+ 
  With Bionic Stein using dvr_snat if I add a floating ip to a vm then
  remove the floating ip, the corresponding ip rules in the associated
  qrouter ns local to the instance are not deleted which results in no
  longer being able to reach the external network because packets are
  still sent to the fip namespace (via rfp-/fpr-) e.g. in my compute host
  running a vm whose address is 192.168.21.28 for which i have removed the
  fip I still see:
  
  # ip netns exec qrouter-5e45608f-33d4-41bf-b3ba-915adf612e65 ip rule list
- 0:  from all lookup local 
- 32765:  from 192.168.21.28 lookup 16 
- 32766:  from all lookup main 
- 32767:  from all lookup default 
- 3232240897: from 192.168.21.1/24 lookup 3232240897 
+ 0:  from all lookup local
+ 32765:  from 192.168.21.28 lookup 16
+ 32766:  from all lookup main
+ 32767:  from all lookup default
+ 3232240897: from 192.168.21.1/24 lookup 3232240897
  3232241231: from 192.168.22.79/24 lookup 3232241231
  
  And table 16 leads to:
  
  # ip netns exec qrouter-5e45608f-33d4-41bf-b3ba-915adf612e65 ip route show 
table 16
  default via 169.254.109.249 dev rfp-5e45608f-3
  
  Which results in the instance no longer being able to reach the external
  network (packets are never sent to the snat- ns in my case).
  
  The workaround is to delete that ip rule but neutron should be taking
  care of this. Looks like the culprit is in
  neutron/agent/l3/dvr_local_router.py:floating_ip_removed_dist
  
  Note that the NAT rules were successfully removed from iptables so looks
  like it is just this bit that is left behind.

** Tags added: sts-sru-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-09 Thread Edward Hope-Morley
** Also affects: neutron (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: neutron (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: neutron (Ubuntu Groovy)
   Importance: Undecided
   Status: New

** Also affects: neutron (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Patch added: "lp1891673-focal-ussuri.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1891673/+attachment/5408960/+files/lp1891673-focal-ussuri.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-09 Thread Edward Hope-Morley
** Patch added: "lp1891673-bionic-train-uca.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1891673/+attachment/5408962/+files/lp1891673-bionic-train-uca.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891673] Re: qrouter ns ip rules not deleted when fip removed from vm

2020-09-09 Thread Edward Hope-Morley
Stable backports submitted upstream:
https://review.opendev.org/#/q/topic:bug/1891673+(status:open+OR+status:merged)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891673

Title:
  qrouter ns ip rules not deleted when fip removed from vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1891673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs