Comment 4 for bug 1506810

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

This bug is caused by a race condition with fuel-upgrade and puppet.

As best as I can tell, the sequence of events is this:
fuel-upgrade starts postgres container
puppet apply starts
prefetch inside puppet thinks these databases don't exist
fuel-upgrade starts creating tables and databases, altering, inserting, etc
by the time puppet gets to trying to create databases, they now exist and the commands fail because the prefetch value doesn't match the current DB state because fuel-upgrade wrote to it