On 2/18/25 3:59 PM, Ihar Hrachyshka wrote:
On Tue, Feb 18, 2025 at 1:14 PM Brian Haley <haleyb.dev@gmail.com <mailto:haleyb.dev@gmail.com>> 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.
Perhaps the doc should not be published if it's old and confusing.
I actually don't know how to have it not show up on docs.openstack.org and codesearch didn't find an obvious answer. I'll gladly make a change if someone can point me in the right direction. -Brian
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.
> 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 <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.
-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... <https://docs.openstack.org/networking-ovn/latest/contributor/design/metadata_api.html> >