OnWorks favicon

glance-manage - Online in the Cloud

Run glance-manage in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command glance-manage that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



glance-manage - Glance Management Utility


Author glance@lists.launchpad.net

Date 2014-01-16

OpenStack LLC


Manual section

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 This is the prefix for the commands below when used with a space rather than a
_. For example "db version".

This will print the current migration level of a glance database.

db_upgrade <VERSION>
This will take an existing database and upgrade it to the specified VERSION.

db_downgrade <VERSION>
This will take an existing database and downgrade it to the specified VERSION.

Place the database under migration control.

Place a database under migration control and upgrade, creating it first if

Export the metadata definitions into json format. By default the definitions are
exported to /etc/glance/metadefs directory.

Load the metadata definitions into glance database. By default the definitions
are imported from /etc/glance/metadefs directory.

Unload the metadata definitions. Clears the contents of all the glance db tables
including metadef_namespace_resource_types, metadef_tags, metadef_objects,
metadef_resource_types, metadef_namespaces and metadef_properties.

General Options

-h, --help
Show the help message and exit

Print the version number and exit

-v, --verbose
Print more verbose output

Disable verbose output

-d, --debug
Print debugging output (set logging level to DEBUG instead of default
WARNING level)

Disable debugging output

Use syslog for logging

Disable the use of syslog for logging

--syslog-log-facility SYSLOG_LOG_FACILITY
syslog facility to receive log lines

--config-dir DIR
Path to a config directory to pull *.conf files from. This file set is
sorted, to provide a predictable parse order if individual options are
over-ridden. The set is parsed after the file(s) specified via previous
--config-file, arguments hence over-ridden options in the directory take
precedence. This means that configuration from files in a specified
config-dir will always take precedence over configuration from files
specified by --config-file, regardless to argument order.

--config-file PATH
Path to a config file to use. Multiple config files can be specified by
using this flag multiple times, for example, --config-file <file1>
--config-file <file2>. Values in latter files take precedence.

--log-config-append PATH --log-config PATH
The name of logging configuration file. It does not disable existing
loggers, but just appends specified logging configuration to any other
existing logging options. Please see the Python logging module documentation
for details on logging configuration files. The log-config name for this
option is depcrecated.

--log-format FORMAT
A logging.Formatter log message format string which may use any of the
available logging.LogRecord attributes. Default: None

--log-date-format DATE_FORMAT
Format string for %(asctime)s in log records. Default: None

--log-file PATH, --logfile PATH
(Optional) Name of log file to output to. If not set, logging will go to

--log-dir LOG_DIR, --logdir LOG_DIR
(Optional) The directory to keep log files in (will be prepended to

A proper SQLAlchemy connection string as described here

· OpenStack Glance

· Glance bugs are tracked in Launchpad so you can view current bugs at OpenStack Glance

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

Use glance-manage online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    It ha...
    Download Shadowsocks
  • 2
    GLPI Themes
    GLPI Themes
    Download release at
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • 3
    SMPlayer is a free media player for
    Windows and Linux with built-in codecs
    that can also play YouTube videos. One
    of the most interesting features of
    Download SMPlayer
  • 4
    AAX to MP3
    AAX to MP3
    Usage: - Install the Audible Manager
    and open a file of your account. - Sign
    in into your audible account (in the
    application). Now the program can
    convert you...
    Download AAX to MP3
  • 5
    TestLink is a web based Test Management
    tool. The application provides Test
    specification, Test plans and execution,
    Reporting, Requirements specification
    and ...
    Download TestLink
  • 6
    XDXF - XML Dictionary Exchange Format
    XDXF - XML Dictionary Exchange Format
    XDXF is a project to unite all existing
    open dictionaries and provide both users
    and developers with universal XML-based
    format, convertible from and to other ...
    Download XDXF - XML Dictionary Exchange Format
  • 7
    Transmission Remote GUI
    Transmission Remote GUI
    Transmission Remote GUI is a feature
    rich cross platform front-end to
    remotely control a Transmission
    Bit-Torrent client daemon via its RPC
    protocol. Transmissi...
    Download Transmission Remote GUI
  • More »

Linux commands