From de690bd21c7bd324bfc4df2e8d28a2f68f19e616 Mon Sep 17 00:00:00 2001 From: David Shrewsbury Date: Fri, 19 Sep 2014 13:24:05 -0400 Subject: [PATCH] Update docs with new dbsync command 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 --- doc/source/deploy/install-guide.rst | 2 +- doc/source/dev/dev-quickstart.rst | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/source/deploy/install-guide.rst b/doc/source/deploy/install-guide.rst index a9040e5460..bb4e7a590b 100644 --- a/doc/source/deploy/install-guide.rst +++ b/doc/source/deploy/install-guide.rst @@ -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:: diff --git a/doc/source/dev/dev-quickstart.rst b/doc/source/dev/dev-quickstart.rst index 621d1d5fee..991bd79759 100644 --- a/doc/source/dev/dev-quickstart.rst +++ b/doc/source/dev/dev-quickstart.rst @@ -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::