yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #29133
[Bug 1429559] [NEW] config dir gets removed too soon on dhcp disable
Public bug reported:
vagrant@node1:/opt/stack/neutron$ neutron dhcp-agent-list-hosting-net private
+--------------------------------------+-------+----------------+-------+
| id | host | admin_state_up | alive |
+--------------------------------------+-------+----------------+-------+
| 874fe665-9a5f-4668-b185-33f1d7073d5e | node1 | True | :-) |
+--------------------------------------+-------+----------------+-------+
vagrant@node1:/opt/stack/neutron$ neutron dhcp-agent-network-remove 874fe665-9a5f-4668-b185-33f1d7073d5e private
Removed network private from DHCP agent
2015-03-08 10:58:39.872 22602 DEBUG neutron.agent.linux.dhcp [req-9077e467-64cb-45e6-9509-856337c01ff5 None] Unable to access /opt/stack/data/neutron/dhcp/c7fc6f89-6f4a-40eb-98c6-77db7707c4b6/interface _get_value_from_conf_file /opt/stack/neutron/neutron/agent/linux/dhcp.py:256
2015-03-08 10:58:39.875 22602 DEBUG neutron.agent.linux.utils [req-9077e467-64cb-45e6-9509-856337c01ff5 None] Running command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-c7fc6f89-6f4a-40eb-98c6-77db7707c4b6', 'ip', 'link', 'delete', 'None'] create_process /opt/stack/neutron/neutron/agent/linux/utils.py:51
2015-03-08 10:58:40.121 22602 ERROR neutron.agent.linux.utils [req-9077e467-64cb-45e6-9509-856337c01ff5 None]
Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-c7fc6f89-6f4a-40eb-98c6-77db7707c4b6', 'ip', 'link', 'delete', 'None']
Exit code: 1
Stdout:
Stderr: Cannot find device "None"
2015-03-08 10:58:40.125 22602 ERROR neutron.agent.linux.interface [req-
9077e467-64cb-45e6-9509-856337c01ff5 None] Failed unplugging interface
'None'
** Affects: neutron
Importance: Undecided
Assignee: Darragh O'Reilly (darragh-oreilly)
Status: In Progress
** Tags: l3-ipam-dhcp
** Changed in: neutron
Assignee: (unassigned) => Darragh O'Reilly (darragh-oreilly)
** Changed in: neutron
Status: New => In Progress
** Tags added: l3-ipam-dhcp
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1429559
Title:
config dir gets removed too soon on dhcp disable
Status in OpenStack Neutron (virtual network service):
In Progress
Bug description:
vagrant@node1:/opt/stack/neutron$ neutron dhcp-agent-list-hosting-net private
+--------------------------------------+-------+----------------+-------+
| id | host | admin_state_up | alive |
+--------------------------------------+-------+----------------+-------+
| 874fe665-9a5f-4668-b185-33f1d7073d5e | node1 | True | :-) |
+--------------------------------------+-------+----------------+-------+
vagrant@node1:/opt/stack/neutron$ neutron dhcp-agent-network-remove 874fe665-9a5f-4668-b185-33f1d7073d5e private
Removed network private from DHCP agent
2015-03-08 10:58:39.872 22602 DEBUG neutron.agent.linux.dhcp [req-9077e467-64cb-45e6-9509-856337c01ff5 None] Unable to access /opt/stack/data/neutron/dhcp/c7fc6f89-6f4a-40eb-98c6-77db7707c4b6/interface _get_value_from_conf_file /opt/stack/neutron/neutron/agent/linux/dhcp.py:256
2015-03-08 10:58:39.875 22602 DEBUG neutron.agent.linux.utils [req-9077e467-64cb-45e6-9509-856337c01ff5 None] Running command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-c7fc6f89-6f4a-40eb-98c6-77db7707c4b6', 'ip', 'link', 'delete', 'None'] create_process /opt/stack/neutron/neutron/agent/linux/utils.py:51
2015-03-08 10:58:40.121 22602 ERROR neutron.agent.linux.utils [req-9077e467-64cb-45e6-9509-856337c01ff5 None]
Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-c7fc6f89-6f4a-40eb-98c6-77db7707c4b6', 'ip', 'link', 'delete', 'None']
Exit code: 1
Stdout:
Stderr: Cannot find device "None"
2015-03-08 10:58:40.125 22602 ERROR neutron.agent.linux.interface
[req-9077e467-64cb-45e6-9509-856337c01ff5 None] Failed unplugging
interface 'None'
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1429559/+subscriptions
Follow ups
References