Author: | OpenStack Glance Project Team |
---|---|
Contact: | openstack-discuss@lists.openstack.org |
Date: | 2018-08-30 |
Copyright: | OpenStack Foundation |
Version: | 17.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
db
db_version
db_upgrade [VERSION]
db_version_control
db_sync [VERSION]
db_expand
db_migrate
db_contract
db_export_metadefs [PATH | PREFIX]
Note: this command will overwrite existing files in the supplied or
default path.
db_load_metadefs [PATH]
db_unload_metadefs
General 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_DIR
The following paths are searched for a glance-manage.conf
file in the
following order:
~/.glance
~/
/etc/glance
/etc
All 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.