VPP v21.01 Patch


This blog notes three libs that I found missing on my server ucs5 at PIRL when updating VPP from version 20.05 to 21.01. Errors are thrown when installing vpp-plugin-core.

Three missing packages


$ wget http://archive.ubuntu.com/ubuntu/pool/universe/m/mbedtls/libmbedcrypto3_2.16.4-1ubuntu2_amd64.deb
$ dpkg -i libmbedcrypto3_2.16.4-1ubuntu2_amd64.deb


$ wget http://archive.ubuntu.com/ubuntu/pool/universe/m/mbedtls/libmbedx509-0_2.16.4-1ubuntu2_amd64.deb
$ dpkg -i libmbedx509-0_2.16.4-1ubuntu2_amd64.deb


$ wget http://archive.ubuntu.com/ubuntu/pool/universe/m/mbedtls/libmbedtls12_2.16.4-1ubuntu2_amd64.deb
$ dpkg -i libmbedtls12_2.16.4-1ubuntu2_amd64.deb

Another tip

Sometimes, when we try to start VPP, we might encounter the following error:

$ vppctl                  
clib_socket_init: connect (fd 3, '/run/vpp/cli.sock'): Connection refused

It’s most likely that VPP doesn’t start, because of e.g. a misconfigured startup.conf. A quick way to check is to try start VPP manually:

$ /usr/bin/vpp -c /etc/vpp/startup.conf

Discussion & Conclusion

After installing these patches, VPP should be up and forwarding packets!

Cheers! :)