[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

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

Title:
  Permission denied on l3-agent and dhcp log

Status in neutron:
  Expired

Bug description:
  I got this error on my l3-agent log and I don't know how to fix.

  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task [None 
req-dd0fc086-d150-42b1-8f65-a407c3023cd9 - - - - - -] Error during 
L3NATAgentWithStateReport.periodic_sync_routers_task: PermissionError: [Errno 
13] Permission denied
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task Traceback (most 
recent call last):
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task   File 
"/usr/lib/python3/dist-packages/oslo_service/periodic_task.py", line 216, in 
run_periodic_tasks
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task     task(self, 
context)
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task   File 
"/usr/lib/python3/dist-packages/neutron/agent/l3/agent.py", line 890, in 
periodic_sync_routers_task
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task     with 
self.namespaces_manager as ns_manager:
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task   File 
"/usr/lib/python3/dist-packages/neutron/agent/l3/namespace_manager.py", line 
71, in __enter__
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task     
self._all_namespaces = self.list_all()
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task   File 
"/usr/lib/python3/dist-packages/neutron/agent/l3/namespace_manager.py", line 
117, in list_all
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task     namespaces 
= ip_lib.list_network_namespaces()
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task   File 
"/usr/lib/python3/dist-packages/neutron/agent/linux/ip_lib.py", line 972, in 
list_network_namespaces
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task     return 
privileged.list_netns(**kwargs)
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task   File 
"/usr/lib/python3/dist-packages/oslo_privsep/priv_context.py", line 271, in 
_wrap
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task     return 
self.channel.remote_call(name, args, kwargs,
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task   File 
"/usr/lib/python3/dist-packages/oslo_privsep/daemon.py", line 215, in 
remote_call
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task     raise 
exc_type(*result[2])
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task 
PermissionError: [Errno 13] Permission denied
  2024-09-11 11:35:00.672 3022 ERROR oslo_service.periodic_task 

  I got this on dhcp-agent log:

  
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent [-] Unable to 
enable dhcp for 02f6efbb-d1dd-402e-9ea3-3e857e4e9408.: PermissionError: [Errno 
13] Permission denied
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent Traceback (most 
recent call last):
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent   File 
"/usr/lib/python3/dist-packages/neutron/agent/dhcp/agent.py", line 270, in 
_call_driver
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent     rv = 
getattr(driver, action)(**action_kwargs)
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent   File 
"/usr/lib/python3/dist-packages/neutron/agent/linux/dhcp.py", line 324, in 
enable
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent     
common_utils.wait_until_true(self._enable, timeout=300)
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent   File 
"/usr/lib/python3/dist-packages/neutron/common/utils.py", line 747, in 
wait_until_true
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent     while not 
predicate():
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent   File 
"/usr/lib/python3/dist-packages/neutron/agent/linux/dhcp.py", line 336, in 
_enable
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent     
interface_name = self.device_manager.setup(
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent   File 
"/usr/lib/python3/dist-packages/neutron/agent/linux/dhcp.py", line 1832, in 
setup
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent     
ip_lib.IPWrapper().ensure_namespace(network.namespace)
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent   File 
"/usr/lib/python3/dist-packages/neutron/agent/linux/ip_lib.py", line 254, in 
ensure_namespace
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent     ip = 
self.netns.add(name)
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent   File 
"/usr/lib/python3/dist-packages/neutron/agent/linux/ip_lib.py", line 736, in add
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent     
create_network_namespace(name)
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent   File 
"/usr/lib/python3/dist-packages/neutron/agent/linux/ip_lib.py", line 954, in 
create_network_namespace
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent     
privileged.create_netns(namespace, **kwargs)
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent   File 
"/usr/lib/python3/dist-packages/oslo_privsep/priv_context.py", line 271, in 
_wrap
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent     return 
self.channel.remote_call(name, args, kwargs,
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent   File 
"/usr/lib/python3/dist-packages/oslo_privsep/daemon.py", line 215, in 
remote_call
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent     raise 
exc_type(*result[2])
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent PermissionError: 
[Errno 13] Permission denied
  2024-09-11 12:00:46.840 2999 ERROR neutron.agent.dhcp.agent 


  
  I have the same configuration on my physical server and all is working but I 
got this error on my virtual server where I installed openstack.

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


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to