ironic-dbsync create_schema shows error

asked 2014-11-27 22:24:34 -0500

rice gravatar image

updated 2014-11-28 00:19:50 -0500

After I install the devstack, (
I try to install bare metal service. (

When I create the database tables, it shows error:

root@myhost:~# ironic-dbsync --config-file /path/to/ironic.conf create_schema
usage: ironic-dbsync [-h] [--config-dir DIR] [--config-file PATH] [--debug]
[--log-config-append PATH]
[--log-date-format DATE_FORMAT] [--log-dir LOG_DIR]
[--log-file PATH] [--log-format FORMAT] [--nodebug]
[--nouse-syslog] [--noverbose]
[--syslog-log-facility SYSLOG_LOG_FACILITY]
[--use-syslog] [--verbose] [--version]
{upgrade,downgrade,stamp,revision,version} ...
ironic-dbsync: error: argument command: invalid choice: 'create_schema' (choose from 'upgrade', 'downgrade', 'stamp', 'revision', 'version')

Here is my ironic-dbsync version:
root@myhost:~# ironic-dbsync --version

edit retag flag offensive close merge delete


I am also having the same issue.

ironic gravatar imageironic ( 2014-12-16 18:53:11 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2015-08-13 13:38:11 -0500

I had the same problem, but I could continue the tutorial replacing create_schema for update "ironic-dbsync --config-file /path/to/ironic.conf update". The "update" created the tables into the ironic db.

edit flag offensive delete link more


"update" is not available in the available options. I hope, its "upgrade" .

I hope documentation needs to updated .

Venkatesh6114 gravatar imageVenkatesh6114 ( 2017-02-21 07:27:55 -0500 )edit

answered 2014-12-11 13:21:57 -0500

afaranha gravatar image

Same issue here. I installed devstack with neutron on my machine and try to install baremetal following the guide and stoped at the same place :/

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-11-27 22:24:34 -0500

Seen: 221 times

Last updated: Aug 13 '15