Comment 3 for bug 1713059

Revision history for this message
Corey Bryant (corey.bryant) wrote : Re: nova db sync is executed when the 'connection' is not defined

Hi Felipe

Historically we've configured OpenStack services to use sqlite at install time, and it makes sense to run the db sync commands in that case. However, I'm not sure why we also run the db sync commands if connection isn't defined (! grep -qE "^(sql_)?connection( )?=.*" /etc/nova/nova.conf).

We do this in a number of packages so I want to figure out why we do that. We do the same in cinder, panko, aodh, nova, manila, to name a few.

What we don't want to do is to run the db sync commands for non-sqlite db's. If not using sqlite we leave it up to the user or config mgmt tooling.

Corey