Trace seen in l3 DVR agent during router interface removal

Bug #1491354 reported by Eugene Nikanorov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Medium
Oleg Bondarev
8.0.x
Won't Fix
Medium
Oleg Bondarev
9.x
Fix Released
Medium
Oleg Bondarev

Bug Description

 37749 DEBUG neutron.agent.linux.utils [-] Running command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'fip-f2621617-6226-4a43-8c4c-a6a346753718', 'ip', '-o', 'link', 'show', 'fpr-5da244ba-d'] create_process /usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py:84
 37749 DEBUG neutron.agent.linux.utils [-]
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'fip-f2621617-6226-4a43-8c4c-a6a346753718', 'ip', '-o', 'link', 'show', 'fpr-5da244ba-d']
Exit code: 1
Stdin:
Stdout:
Stderr: Cannot open network namespace "fip-f2621617-6226-4a43-8c4c-a6a346753718": No such file or directory
 execute /usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py:134
 37749 DEBUG neutron.agent.l3.router_info [-] No Interface for floating IPs router: 5da244ba-df75-403c-8ec0-1005da0760fa process_floating_ip_addresses /usr/lib/python2.7/dist-packages/neutron/agent/l3/router_info.py:230
 37749 ERROR neutron.agent.l3.dvr_router [-] DVR: no map match_port found!
 37749 ERROR neutron.agent.l3.dvr_router [-] DVR: removed snat failed
 37749 TRACE neutron.agent.l3.dvr_router Traceback (most recent call last):
 37749 TRACE neutron.agent.l3.dvr_router File "/usr/lib/python2.7/dist-packages/neutron/agent/l3/dvr_router.py", line 260, in _snat_redirect_modify
 37749 TRACE neutron.agent.l3.dvr_router for gw_fixed_ip in gateway['fixed_ips']:
 37749 TRACE neutron.agent.l3.dvr_router TypeError: 'NoneType' object has no attribute '__getitem__'
 37749 TRACE neutron.agent.l3.dvr_router

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: Eugene Nikanorov <email address hidden>
Review: https://review.fuel-infra.org/11059

Changed in mos:
status: Confirmed → In Progress
Changed in mos:
milestone: none → 7.0
Changed in mos:
importance: Undecided → High
Changed in mos:
importance: High → Medium
milestone: 7.0 → 8.0
status: In Progress → Confirmed
Changed in mos:
status: Confirmed → Won't Fix
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/neutron (openstack-ci/fuel-7.0/2015.1.0)

Change abandoned by Eugene Nikanorov <email address hidden> on branch: openstack-ci/fuel-7.0/2015.1.0
Review: https://review.fuel-infra.org/11059

no longer affects: mos/7.0.x
Changed in mos:
status: Triaged → Won't Fix
tags: added: area-neutron
removed: neutron
Revision history for this message
Oleg Bondarev (obondarev) wrote :

Fixed in Mitaka with https://review.openstack.org/#/c/224250. Marking as Fix committed for 9.0.

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

Check on
cat /etc/fuel_build_id:
 134
cat /etc/fuel_build_number:
 134
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 liberty-9.0
rpm -qa | egrep 'fuel|astute|network-checker|nailgun|packetary|shotgun':
 fuel-release-9.0.0-1.mos6321.noarch
 rubygem-astute-9.0.0-1.mos730.noarch
 fuel-library9.0-9.0.0-1.mos8223.noarch
 shotgun-9.0.0-1.mos85.noarch
 fuel-agent-9.0.0-1.mos270.noarch
 fuel-ui-9.0.0-1.mos2626.noarch
 fuel-migrate-9.0.0-1.mos8223.noarch
 nailgun-mcagents-9.0.0-1.mos730.noarch
 fuel-misc-9.0.0-1.mos8223.noarch
 python-packetary-9.0.0-1.mos128.noarch
 fuel-bootstrap-cli-9.0.0-1.mos270.noarch
 fuel-provisioning-scripts-9.0.0-1.mos8597.noarch
 network-checker-9.0.0-1.mos72.x86_64
 fuel-mirror-9.0.0-1.mos128.noarch
 fuel-openstack-metadata-9.0.0-1.mos8597.noarch
 fuel-notify-9.0.0-1.mos8223.noarch
 fuel-setup-9.0.0-1.mos6321.noarch
 python-fuelclient-9.0.0-1.mos299.noarch
 fuelmenu-9.0.0-1.mos263.noarch
 fuel-9.0.0-1.mos6321.noarch
 fuel-utils-9.0.0-1.mos8223.noarch
 fuel-nailgun-9.0.0-1.mos8597.noarch
 fuel-ostf-9.0.0-1.mos919.noarch

Steps:
1) create net, subnet
2) create DVR router, set gateway and add interface to the net
3) boot vm
4) clear gatawey
5) check logs
There are no Traces during removing gateway

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.