[openstack-dev] [watcher] some database migration file skipped

Hidekazu Nakamura hid-nakamura at vf.jp.nec.com
Fri Jul 7 07:32:41 UTC 2017

Hi Yumeng Bao,

By simply executing watcher-db-manage after creating database,
All migration scripts are executed.

Now I can try cron type audit interval.

Hidekazu Nakamura

> -----Original Message-----
> From: yumeng bao [mailto:yumeng_bao at yahoo.com]
> Sent: Friday, July 07, 2017 11:39 AM
> To: openstack-dev at lists.openstack.org
> Subject: Re: [openstack-dev] [watcher] some database migration file skipped
> Hi Hidekazu,
> The revision id 0f6042416884 has been recorded in your database, so when
> you sync the database base on your old database, it will only execute the
> scripts after this id.
> If you want to execute all the scripts, you can create a new database for
> the test.
> please reference:
> http://alembic.zzzcomputing.com/en/latest/tutorial.html#running-our-se
> cond-migration
> Regards,
> Yumeng Bao

More information about the OpenStack-dev mailing list