Make sure that Cloudstack DB should be atleast once synced with contrail api server

Signed-off-by: Sheng Yang <sheng.yang@citrix.com>