ironic dbsync cannot sync my configure with database

asked 2015-02-23 01:59:22 -0500

fcn11 gravatar image

I am deploying ironic. After creating database and modify configure files.I try to use

ironic-dbsync --config-file /etc/ironic/ironic.conf create_schema

to create the bare metal service database tables. then I changed the configure file (ironic.conf). I use the command again to sync. However, it remind me to use upgrade command. So I use the following command

ironic-dbsync --config-file /etc/ironic/ironic.conf upgrade

the command give some info:

INFO [alembic.migration] Context impl SQLiteImpl.
INFO [alembic.migration] Will assume non-transactional DDL.

and the ironic database is empty now. How can I sync my configuration with my database.

PS: I am using mariadb

edit retag flag offensive close merge delete