| Author: | OpenStack Glance Project Team |
|---|---|
| Contact: | glance@lists.launchpad.net |
| Date: | 2019-04-10 |
| Copyright: | OpenStack Foundation |
| Version: | 18.0.0 |
| Manual section: | 1 |
| Manual group: | cloud computing |
glance-manage [options]
glance-manage is a utility for managing and configuring a Glance installation. One important use of glance-manage is to setup the database. To do this run:
glance-manage db_sync
Note: glance-manage commands can be run either like this:
glance-manage db sync
or with the db commands concatenated, like this:
glance-manage db_sync
dbdb_versiondb_upgrade [VERSION]db_version_controldb_sync [VERSION]db_expanddb_migratedb_contractdb_export_metadefs [PATH | PREFIX]Note: this command will overwrite existing files in the supplied or
default path.db_load_metadefs [PATH]db_unload_metadefsGeneral Options
-h, --help--version-v, --verbose--noverbose-d, --debug--nodebug--use-syslog--nouse-syslog--syslog-log-facility SYSLOG_LOG_FACILITY--config-dir DIR--config-file PATH--log-config-append PATH --log-config PATH--log-format FORMAT--log-date-format DATE_FORMAT--log-file PATH, --logfile PATH--log-dir LOG_DIR, --logdir LOG_DIRThe following paths are searched for a glance-manage.conf file in the
following order:
~/.glance~//etc/glance/etcAll options set in glance-manage.conf override those set in
glance-registry.conf and glance-api.conf.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.