On 06/05/2025 14:45, davorin.mikulic@gmail.com wrote:
Also I checked versions of ip commands on the host (CentOS9) and the container (CentOS8) and there is indeed a mismatch as Sean suspected:
Host: [root@overcloud-computesriov-0 ~]# ip -V ip utility, iproute2-6.2.0, libbpf 1.4.0
Container: root@overcloud-computesriov-0 ~]# podman exec -it d6d9ac1a314d bash bash-4.4$ ip -V ip utility, iproute2-6.2.0, libbpf 0.5.0
What is interesting is that container adds the right ip address after I manually delete it with no problem. Also I can delete any ip manually from the container as well.
But process is unable to delete the undeeded IPv6 on creation of the VM nor DHCP and metadata IPv4 addresses after VM deletion. From the logs I can also see that it is unable to delete the veth pair after VM deletion.
I am guessing that add commands are more forgiving than add commands regarding the syntax.
If someone can think of any workaround for this please feel free to share. :)
the two some what obvious workaround the come to mind are as follows bind mount the host ip util into the container, that bascaily adding -v /usr/bin/ip:/usr/bin/ip to the podman command line or matching the contaiern and os version. i belive triple also has a script to allow specific comannd to be executed on the host and i tought it already used that for iptables so updating the ip command to use that wrapper may also be an option. i'm not sure how practical any of those options are for your deployment however. This would be a tripleo bug or a operator(human) one rather then a neturon bug as its related ot how its been packaged and deployed in your specific env. i belive downstream we allowed rhel 9 openstack container to be run on rhel 8 host but not the other way around. with that said i know for things like libvirt we built 2 version and required that the container and host os were the same i dont know which camp the ovn metadta container fell into(must align host and guest os or can differ with a wrapper to paper over the differnce). i also dont know exactly where that was implemtned in tripleo so i cant point you at an example.
Best regards, Davorin