Commit Graph

174 Commits

Author SHA1 Message Date
Doug Hellmann 1c7f556d4f rearrange existing documentation to follow the new layout standard
This change moves existing files, updates a few of the cross-references
and paths, and fixes some formatting. It is not meant to be the final
word on how the main page looks or how the other files are organized,
but it gets everything roughly into shape. If the glance team wants to
make changes, please do those as follow-up patches

This change depends on the spec and on a feature of pbr that allows us
to move where the auto-generated class reference documentation ends up
in the tree.

Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
Depends-On: I2bd5652bb59cbd9c939931ba2e7db1b37d2b30bb
Change-Id: I9dde267793a5913acb5b1ec028cfb66bc5189783
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-21 14:15:58 -04:00
shaofeng_cheng 0a095d2563 Fix vmware option for glance_store
/s/vmware_datastore/vmware

see:
https://github.com/openstack/glance_store/blob/master/glance_store/backend.py

Change-Id: I823e33efb49fb2d8c6fc7dab790dc8d8e14ad84d
2017-04-24 09:48:10 +08:00
Shinya Kawabata cfa1c3e162 Fix rendering of list elements
And change bulleted items to definition lists.
This change was discussed at Glance meeting [0],
and the unanimous choice was to go with the definition-list markup.

[0] http://eavesdrop.openstack.org/meetings/glance/2017/glance.2017-03-23-14.00.html

Change-Id: Ic603ac1a69e9ab61f6f205a8dd50794f67461f9e
2017-03-25 03:30:58 +09:00
Cyril Roelandt 0cea875293 Limit workers to 0 or 1 when using db.simple.api
When using more than one worker, only one of them will return data, thus
leading users to not have access to every single piece of data at once.

Change-Id: I0e7e0f0ff7821465a74eb284e8401ddd7238f6df
Partial-Bug: #1619508
Co-Authored-By: Cyril Roelandt <cyril@redhat.com>
Co-Authored-By: Hemanth Makkapati <hemanth.makkapati@rackspace.com>
2017-03-01 10:52:29 -06:00
Brian Rosmaita fb4ee4a09d Update dev docs to include 'vhdx' disk format
Support for the 'vhdx' disk format was added by Change-Id:
I4e172c78d7afeb8be5a0123238efe3d8e4b044c9 but this value is not listed
in configuring.rst.  This patch updates that document.

Change-Id: Ic009e5e9f0f58396e784bea412290c390e62b55c
Closes-bug: #1655326
2017-01-10 07:42:12 -05:00
Jenkins 33f943b2f7 Merge "Add ploop to supported disk_formats" 2017-01-09 19:21:49 +00:00
Andreas Jaeger 03567be314 Remove obsolete swift links
The document openstack-object-storage has been removed several years ago
from docs.openstack.org, remove the link since there's no real
replacement for the content.

Also, swift.openstack.org is a redirect to docs.openstack.org, replace
the link with current location.

Change-Id: Ib3d5ea880df673125d412ad25c26a4a06d7482a2
2016-12-28 17:09:34 +01:00
Maxim Nestratov ab7152ea28 Add ploop to supported disk_formats
Lite-Spec-Id:Ib45de5ff2fe7fc4e1c2d6f8cb6772e017ef891c2
Change-Id: Ice74c4bf9ed2efae519930f33b2fa2b3c162e8c4
2016-12-22 21:14:14 +03:00
Nikhil Komawar 66335ba873 Remove references of s3 store driver
As we are removing the s3 driver from source tree per change
I032b0fc16400cbd2112687d38e010128be699221 , it seems right to remove the
references of the same in the glance tree.

Updated here are files that referenced s3; these files include:

    * documentation files
    * documentation of the glance architecture (source and png files)
    * config help text
    * stores associated with location strategy
    * tests

UpgradeImpact

Change-Id: I680ee2baf39b49156d173e2ae108ae5d0221eca7
Depends-On: I032b0fc16400cbd2112687d38e010128be699221
Depends-On: I5d2da0611365b838f41285b64cdcfef9adf50e85
2016-08-11 12:32:48 -04:00
Nikhil Komawar 4016d11e91 Generate and include sample config as part of docs
Use oslo.config sphinx extension "sphinxconfiggen" to generate sample
configuration files at the beginning of each sphinx build. Include the
generated sample configuration files as part of the developer docs so
that they can be removed from the code tree eventually.

