Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

OpenStack: How to Rebuild Ironic’s Database

Move the current Database to a backup location for safe keeping.

# mv /var/lib/ironic-inspector/inspector.sqlite /root/

Restart Ironic services. Here we are hitting them all to be safe.

# for service in `systemctl list-unit-files | grep ironic | awk ‘{print $1}’`; do  systemctl restart $service; done

Now Rebuild the database.

# ironic-inspector-dbsync –config-file /etc/ironic-inspector/inspector.conf upgrade



This post first appeared on Fatmin.com, please read the originial post: here

Share the post

OpenStack: How to Rebuild Ironic’s Database

×

Subscribe to Fatmin.com

Get updates delivered right to your inbox!

Thank you for your subscription

×