发起问题

jbacelo 的档案 - activity

2020-10-16 07:26:59 -0500 获得奖牌  著名问题 (source)
2020-04-19 03:57:12 -0500 获得奖牌  受欢迎的问题 (source)
2020-04-19 03:57:12 -0500 获得奖牌  热门的问题 (source)
2020-04-15 09:18:56 -0500 获得奖牌  粉丝
2020-04-10 07:45:34 -0500 问了问题 Neutron error: oslo_privsep.daemon.FailedToDropPrivileges: privsep helper command exited non-zero (1)

during the configuration of Neutron (OpenStack Stein), I found this error

oslo_privsep.daemon.FailedToDropPrivileges: privsep helper command exited non-zero (1)

All services are running but this error still appears as you can see here: https://i.stack.imgur.com/p2igi.png (https://i.stack.imgur.com/p2igi.png (enter image description here))

neutron-dhcp-agent.log:

2020-04-10 12:35:28.260 11675 INFO neutron.agent.dhcp.agent [-] Starting network f16e9457-1d03-44a2-b9e4-58666a06bca5 dhcp configuration
2020-04-10 12:35:28.260 11675 DEBUG neutron.agent.dhcp.agent [-] Calling driver for network: f16e9457-1d03-44a2-b9e4-58666a06bca5 action: enable call_driver /usr/lib/python3/dist-packages/neutron/agent/dhcp/agent.py:150
2020-04-10 12:35:28.261 11675 DEBUG neutron.agent.linux.utils [-] Unable to access /var/lib/neutron/dhcp/f16e9457-1d03-44a2-b9e4-58666a06bca5/pid get_value_from_file /usr/lib/python3/dist-packages/neutron/agent/linux/utils.py:261
2020-04-10 12:35:28.261 11675 INFO oslo.privsep.daemon [-] Running privsep helper: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'privsep-helper', '--config-file', '/etc/neutron/neutron.conf', '--config-file', '/etc/neutron/dhcp_agent.ini', '--privsep_context', 'neutron.privileged.default', '--privsep_sock_path', '/tmp/tmp17yerien/privsep.sock']
2020-04-10 12:35:29.339 11675 CRITICAL oslo.privsep.daemon [-] privsep helper command exited non-zero (1)
2020-04-10 12:35:29.341 11675 ERROR neutron.agent.dhcp.agent [-] Unable to enable dhcp for f16e9457-1d03-44a2-b9e4-58666a06bca5.: oslo_privsep.daemon.FailedToDropPrivileges: privsep helper command exited non-zero (1)
2020-04-10 12:35:29.341 11675 ERROR neutron.agent.dhcp.agent Traceback (most recent call last):
2020-04-10 12:35:29.341 11675 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python3/dist-packages/neutron/agent/dhcp/agent.py", line 159, in call_driver
2020-04-10 12:35:29.341 11675 ERROR neutron.agent.dhcp.agent     getattr(driver, action)(**action_kwargs)
2020-04-10 12:35:29.341 11675 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python3/dist-packages/neutron/agent/linux/dhcp.py", line 218, in enable
2020-04-10 12:35:29.341 11675 ERROR neutron.agent.dhcp.agent     common_utils.wait_until_true(self._enable, timeout=300)
2020-04-10 12:35:29.341 11675 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python3/dist-packages/neutron/common/utils.py", line 691, in wait_until_true
2020-04-10 12:35:29.341 11675 ERROR neutron.agent.dhcp.agent     while not predicate():
2020-04-10 12:35:29.341 11675 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python3/dist-packages/neutron/agent/linux/dhcp.py", line 229, in _enable
2020-04-10 12:35:29.341 11675 ERROR neutron.agent.dhcp.agent     interface_name = self.device_manager.setup(self.network)
2020-04-10 12:35:29.341 11675 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python3/dist-packages/neutron/agent/linux/dhcp.py", line 1516, in setup
2020-04-10 12:35:29.341 11675 ERROR neutron.agent.dhcp.agent     ip_lib.IPWrapper().ensure_namespace(network.namespace)
2020-04-10 12:35:29.341 11675 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python3/dist-packages/neutron/agent/linux/ip_lib.py", line 236, in ensure_namespace
2020-04-10 12:35:29.341 11675 ERROR neutron.agent.dhcp.agent     if not self.netns.exists(name):
2020-04-10 12:35:29.341 11675 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python3/dist-packages/neutron/agent/linux/ip_lib.py", line 797, in exists
2020-04-10 ...
(more)
2020-04-09 15:25:47 -0500 回答问题 django.template.exceptions.TemplateDoesNotExist: registration/login.html

I solved it. Downgrading Django version from 2.2 to 1.11. Reinstalled it and it worked.

2020-04-07 12:03:49 -0500 问了问题 django.template.exceptions.TemplateDoesNotExist: registration/login.html

Hi, I'm currently installing Openstack Stein, and now I'm trying to install Horizon, following the tutorial. I end up in this error:

ERROR django.request Internal Server Error: /horizon/auth/login/
Traceback (most recent call last):
 File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/exception.py", line 34, in inner
   response = get_response(request)
 File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py", line 145, in _get_response
  response = self.process_exception_by_middleware(e, request)
 File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py", line 143, in _get_response
  response = response.render()
 File "/usr/local/lib/python3.6/dist-packages/django/template/response.py", line 106, in render
   self.content = self.rendered_content
 File "/usr/local/lib/python3.6/dist-packages/django/template/response.py", line 81, in rendered_content
   template = self.resolve_template(self.template_name)
 File "/usr/local/lib/python3.6/dist-packages/django/template/response.py", line 63, in resolve_template
   return select_template(template, using=self.using)
 File "/usr/local/lib/python3.6/dist-packages/django/template/loader.py", line 47, in select_template
   raise TemplateDoesNotExist(', '.join(template_name_list), chain=chain)
django.template.exceptions.TemplateDoesNotExist: registration/login.html

I googled it but didn't found any answer.

Thks for the help