← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1627691] [NEW] non-existent namespace errors in DHCP agent

 

Public bug reported:

The DHCP agent log gets sprinkled with ERROR logs when a call to disable
DHCP for a network happens twice. This can happen if an agent's port is
deleted and then a delete network call for its network happens before it
resyncs (both events call 'disable' on the driver).


http://logs.openstack.org/91/375791/9/check/gate-tempest-dsvm-neutron-dvr-ubuntu-xenial/16e9b8f/logs/screen-q-dhcp.txt.gz?level=TRACE

2016-09-25 12:56:37.463 15334 ERROR neutron.agent.linux.utils [req-
3882fc97-98a1-410e-8638-4de87841e5ee - -] Exit code: 1; Stdin: ; Stdout:
; Stderr: Cannot remove namespace file "/var/run/netns/qdhcp-3e0f2433
-c53d-43e4-8c1e-5c6b863ad693": No such file or directory

2016-09-25 12:56:37.463 15334 WARNING neutron.agent.linux.dhcp [req-3882fc97-98a1-410e-8638-4de87841e5ee - -] Failed trying to delete namespace: qdhcp-3e0f2433-c53d-43e4-8c1e-5c6b863ad693
2016-09-25 12:57:24.774 15334 ERROR neutron.agent.linux.utils [req-113e268a-f42d-4a45-8e4e-e5530a14f43f - -] Exit code: 1; Stdin: ; Stdout: ; Stderr: Cannot remove namespace file "/var/run/netns/qdhcp-82696d3a-3ef9-4744-a685-cfd38730b541": No such file or directory

2016-09-25 12:57:24.774 15334 WARNING neutron.agent.linux.dhcp [req-113e268a-f42d-4a45-8e4e-e5530a14f43f - -] Failed trying to delete namespace: qdhcp-82696d3a-3ef9-4744-a685-cfd38730b541
2016-09-25 12:57:32.672 15334 ERROR neutron.agent.linux.utils [req-702f653b-f69b-485b-917f-9231622a5fae - -] Exit code: 1; Stdin: ; Stdout: ; Stderr: Cannot remove namespace file "/var/run/netns/qdhcp-4a536dcd-5047-4c39-91cb-30ab11cb3d73": No such file or directory

2016-09-25 12:57:32.673 15334 WARNING neutron.agent.linux.dhcp [req-
702f653b-f69b-485b-917f-9231622a5fae - -] Failed trying to delete
namespace: qdhcp-4a536dcd-5047-4c39-91cb-30ab11cb3d73

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: In Progress

** Changed in: neutron
    Milestone: None => newton-rc2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1627691

Title:
  non-existent namespace errors in DHCP agent

Status in neutron:
  In Progress

Bug description:
  The DHCP agent log gets sprinkled with ERROR logs when a call to
  disable DHCP for a network happens twice. This can happen if an
  agent's port is deleted and then a delete network call for its network
  happens before it resyncs (both events call 'disable' on the driver).

  
  http://logs.openstack.org/91/375791/9/check/gate-tempest-dsvm-neutron-dvr-ubuntu-xenial/16e9b8f/logs/screen-q-dhcp.txt.gz?level=TRACE

  2016-09-25 12:56:37.463 15334 ERROR neutron.agent.linux.utils [req-
  3882fc97-98a1-410e-8638-4de87841e5ee - -] Exit code: 1; Stdin: ;
  Stdout: ; Stderr: Cannot remove namespace file "/var/run/netns/qdhcp-
  3e0f2433-c53d-43e4-8c1e-5c6b863ad693": No such file or directory

  2016-09-25 12:56:37.463 15334 WARNING neutron.agent.linux.dhcp [req-3882fc97-98a1-410e-8638-4de87841e5ee - -] Failed trying to delete namespace: qdhcp-3e0f2433-c53d-43e4-8c1e-5c6b863ad693
  2016-09-25 12:57:24.774 15334 ERROR neutron.agent.linux.utils [req-113e268a-f42d-4a45-8e4e-e5530a14f43f - -] Exit code: 1; Stdin: ; Stdout: ; Stderr: Cannot remove namespace file "/var/run/netns/qdhcp-82696d3a-3ef9-4744-a685-cfd38730b541": No such file or directory

  2016-09-25 12:57:24.774 15334 WARNING neutron.agent.linux.dhcp [req-113e268a-f42d-4a45-8e4e-e5530a14f43f - -] Failed trying to delete namespace: qdhcp-82696d3a-3ef9-4744-a685-cfd38730b541
  2016-09-25 12:57:32.672 15334 ERROR neutron.agent.linux.utils [req-702f653b-f69b-485b-917f-9231622a5fae - -] Exit code: 1; Stdin: ; Stdout: ; Stderr: Cannot remove namespace file "/var/run/netns/qdhcp-4a536dcd-5047-4c39-91cb-30ab11cb3d73": No such file or directory

  2016-09-25 12:57:32.673 15334 WARNING neutron.agent.linux.dhcp [req-
  702f653b-f69b-485b-917f-9231622a5fae - -] Failed trying to delete
  namespace: qdhcp-4a536dcd-5047-4c39-91cb-30ab11cb3d73

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1627691/+subscriptions


Follow ups