Change-Id: I42934a437272b3822efd84bfe16392341804baed
Co-Authored-By: Nikhil Komawar <nik.komawar@gmail.com>
Co-Authored-By: Hemanth Makkapati <hemanth.makkapati@rackspace.com>
2016-08-02 11:16:17 -05:00
Niall Bunting 3a15da1591 Perform a cleanup of configuring.rst
This patch aims to make a few of the parts of the config file a bit
more relevant.

* Changing the old store names (glance.store.*.Store)
* "New file"
* Small note about more config files.
* config file -> configuration file

Change-Id: I1fd5012b60fe66ede95d08fc353ffddc8ac60142
2016-07-07 13:06:43 +00:00
Jenkins 8fbe91ab82 Merge "Corrected section underline" 2016-04-16 06:49:11 +00: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
Pankaj Mishra 67d7f551cd Changed the spelling of opsrofiler to osprofiler.
Change-Id: Ifbaa9819a42a6f81f38dfa155026b9497bea1abb
Closes-Bug: #1569789
2016-04-13 15:27:15 +05:30
venkatamahesh 54153d79c2 Update the Administrator guide links with new ones
Change-Id: I4ec7cab23ffcd991160ac4930237fa50532724bf
2016-04-06 17:18:30 +05:30
Jenkins e0ba0c4fd0 Merge "fix docstring warnings and errors" 2016-03-21 16:52:59 +00:00
Tom Cocozzello adfc7e5a3f fix docstring warnings and errors
There are many warnings and errors that occur when the docs are
generated.

Co-Author-By: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Closes-Bug: 1556818
Change-Id: Ifebeb3904f136a56bd6fe6877220b279a1f98354
2016-03-14 18:40:15 +00:00
Cao ShuFeng 21f36f7b90 Update the configuration doc
Update the configuration doc about notification according to this
commit[1].

TrivialFix

[1]: https://review.openstack.org/#/c/249508/

Change-Id: I50155f5746cf19ac65234f5979afb2d4091a137f
2016-03-14 01:22:26 +00:00
Jenkins 614c0fe9b3 Merge "Fix levels of Swift configuration documentation" 2016-03-09 14:18:53 +00:00
Jenkins 03d7dc9135 Merge "Update configuring of Cinder store" 2016-03-08 21:15:13 +00:00
Tomoki Sekiyama fb70dd48bb Update configuring of Cinder store
This updates the description about config options added and
deprecated in Cinder store.

Change-Id: I2f5bf837f08253b729b1f1a06b2aba66ab285711
Depends-On: Ie228d1d95365e81881691af4cb8b170335a73868
2016-03-08 15:40:37 +00:00
Tomoki Sekiyama b5f151af2f Fix levels of Swift configuration documentation
Currently the "Configuring Multiple Swift Accounts/Stores"
section is regarded as a section, but it should be placed in
the "Configuring the Swift Storage Backend" subsection.

In addition, all the glance stores configuration subsections
should be placed under "Configuring Glance Storage Backends"
section, but it is now misplaced by inserted sections.

This moves the sections to valid places.

Change-Id: I24fff19d2a631c8106b996f9a9061f7e50dacece
2016-03-07 21:36:50 +00:00
Jenkins 1f6ff26863 Merge "Deprecate use_user_token parameter" 2016-03-07 19:31:12 +00:00
Mike Fedosin 80fef06497 Deprecate use_user_token parameter
Parameter 'use_user_token' in glance-api.conf
was considered as harmful and not acceptable
for real deployments, because if it's disabled,
it changes system behaviour and allows any regular
user to perform requests with admin credentials.

In functional tests the default value was set
to True to prevent possible failures in the future.

Besides, several admin authN parameters were
deprecated as well, because they are useless without
'use_user_token'.

All required information was added to related
documentation sections, sample config file was
updated as well.

