30 Commits

Author SHA1 Message Date
Alexander Bashmakov
9968b0993f Added overwrite warning for db_export_metadefs.
The bug in [1] proposed to always require a directory option for
glance-manage db_export_metadefs command. The rationale being that
silently overwriting the default path /etc/glance/metadefs can
be undesired. However, the feedback was that this command should
stay silent in case it's called from cron jobs or automated tasks,
and that it's better to simply log a warning and proceed, as well
as update the documentation with a cautionary note. This patch
addresses that request.

[1] https://bugs.launchpad.net/glance/+bug/1367011

Change-Id: Ie8cc4bb3769a6347fd25e2235a72c6358af70d42
Closes-Bug: #1367011
2016-11-08 16:46:49 +00:00
wangxiyuan
2f803d3fa9 Remove DB downgrade
As downgrade are not supported after Kilo, we should remove them now.
Roll backs can be performed as mentioned in the below link:
http://docs.openstack.org/ops-guide/ops-upgrades.html#rolling-back-a-failed-upgrade

The DB downgrades were deprecated in Glance Mitaka release by commit
e3366afdfb227794fd46cfd8b2cf553a7ff1a709.

Change-Id: I937d15d93f16a3e44a50e6ff1a469098eab67c79
Implements: blueprint remove-db-downgrade
2016-09-01 10:53:08 +08:00
dineshbhor
b2e3ed9073 Replace OpenStack LLC with OpenStack Foundation
Change-Id: Ifee4e6eef37fe00019dd3adfaef8bb99a7970944
Closes-Bug: #1214176
2016-07-26 19:29:23 +05:30
Eric Brown
1b09730eed Update man pages to current version and dates
The man pages listed version and dates that are out of date. This
patch bumps the dates and version to Newton specific values.

Change-Id: If5da432cbd21a1940ee960d5def5a26fc18d31ad
2016-06-03 11:01:26 -07:00
Sachin Patil
50b0252a25 Corrected section underline
Section underline must be at least as long as the title text

Change-Id: I13f5398bb564c91af6c721c699a5552f2a07e561
2016-04-15 11:40:59 +05:30
Nguyen Hung Phuong
b9de463ee8 Fix typos in Glance files
TrivialFix

Change-Id: I65a6775993d8480b6f58573e08d1d815bb7657d5
2016-03-29 08:57:52 +00:00
Ronald Bradford
9526e05b96 Generate page of all config options in docs
Use oslo_config.sphinxext to automatically document the available
configuration options in the sphinx documentation.

See https://etherpad.openstack.org/p/automating-oslo-config-documentation
for work to implement this to each project.  Glance is one of the first
six projects for a consolidated operators configuration reference.

Change-Id: If701f7dfa240075457e6e149bcb12ff713a8c79b
2016-01-23 13:31:37 -05:00
Doug Hellmann
1502a78282 do not indent include directives
Indenting the include directives for the snippet files means the
headings in those files are "under" or "inside" the sections defined by
the headings in the parent file, but that's not something rst supports.

Change-Id: I70cb5b7f4d5051595a8e057ecf3b23a372ee21ca
2015-10-01 15:46:19 +00:00
Doug Hellmann
ba146e4eeb fix restructuredtext formatting errors
Change-Id: I5693f2aa1670bf0e782f231bdaba2bc342bbe9ff
2015-10-01 15:46:15 +00:00
Ashish Jain
d0de5af957 Update documentation for glance-manage
Currently the documentation of glance-manage is missing the commands
to handle the glance metadata defnition. This patch provides details
on following commands:

db_load_metadefs
db_unload_metadefs
db_export_metadefs

Closes-Bug: #1414725

Change-Id: I90865831d38478f76e7379ca447ed99c17387710
2015-03-23 16:37:50 +00:00
Ian Cordasco
8a02cf035c Generate glance-manage.conf
As specified in the blueprint, we are only going to set log_file in the
configuration file for now, and we read it last in glance.cmd.manage.
This allows glance-manage to use the appropriate log-file and still
retain the settings it needs in glance-api.conf and glance-registry.conf

DocImpact

Change-Id: I87595a29634e6ffda4e1581d42a92dfe6f84044b
Implements: blueprint create-glance-manage-conf
Closes-bug: #1391211
2014-12-18 10:23:32 -06:00
Christian Berendt
03a4d0aba1 fixed typos found by RETF rules in RST files
rules are avaialble at
https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/Typos

Change-Id: I725d3892d915bf880e62b8b11b97dcfc0a804a41
2014-05-20 10:19:20 +02:00
Matt Fischer
8f1c1b1a3b Update all the glance manpages
Finish updating the glance manpages:
  - Update and modernize all files and references
  - Add a new manpage for glance-replicator
  - Move the common configuration options to common files for
    easier maintenance and less redundancy

Change-Id: If2cbcc30f2761b187038f39324c7698de4eb2ab9
Closes-Bug: #1238366
2014-01-26 06:48:05 -07:00
Matt Fischer
b881bc244c Update the glance-api manpage
Change-Id: I8219b29c468f094085a3182d19c3354aca091cd7
Partial-Bug: #1238366
2014-01-13 21:01:05 -07:00
AmalaBasha
7e6319d955 glance-manage should work like nova-manage
nova-manage supports subcommands of db, for nova-manage,
eg) 'nova-manage db sync',
glance manage however has individual commands like db_sync, db_version
etc. This patch aims at adding the db operations as subcommands to db in
glance-manage similar to nova and refactoring this bit of code in
cmd/manage.py

