<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><div><p class="MsoNormal"><span lang="EN-US">Hi, everyone:<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">I tried to build an instance on the<b>
compute node </b>but failed. I am sure that every necessary connection has been
built. <o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">And I found the same error information on
the <b>controller node</b> and the <b>compute node</b> , in <b><i>/var/log/neutron/linuxbride-agent.log</i></b><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">That is information:<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">INFO neutron.common.config [-] Logging
enabled!<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:52.866 2182 INFO
neutron.common.config [-] /usr/bin/neutron-linuxbridge-agent version 17.1.0<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:52.867 2182 INFO
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-]
Interface mappings: {'provider': 'ens160'}<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:52.867 2182 INFO
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-]
Bridge mappings: {}<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:52.868 2182 INFO
oslo.privsep.daemon [-] Running privsep helper: ['sudo', 'neutron-rootwrap',
'/etc/neutron/rootwrap.conf', 'privsep-helper', '--config-file',
'/usr/share/neutron/neutron-dist.conf', '--config-file',
'/etc/neutron/neutron.conf', '--config-file',
'/etc/neutron/plugins/ml2/linuxbridge_agent.ini', '--config-dir',
'/etc/neutron/conf.d/neutron-linuxbridge-agent', '--privsep_context',
'neutron.privileged.default', '--privsep_sock_path',
'/tmp/tmpm5d0ytiv/privsep.sock']<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 CRITICAL
oslo.privsep.daemon [-] privsep helper command exited non-zero (1)<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 CRITICAL
neutron [-] Unhandled error: oslo_privsep.daemon.FailedToDropPrivileges:
privsep helper command exited non-zero (1)<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR neutron
Traceback (most recent call last):<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron File
"/usr/bin/neutron-linuxbridge-agent", line 10, in <module><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron sys.exit(main())<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron File
"/usr/lib/python3.6/site-packages/neutron/cmd/eventlet/plugins/linuxbridge_neutron_agent.py",
line 28, in main<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron agent_main.main()<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron File
"/usr/lib/python3.6/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 1052, in main<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron manager =
LinuxBridgeManager(bridge_mappings, interface_mappings)<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron File
"/usr/lib/python3.6/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 79, in __init__<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron
self.validate_interface_mappings()<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron File
"/usr/lib/python3.6/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 94, in validate_interface_mappings<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron if not
ip_lib.device_exists(interface):<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron File
"/usr/lib/python3.6/site-packages/neutron/agent/linux/ip_lib.py",
line 748, in device_exists<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron return IPDevice(device_name,
namespace=namespace).exists()<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron File
"/usr/lib/python3.6/site-packages/neutron/agent/linux/ip_lib.py",
line 328, in exists<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron return
privileged.interface_exists(self.name, self.namespace)<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron File
"/usr/lib/python3.6/site-packages/oslo_privsep/priv_context.py", line
246, in _wrap<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron self.start()<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron File
"/usr/lib/python3.6/site-packages/oslo_privsep/priv_context.py", line
258, in start<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron channel =
daemon.RootwrapClientChannel(context=self)<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron File
"/usr/lib/python3.6/site-packages/oslo_privsep/daemon.py", line 367,
in __init__<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR
neutron raise FailedToDropPrivileges(msg)<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR neutron
oslo_privsep.daemon.FailedToDropPrivileges: privsep helper command exited
non-zero (1)<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">2021-04-07 11:30:53.346 2182 ERROR neutron<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">And it is the configuration in<b> <i>/etc/sudoer.d/neutron
</i></b>below:<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><b><span lang="EN-US">Defaults:neutron !requiretty<o:p></o:p></span></b></p><p class="MsoNormal"><b><span lang="EN-US">neutron ALL = (root) NOPASSWD:
/usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf *<o:p></o:p></span></b></p><p class="MsoNormal"><b><span lang="EN-US">neutron ALL = (root) NOPASSWD:
/usr/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf<o:p></o:p></span></b></p><p class="MsoNormal"><b><span lang="EN-US"> </span></b></p><p class="MsoNormal"><b><span lang="EN-US"> </span></b></p><p class="MsoNormal">
</p><p class="MsoNormal"><span lang="EN-US">I googled for the solution but they didn’t matter.
How can I solve this problem? Thanks for your advicement!<o:p></o:p></span></p></div><div><span lang="EN-US" style="font-size:10.5pt;mso-bidi-font-size:
11.0pt;font-family:等线;mso-ascii-theme-font:minor-latin;mso-fareast-theme-font:
minor-fareast;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:
ZH-CN;mso-bidi-language:AR-SA"></span></div>