DVR: router is not removed from compute node after last vm is deleted

Bug #1497330 reported by Oleg Bondarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
MOS Neutron
7.0.x
Fix Released
High
Sergii Rizvan
8.0.x
Fix Released
High
MOS Neutron

Bug Description

Filed upstream: https://bugs.launchpad.net/neutron/+bug/1489091

Repro:
1. Start vm
2. Connect DVR router to the vm's subnet
3. Check router is scheduled to the l3 agent on vm's compute node
4. Delete vm (this is the only/last vm on the compute node)
5. Check router is not scheduled to the l3 agent on the compute node
Actual: router is still scheduled to the node with no vms

This is a regression from commit commit 5bac0992d2342791ae270c60a3990e721310ad05

Revision history for this message
Oleg Bondarev (obondarev) wrote :

Action item on me: file and fix upstream.

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/neutron (openstack-ci/fuel-7.0/2015.1.0)

Fix proposed to branch: openstack-ci/fuel-7.0/2015.1.0
Change author: Oleg Bondarev <email address hidden>
Review: https://review.fuel-infra.org/11880

Changed in mos:
status: Confirmed → In Progress
Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

Confirmed for 8.0, High importance because this is regression caused by High bugfix

description: updated
Revision history for this message
Oleg Bondarev (obondarev) wrote :

Fixed in upstream, included in stable/liberty: https://review.openstack.org/217516. Can be closed for 8.0 once stable/liberty is synced

Revision history for this message
Kristina Berezovskaia (kkuznetsova) wrote :

Verify on VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  openstack_version: "2015.1.0-8.0"
  api: "1.0"
  build_number: "196"
  build_id: "196"
  fuel-nailgun_sha: "8d6ef41f1bef84378a61ee98b46aeb2b925fd10f"
  python-fuelclient_sha: "e685d68c1c0d0fa0491a250f07d9c3a8d0f9608c"
  fuel-agent_sha: "1d98edb0468aa70b9b3a43b8422804e9095e7d9d"
  fuel-nailgun-agent_sha: "b56f832abc18aee9a8c603fd6cc2055c5f4287bc"
  astute_sha: "c8400f51b0b92254da206de55ef89d17fdf35393"
  fuel-library_sha: "33c0fa3aada734dc9e6f315197ce0e4a16f5987c"
  fuel-ostf_sha: "11afd5743a12b1006317d3ca7000d1ede77bdae2"
  fuel-createmirror_sha: "994fed9b1ed889718b61a59733275c08c2dd4c64"
  fuelmenu_sha: "d12061b1aee82f81b3d074de74ea27a6e962a686"
  shotgun_sha: "c377d163519f6d10b69a654019d6086ba5f14edc"
  network-checker_sha: "2c62cd52655ea6456ff6294fd63f18d6ea54fe38"
  fuel-upgrade_sha: "1e894e26d4e1423a9b0d66abd6a79505f4175ff6"
  fuelmain_sha: "22fe551f5525d11a1854fd87dbc8c77fae8fec08"
(vxlan+neutron+l2+dvr, 3 controller, 2 compute)

After executing steps from description, namespace on compute node was deleted, dvr router router isn't scheduled to the node with no vms anymore

Revision history for this message
Sergii Rizvan (srizvan) wrote :

Verified on version:
api: '1.0'
astute_sha: 6c5b73f93e24cc781c809db9159927655ced5012
auth_required: true
build_id: '301'
build_number: '301'
feature_groups:
- mirantis
fuel-agent_sha: 50e90af6e3d560e9085ff71d2950cfbcca91af67
fuel-library_sha: 5d50055aeca1dd0dc53b43825dc4c8f7780be9dd
fuel-nailgun-agent_sha: d7027952870a35db8dc52f185bb1158cdd3d1ebd
fuel-ostf_sha: 2cd967dccd66cfc3a0abd6af9f31e5b4d150a11c
fuelmain_sha: a65d453215edb0284a2e4761be7a156bb5627677
nailgun_sha: 4162b0c15adb425b37608c787944d1983f543aa8
openstack_version: 2015.1.0-7.0
production: docker
python-fuelclient_sha: 486bde57cda1badb68f915f66c61b544108606f3
release: '7.0'
release_versions:
  2015.1.0-7.0:
    VERSION:
      api: '1.0'
      astute_sha: 6c5b73f93e24cc781c809db9159927655ced5012
      build_id: '301'
      build_number: '301'
      feature_groups:
      - mirantis
      fuel-agent_sha: 50e90af6e3d560e9085ff71d2950cfbcca91af67
      fuel-library_sha: 5d50055aeca1dd0dc53b43825dc4c8f7780be9dd
      fuel-nailgun-agent_sha: d7027952870a35db8dc52f185bb1158cdd3d1ebd
      fuel-ostf_sha: 2cd967dccd66cfc3a0abd6af9f31e5b4d150a11c
      fuelmain_sha: a65d453215edb0284a2e4761be7a156bb5627677
      nailgun_sha: 4162b0c15adb425b37608c787944d1983f543aa8
      openstack_version: 2015.1.0-7.0
      production: docker
      python-fuelclient_sha: 486bde57cda1badb68f915f66c61b544108606f3
      release: '7.0'

tags: added: on-verification
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/neutron (openstack-ci/fuel-7.0/2015.1.0)

Reviewed: https://review.fuel-infra.org/11880
Submitter: Denis V. Meltsaykin <email address hidden>
Branch: openstack-ci/fuel-7.0/2015.1.0

Commit: 87b74c82bd3396d2be1bcce0739c69330b33bfc3
Author: Oleg Bondarev <email address hidden>
Date: Mon Dec 28 16:20:52 2015

DVR: fix router remove from dvr agent after deleting last port

When last dvr serviceable port is removed from compute host,
dvr router should be unscheduled from l3 agent on that host.
The regression was introduced by
commit 5bac0992d2342791ae270c60a3990e721310ad05

Closes-Bug: #1497330
Change-Id: I9d790d0ebd1d9fc4ee2ef56f87f37077e8e72699

Sergii Rizvan (srizvan)
tags: removed: on-verification
tags: added: 7.0-mu-2
tags: added: on-automation
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :
tags: removed: on-automation
tags: added: covered-automated-test
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.