Comment 8 for bug 1970899

Revision history for this message
Harald Jensås (harald-jensas) wrote :

INFO:__main__:Setting permission for /var/log/neutron/privsep-helper.log
++ cat /run_command
+ CMD='/usr/bin/ironic-neutron-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ironic_neutron_agent.ini --config-dir /etc/neutron/conf.d/common'
+ ARGS=
+ [[ ! -n '' ]]
+ . kolla_extend_start
+ echo 'Running command: '\''/usr/bin/ironic-neutron-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ironic_neutron_agent.ini --config-dir /etc/neutron/conf.d/common'\'''
Running command: '/usr/bin/ironic-neutron-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ironic_neutron_agent.ini --config-dir /etc/neutron/conf.d/common'
+ exec /usr/bin/ironic-neutron-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ironic_neutron_agent.ini --config-dir /etc/neutron/conf.d/common
Traceback (most recent call last):
  File "/usr/bin/ironic-neutron-agent", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python3.9/site-packages/networking_baremetal/agent/ironic_neutron_agent.py", line 267, in main
    common_config.register_common_config_options()
AttributeError: module 'neutron.common.config' has no attribute 'register_common_config_options'

So, we seem to not have neutron with [1] in the container.
We had to fix networking-baremetal to load register the options explicitly because of that change, since it neutron stopped registering opts on import.

Now we have the fix in network-baremetal, but we don't have the neutron change.

[1] https://review.opendev.org/c/openstack/neutron/+/837392/12/neutron/common/config.py#52