Move nova cells db sync into nova-api profile
authorDan Prince <dprince@redhat.com>
Mon, 9 Jan 2017 15:17:35 +0000 (10:17 -0500)
committerAlex Schultz <aschultz@redhat.com>
Mon, 9 Jan 2017 21:34:45 +0000 (14:34 -0700)
commit7af9ff39e96acd306bdddcf8f6e48a20fe7ee3f0
tree9bcc6b8688c3815886615941d57a584009c085a1
parent77cd102c9a96c1be4bef7f8afb95f300c06d2134
Move nova cells db sync into nova-api profile

Having the db_sync code live in the mysql profile causes
coupling that doesn't work unless your MySQL server has the
latest Nova packages installed. This may not work for some
baremetal setups (where an isolated database exists) or
with containers where the MySQL container definately doesn't
have nova packages installed.

Moving this code into the nova-api role also matches where we
were already db syncing the normal API database so it should be
fine and safe.

Change-Id: Ib625e2ac9c8d6bd1d335c58e291facc4ea5839ae
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
manifests/profile/base/database/mysql.pp
manifests/profile/base/nova.pp
manifests/profile/base/nova/api.pp