Sync db after the config file is generated

cinder-api seems to be able to start without a proper db schema
so we still don't need to use event to notify db sync.