Hi Seongsoo,

You might be hitting https://bugs.launchpad.net/neutron/+bug/1966858. Can confirm it with:
ls -l /opt or stat /opt/stack, if there are no executable permission for others it's the same and can be cleared with sudo chmod +x /opt/stack.



On Mon, Dec 2, 2024 at 11:47 AM Seongsoo Cho <ppiyakk2@printf.kr> wrote:
Hi OpenStack Community

Since a few weeks ago, I've been getting an error on neutron module import when installing devstack.

I still can't get rid of the error, how can I fix it?

[ Error Message ]
ERROR neutron     return self.channel.remote_call(name, args, kwargs,
ERROR neutron   File "/opt/stack/data/venv/lib/python3.10/site-packages/oslo_privsep/daemon.py", line 215, in remote_call
ERROR neutron     raise exc_type(*result[2])
ERROR neutron ModuleNotFoundError: No module named 'neutron.privileged.agent'
ERROR neutron
+lib/neutron_plugins/ovs_base:_neutron_ovs_base_setup_bridge:1  exit_trap
+./stack.sh:exit_trap:540                  local r=1
++./stack.sh:exit_trap:541                  jobs -p

You can find the full error message from this link
full error : https://pastebin.com/KEn33H1a

[ Environment ]
OS : Ubuntu 24.04
devstack branch : stable/2024.2
full error : https://pastebin.com/KEn33H1a
world dump : https://pastebin.com/vp4Azqjg

Best Regards
Seongsoo
--
Seongsoo Cho
OpenStack Korea User Group / Community Leader
IRC #seongsoocho


--
Thanks and Regards
Yatin Karel