https://wiki.openstack.org/wiki/OSSN/OSSN-0060

Change-Id: Icfef49d787fa58e2af2e60e4fdc96633c5f0c010
Related-bug: #1493448
2016-03-07 17:06:04 +03:00
Jenkins 89a66916f8 Merge "Fix typos in configuring.rst" 2016-02-19 15:19:34 +00:00
wangxiyuan 0d89611c1e Stop gridfs driver support
Gridfs was marked as deprecated some releases go and now it has
been removed from Glance_store. So Glance should not support this
driver anymore.

Change-Id: Ia81e109c3919ad8ee8336f9051fa7920780f5bbd
2016-02-18 11:17:47 +00:00
Alexander Tivelkov b974a63660 Move Glance Artifact Repository API to separate endpoint
EXPERIMENTAL Glance v3 API has been removed in favor of standalone API
(EXPERIMENTAL Artifacts API of v0.1).
This patch introduces a new process entry point to run on a different
port (9494 by default), with its own configuration file and a paste
config.

A controller stub for old /v3 api remains in the glnace.api package for
the compatibility with existing paste configuration which may reference
it. This stub returns a 301 redirects to glare endpoint if it is present
or 410 errors otherwise.

To reuse  the existing version_negotiation middleware some refactoring
has been made.

Implements blueprint: move-v3-to-glare

Change-Id: I5b7bd4cdcc5f2a40fc4a5f74bcc422fd700c4fb0
2016-02-10 18:34:55 +03:00
Jenkins 83a4aa03fb Merge "Misspelling in message" 2016-02-05 00:04:09 +00:00
april 5f2aabca95 Misspelling in message
Misspelling in doc/source/configuring.rst:
"seperated " should be  "separated "

Change-Id: I966983588f8ee36c309a9cf1a130cf1426716c92
2016-02-04 13:59:46 +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
Jenkins dbed80dd5d Merge "Do not use api-paste.ini osprofiler options" 2016-01-11 21:59:50 +00:00
Dina Belova 3bdb51e947 Do not use api-paste.ini osprofiler options
Starting with opsrofiler 0.3.1 release there is no need to set HMAC_KEYS
and ENABLED arguments in the glance-api-paste.ini and
glance-registry-paste.ini files, this can be set in glance-api.conf and
glance-registry.conf configuration files.

DocImpact
Change-Id: I068504913c93be0f506262930eadc2e40879ce0f
2016-01-11 17:55:10 +03:00
wangxiyuan 444005c8dd Update the cache middleware flavor guideline.
The description of cache middleware flavor in the configuring doc
should be updated.

Change-Id: I6bf6083b01e4e5e3402817279ed367fbfb4cf42e
Closes-bug: #1479116
2015-12-17 01:43:38 +00:00
Stuart McLaren b602ee3a9e Add documentation for configuring disk_formats
Add documentation explaining how operators can add or remove supported
disk_formats.

Change-Id: I14f6c53506590e6fa373afdbdc3b6f052a0a532c
Closes-bug: 1519006
2015-11-23 14:57:25 +00:00
Olena Logvinova 0c966a602d [docs] Update description of Glance-Swift conf options
This patch:

1. Updates the description of 4 deprecated options:
   * swift_store_auth_version
   * swift_store_auth_address
   * swift_store_user
   * swift_store_key
2. Adds a new sub-section: Configuring Swift configuration file.

Co-Authored-By: Mike Fedosin <mfedosin@mirantis.com>
Co-Authored-By: Olena Logvinova <ologvinova@mirantis.com>

Change-Id: I41baa2343cf92d819a4a64a2e269e1cb2e3be3f4
Closes-Bug: #1426813
Closes-Bug: #1509349
2015-11-20 18:22:43 +02:00
Lyubov Kolesnikova fbd2a007f1 Fix typos in configuring.rst
Fix several typos.

