Working with Openstack metadata service when using OVN

Metadata agent Running the agent neutron-ovn-metadata-agent –config-file /etc/neutron/neutron.conf –config-file /etc/neutron/neutron_ovn_metadata_agent.ini Configure neutron_ovn_metadata_agent.ini.j2 on the compute node(s) [ovn] ovn_nb_connection=tcp:{{OVN Controller IP}}:6641 ovn_sb_connection=tcp:{{OVN Controller IP}}:6642 ovn_metadata_enabled = true Configure neutron.conf on the Neutron server [ovn] ovn_metadata_enabled = true     Reading https://docs.openstack.org/networking-ovn/latest/admin/refarch/refarch.html – For a nice diagram on how the bits fit together https://man7.org/linux/man-pages/man7/ovn-architecture.7.html – Some more […]

Read More »

OpenVSwitch – Remove a port from a bond

Short answer: There is no dedicated command for that but it can done.   Long answer: ovs-vsctl –id=@eth0 get Interface eth0 — remove Port bond0 interfaces @eth0   https://mail.openvswitch.org/pipermail/ovs-discuss/2015-May/037372.html

Read More »

Openstack – Layer2 Gateway(VXLAN -> Real world bridge)

This article is the culmination of 100’s of hours of work, I hope it can save others some time. Here are some super useful articles that got me across the line https://networkop.co.uk/blog/2016/05/21/neutron-l2gw/ https://wiki.openstack.org/wiki/Ovs-flow-logic http://kimizhang.com/neutron-l2-gateway-hp-5930-switch-ovsdb-integration/ https://drive.google.com/file/d/0Bx8nDIFktlzBRm0tV3pmYURnZ3M/view https://github.com/openstack/networking-l2gw   Setting up and Openvswitch VTEP Step1 – Kill all Openvswitch processes use ps ax | grep ovs to […]

Read More »