Fixes: bug 1213197
Change-Id: I6fad31766bc1cec2a666a7ebc8df5c732007c5f1
2013-11-06 14:59:33 +05:30
Jenkins
f9ea0ac3b2 Merge "Remove glance CLI man page." 2013-08-22 05:37:28 +00:00
Jakub Ruzicka
07d06ebfc4 Remove glance CLI man page.
glanceclient CLI man page is provided by glanceclient.

Fixes bug 1212300

Change-Id: I61f61b50cb74d71331fadb89659a3cee2b13a359
2013-08-14 17:04:44 +02:00
Kun Huang
485274433f Text formatting changes
These are some text fixes in document, scripts and functions,
including variable usage, text aligning, adding new store class in
document

Change-Id: I98e226969d86698972870a7b3a042cb00c2206e9
2013-08-07 13:15:27 +08:00
Paul Bourke
84bf7e057a Remove references to clean arg from cache-manage
The usage message for glance-cache-manage lists "clean" as an available
command, but this functionality is part of a separate tool,
glance-cache-cleaner.

Remove any references to this to avoid confusion.

DocImpact
Fixes bug 1189451

Change-Id: I2aba8164ab9ef0c3bef31870cb3771233a722d27
2013-07-15 16:12:43 +00:00
Brian Waldon
d453def814 Remove glance-cache-queue-image
* bin/glance-cache-queue-image duplicates functionality provided by
  bin/ glance-cache-manage, and it is currently broken. Let's just remove it.

Change-Id: Ib18be2116055154047df6ca9b4c335323c8b2dde
2012-03-15 14:26:59 -07:00
Brian Waldon
6e2f39d69b Removing registry spec from docs
* Rewords how we refer to to our 'reference' implementation of the registry
  API. glance-registry is an implementation detail of the main glance API, not
  an example of a community-driven API spec
* Remove duplicate 'gettingstarted' information
* Fixes bug 954554

Change-Id: I889f61a399c398897f2146b756b2c3c310847718
2012-03-13 16:26:19 -07:00
Ken Pepple
b43b676e58 updates man page for glance-scrubber.
this time with extra pep8 scrubbing powers.
Fixes bug 908803

Change-Id: I105cc3157fe839cc35ef5e1fc1a5f032b04d1c9d
2012-03-09 09:50:56 -08:00
Hengqing Hu
bbf46b45cd Remove trailing whitespaces in regular file
Change-Id: I0d015501492902ddf7fda20e0381fc21fbcaeb91
2012-03-03 12:10:46 +08:00
Stuart McLaren
8d46288e9c Allow region selection when using V2 keystone
Fix for bug 936798. Allow a client to select which
region endpoint they want from the service catalogue.

The region can be set via the environment variable
OS_REGION_NAME or via the '-R/--region' command line
option.

If a single image endpoint is returned from keystone,
the client will use that even if no region was specified
(the default). Where multiple endpoints exist a region
must be provided.

Change-Id: I6797f8ddf88d5875caf194913082c3fe24c86585
2012-03-01 12:05:59 +00:00
Stuart McLaren
0f0fe2ba1b New -k/--insecure command line option
Fix for bug 929591.

Change glance to require server certificate validation
by default when using https. The standard system
CA file will be used if available (and an alternative was not
provided).

The --insecure option can be used by clients to skip server
certificate validation if appropriate.

* This change will impact Nova clients accessing glance over https.
  If the standard CA file is not suitable they will need to provide
  a CA file or else create an 'insecure' glance client.
* Accesses to a https registry server must now perform server
  certificate validation.
* If the package which provides the standard
  system CA file is installed then that file will be used by default.
  It probably makes sense for the glance package to have a
  dependency on whichever package provides the default CA bundle.
  (In Ubuntu this is 'ca-certificates')

Change-Id: I7c83361ba0881559ec77d4baf10dfeb5b8e32185
2012-02-13 13:57:13 +00:00
Russell Bryant
58532a4373 Add more man pages.
A few man pages were already in place.  This patch uses the --help
output from each executable to seed a man page for the rest of the
executables, which include:

  - glance
  - glance-cache-cleaner
  - glance-cache-manage
  - glance-cache-prefetcher
  - glance-cache-pruner
  - glance-cache-queue-image
  - glance-control
  - glance-scrubber

Fixes bug 911291.

Change-Id: Ie0de990ff6617e7eb953f270a089c99bc340b4fe
2012-01-03 19:23:44 -05:00
jaypipes@gmail.com
9f37df5950 ReStructure Text files need to end in .rst, not .py ;) 2011-02-07 13:05:45 -05:00
Rick Harris
15d8f90cb9 Adding db_sync to mirror nova 2011-02-02 07:07:41 +00:00
Rick Harris
0236aea227 Adding some basic documentation 2011-02-02 06:53:05 +00:00
jaypipes@gmail.com
c967f9ace2 Adds man pages for glance-registry and glance-api. Adds Getting Started guide to Glance docs. 2011-01-19 16:38:39 -05:00