Change-Id: Id6f610974f4b68e4786b0241478c5b7b7c622eac
2015-11-10 20:47:11 +00:00
Doug Hellmann ba146e4eeb fix restructuredtext formatting errors
Change-Id: I5693f2aa1670bf0e782f231bdaba2bc342bbe9ff
2015-10-01 15:46:15 +00:00
Jenkins 240e8d8a37 Merge "Setting default max_request_id_length to 64" 2015-09-23 18:51:54 +00:00
Jenkins 8fa349ce63 Merge "Disable v3 API by default" 2015-09-04 16:03:22 +00:00
Jenkins 032daa9cae Merge "Add mechanism to limit Request ID size" 2015-09-04 00:29:41 +00:00
Mike Fedosin 6fe3626bb5 Disable v3 API by default
Since v3 is still unstable and has experimental status it's
better to disable it by default for security reasons. This
commit does it by setting 'enable_v3_api=False'.

Also all required documentation was added to related sections.

DocImpact

Change-Id: I412d0645d667400333532123008a24966aa23880
2015-09-03 23:02:26 +03:00
Jenkins 440da0c512 Merge "Adds a rados_connect_timeout description" 2015-08-29 14:28:22 +00:00
Erno Kuvaja bd593ddbe6 Setting default max_request_id_length to 64
Setting sensible maximum size for Request ID. 64 should be enough for
normal use cases but limited enough from current 16384 to not flood
the logs by malicious requests.

DocImpact
SecurityImpact

Related-to-bug: #1482301
Change-Id: I52ebf810f4699826baa2bdf91d28e24d902cf950
2015-08-11 08:52:33 +00:00
Erno Kuvaja 9fdc92b57b Add mechanism to limit Request ID size
Adding 'max_request_id_length' defaulting to 0 for backportability.

DocImpact
SecurityImpact

Closes-Bug: #1482301
Change-Id: Ie68afe7610a414bbcc42ff3bee33a9779303c115
2015-08-11 08:52:13 +00:00
Jenkins ad3c053a2c Merge "Fix the document bug in part of digest_algorithm" 2015-07-16 00:23:52 +00:00
Olena Logvinova a4946b5125 Adds a rados_connect_timeout description
This patch adds a new parameter rados_connect_timeout
and its description to the Configuring the RBD Storage Backend
sub-section in the Basic Configuration section.

Change-Id: Ib909519e46902a2f8888625951c6e761de15d48d
Depends-On: Ib44f74063d5a8332c6b5f3e15bcfa044c86bef9b
2015-07-15 21:27:48 +00:00
Desmond Sponsor 0374c1c560 Fix the document bug in part of digest_algorithm
This commit updates the developer docs to reflect
the change in default digest algorithm to sha256
made by https://review.openstack.org/#/c/197372/

Closes-Bug: #1471938

Change-Id: I1b1044a506d7e3657ec360489fb236c6e5214688
2015-07-16 05:13:08 +08:00
Erno Kuvaja 562cb0429f Healthcheck Middleware
Provide healthcheck middleware from oslo_middleware to be able to
disable given nodes from loadbalancer. It's achieved by adding a new
pipeline which depending on existing of the
/etc/glance/healthcheck_disable file can return one of the following
results:

- 200 OK (if file does not exist)
- 503 DISABLED BY FILE (if file exist)

The healthcheck is available under /healthcheck URL, and the whole
mechanism behave similar to the Swift healthcheck system.

implements bp: healthcheck-middleware

Co-Authored-By: Erno Kuvaja <jokke@usr.fi>
Co-Authored-By: Kamil Rykowski <kamil.rykowski@intel.com>

DocImpact

Change-Id: I45f6a8c59ec3040aaf06f8bab46d8001c44dac7a
2015-07-07 11:55:21 +02:00
Jenkins 5769444666 Merge "Add client_socket_timeout option" 2015-06-18 17:01:42 +00:00
Stuart McLaren 19bba346ba Add client_socket_timeout option
Add a parameter to take advantage of the new(ish) eventlet socket timeout
behaviour.  Allows closing idle client connections after a period of
time, eg:

$ time nc localhost 9292
real    1m0.063s

Setting 'client_socket_timeout = 0' means do not timeout.

DocImpact
Closes-bug: 1371022
Change-Id: I9e7edcbf25ece61dc16b8cd5a8bef5ed9a14e3d6
2015-06-18 14:50:00 +00:00