Skip to content

Commit

Permalink
Update docs with new dbsync command
Browse files Browse the repository at this point in the history
The ironic-dbsync utility was updated with a new 'create_schema'
command with this review:

https://review.openstack.org/107629

This updates the quickstart guide to use this new command. We also
change the deploy guide to use it, mainly for consistency of usage
in our documentation.

Change-Id: I2b0e8620c1143822c1ba263d4004499ad5ea9cff
Closes-Bug: #1347604
  • Loading branch information
David Shrewsbury committed Sep 23, 2014
1 parent 8576905 commit de690bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/source/deploy/install-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ configured for your needs.

#. Create the Bare Metal Service database tables::

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

#. Restart the Bare Metal Service::

Expand Down
3 changes: 2 additions & 1 deletion doc/source/dev/dev-quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ created in the previous section to run everything else within::
# and switch the DB connection from sqlite to something else, eg. mysql
# sed -i "s/#connection=.*/connection=mysql:\/\/root@localhost\/ironic/" etc/ironic/ironic.conf.local

ironic-dbsync --config-file etc/ironic/ironic.conf.local
# This creates the database tables.
ironic-dbsync --config-file etc/ironic/ironic.conf.local create_schema

Start the API service in debug mode and watch its output::

Expand Down

0 comments on commit de690bd

Please sign in to comment.