After upgrading the VMware SASE Orchestrator to 5.0.1.3 you might see errors in MySQL logs with the following message:
"...Cannot add or update a child row: a foreign key constraint fails..."
As a result of this issue newly learned BGP and OSPF routes are missing due to the issue in the database.
This is a known issue caused by 111957
This issue is resolved in SASE Orchestrator version 5.0.1.4, 5.2.0.0, and 5.1.0.5