Hi Jani, On 2/20/25 10:50 AM, Jani Heikkinen wrote:
On 2/18/25 19:14, Brian Haley wrote:
Hi Jani,
On 2/18/25 5:47 AM, Jani Heikkinen wrote:
We have been installing openstack Dalmatian based on Debian packages on our institution.
I am currently trying to configure OVN neutron metadata service, but it seems very hard to find how OVN actually currently does it.
See [1.]. The documentation states first, that ovn-metadata-agent will run with a netns and haproxy instance on hypervisor.
But there is also a reference to having metadata support in ovn-controller. In addition, I have seen hints suggesting that neutron-ovn-agent and neutron-ovn-metadata-agent would be exclusive to each other.
The doc you linked is from the old networking-ovn repository, and was more intended for developers, not cloud admins. All code is now in the neutron repository (including this old design document) since we didn't want to throw it all out. Metadata is not supported in ovn-controller.
Starting in later releases you can run either the neutron-ovn-agent (with the metadata extension enabled), or the neutron-ovn-metadata-agent, I would start with the latter to keep it simple.
Thank you Brian. I will use for now the neutron-ovn-metadata agent, since the neutron-ovn-agent with metadata extension does not really have any kind of documentation how to set it up.
What is the currently up-to-date way to configure OVN metadata agent? Especially, is there any up-to-date instructions how to properly configure neutron's related config files?
https://docs.openstack.org/neutron/latest/install/ovn/manual_install.html
A manual install is a bit of an art, and I'm not sure if everything in Debian follows that doc, but it should be pretty close to the Ubuntu sections.
I have so far used the Ubuntu install instructions. For the documentation, it would be good to integrate somehow the networking install documentation.
Thanks for the feedback. If you want to file a bug or propose a patch to make things better I would be happy to review it! -Brian
Now there is at least:
1. https://docs.openstack.org/neutron/latest/install/ovn/manual_install.html
2. https://docs.openstack.org/neutron/latest/install/controller-install-ubuntu.... and
https://docs.openstack.org/neutron/latest/install/controller-install-option2...
All combined the information on these sources is not so bad, but it is confusing, because the main neutron networking guide will instruct to install OVS networking with all the DHCP agents, L3 agents and so on.
I managed to get the metadata service running and OVN to work, but it could have been less painful with integrated documentation. For admin it would be useful to have
for example
- install controller (ubuntu)
- Linux bridge
- OVS
- OVN
- install controller (centos)
.. (as above)
- install controller (archX)
..
Best, and thanks
Jani
-Brian
We have following versions of ovn and ovs:
openvswitch-common 3.1.0-2 (+deb12u1)
ovn-common 23.03.1-1 (~deb12u2)
ovn-host 23.03.1-1 (~deb12u2)
neutron-ovn-metadata-agent 2:25.0.0 (-5~bpo12+1)
neutron-ovn-agent 2:25.0.0 (-5~bpo12+1)
Best Regards, Jani Heikkinen
[1.]
https://docs.openstack.org/networking-ovn/latest/contributor/design/metadata...