299 Commits

Author SHA1 Message Date
Jenkins
0e3f62e420 Merge "Updates OpenStack LLC with OpenStack Foundation" 2013-02-18 04:31:53 +00:00
annegentle
a2b9bed75d Updates OpenStack LLC with OpenStack Foundation
Patchset addresses reviewer's comments, rebase against master,
and follows new guidance from Foundation:
http://wiki.openstack.org/Documentation/Copyright

Change-Id: I94367461505778973528eb8835d991f4fb796dab
2013-02-17 19:19:43 -08:00
Stuart McLaren
dd28e13a5c Add to multi-tenant swift store documentation
Make the usage of the 'swift_store_admin_tenants' parameter
a little clearer.

Fixes bug 1110597.

Change-Id: Ibcfe5d74b89e35ac65d442ebfa6f75b0f8519af4
2013-01-31 14:24:32 +00:00
Brian Waldon
c236ab3d6e Fix broken link in docs to controllingservers
Fixes bug 1095528

Change-Id: I369619e622d6fa4ab64132cf5b1d7e7097587100
2013-01-08 13:16:29 -08:00
Stuart McLaren
a12f09fa96 Add registry_client_timeout parameter
Add a "registry_client_timeout" parameter which specifies the
time, in seconds, that an API server will wait for a registry
request to complete.

This prevents API clients hanging indefinitely in the event
that the registry becomes unresponsive.

Addresses LP bug 1089391.

Change-Id: Ib27b6eecdcb65cbe644c156a0ca5cd0d0b4638dd
2012-12-12 13:32:13 +00:00
Dan Prince
cae7672332 Updates keystone middleware classname in docs.
Change-Id: If6a5b74c2fe7855b28aaded7b93228dbd0de9845
2012-11-28 16:12:29 -05:00
Julien Danjou
3d532de2fa Use 'notifications' as default notification queue name
All OpenStack projects uses `notifications' as topic by default, except
Glance, let's fix that.

This fixes bug #1083648

Change-Id: I973164f35a9466eb543656546d3110c6430170ef
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-11-27 16:52:42 +01:00
Anita Kuno
b47138c7f7 Fixed Typo
use of word "container" when word "disk" was required
Fixes: bug #1082404

Change-Id: I78e784d5e721a8cf0f39c6029310d1e3587c0142
2012-11-26 12:21:31 -05:00
Brian Waldon
5acfb0cb69 Add note about urlencoding the sql_connection config opt
Fixes bug 1075676.

Change-Id: Ib4149277b6ec060350a3a01496e3b01c26c19181
2012-11-16 10:39:03 -08:00
Tom Hancock
d1f8e8b009 Add insecure option to registry https client
This fixes LP bug #1063793.

This adds a new API config option registry_client_insecure
(default false) which optionally allows not to specify a ca
file for registry connections from the API server.
The default is false so existing behaviour is
unchanged unless this option is specified.
Adding this option makes the registry symmetric wrt the API
with which you can connect using clients with --insecure

Change-Id: I4fa462cd68afaf14f7d7de6c572980a41c0849d6
2012-10-09 10:43:57 +00:00
Brian Waldon
6874f77ebf Document api deployment configuration
This documents how to disable the v1 and v2 APIs. It also makes a note
about sql configuration on the glance-api node when the v2 API is
enabled.

Fixes bug 1054168

Change-Id: I4faa29f1b05d8831347febc261f7e47e49dfa09a
2012-09-24 14:00:27 -07:00
Eoghan Glynn
eafed25ba6 Add rabbit_durable_queues config option.
Fixes bug 1054183

Avoid AMQPChannelException: (406, "PRECONDITION_FAILED...") failures
due to a mismatch between the durability of rabbitmq exchange/queue
declared by glance and ceilometer.

Change-Id: I4e25986a1f503782e701aa1168c4eb231ff25d06
2012-09-21 18:26:33 +01:00
Eoghan Glynn
d33ebafb09 Update docs with modified workers default value.
The default value for the worker config option is now 1,
as opposed to 0.

Change-Id: I49f05b31415b3c641abe582f915fc9ead63e84ff
2012-09-20 20:57:54 +01:00
Jenkins
a31caab771 Merge "Document how to deploy cachemanage middleware" 2012-09-03 21:23:15 +00:00
Brian Waldon
48bb44b9aa Drop glance client + keystone config docs
The blurb about configuring glance client doesn't belong in the
server project documentation. This removes it.

Related to bp glance-folsom-docs-cleanup

Change-Id: I3932e1af382813bf069f4920218dd60cd04790f5
2012-09-03 13:42:36 -07:00
Brian Waldon
e7d6210e70 Document how to deploy cachemanage middleware
Related to bp glance-folsom-docs-cleanup

Change-Id: If72a82222ebf33b08bbceba2d780bddfe7b7aad0
2012-09-03 12:51:58 -07:00
Brian Waldon
991e4bd8de Tweak doc page titles
Related to bp glance-folsom-docs-cleanup

Change-Id: Ifc4d8371c0752997258e19e7b149ae88ec3413b0
2012-08-29 08:54:40 -07:00
Brian Waldon
17ae9b2846 Drop architecture doc page
Related to bp glance-folsom-docs-cleanup

Change-Id: If4d187e5c96e337f0df0134a101ad1bac061dc80
2012-08-29 08:54:40 -07:00
Brian Waldon
cfa2915f95 Add link to notifications docs on index
Related to bp glance-folsom-docs-cleanup

Change-Id: Ib0c65fe2bf724199e13107325175541be85bfb29
2012-08-29 08:54:40 -07:00
Brian Waldon
34d6335672 Remove repeated image-sharing docs
* Drop image sharing blurb from authentication docs.
* Link to authentication page from api page

Related to bp glance-folsom-docs-cleanup

Change-Id: Idac46a78f79fac0c673f6a9b91c1f44df7b705b4
2012-08-29 08:53:54 -07:00
Brian Waldon
7a0d2eb6cd Tidy up API docs
* Add bit about images api vs glance
* Explain how to send auth token
* Prepend '/v1' to example URIs

Related to bp glance-folsom-docs-cleanup

Change-Id: I2c3b568e463f62033268573f50f2d8a74d053965
2012-08-29 08:44:09 -07:00
Jenkins
8513883892 Merge "Rename glance api docs to something more concise" 2012-08-28 22:53:42 +00:00
Jenkins
c88e07ff7a Merge "Drop deprecated client docs" 2012-08-28 22:53:27 +00:00
Jenkins
5d6b75dde4 Merge "Clean up policies docs page" 2012-08-28 22:52:54 +00:00
Jenkins
926823c14c Merge "Remove autodoc and useless index docs" 2012-08-28 06:39:44 +00:00
Ray Chen
dcca6cd96c PEP8 fix in conf.py
Fix PEP8 issues in doc/source/conf.py.

Change-Id: Ia35ad77af3c74ffd4c67bc6eef662b038937fdad
2012-08-23 16:00:22 +08:00
Brian Waldon
87033d04d5 Rename glance api docs to something more concise
Related to bp glance-folsom-docs-cleanup

Change-Id: Ic2206b9a3233d9b9d0617a253749d2021d14ac20
2012-08-22 19:21:03 -07:00
Brian Waldon
37dc071dcd Drop deprecated client docs
Link out to the necessary python-glanceclient resources rather than
maintain docs on legacy usage.

Related to bp glance-folsom-docs-cleanup

Change-Id: I769cd21b900df353e7eee3d675989b1ad32f8edf
2012-08-22 19:17:46 -07:00
Brian Waldon
087046b4e6 Clean up policies docs page
Related to bp glance-folsom-docs-cleanup

Change-Id: I65cd8e9e34ce25cbf0b45900fc73df1ffb03c7ef
2012-08-22 19:04:49 -07:00
Brian Waldon
11a9a4847c Remove autodoc and useless index docs
* Remove autodoc sphinx extension
* Ignore auto-generated 'api' docs
* Prevent the corresponding 'api' index from being created
* Prevent an empty 'index' page from getting generated

Related to bp glance-folsom-docs-cleanup

Change-Id: I82c9389f884ea4af853f1215731c051d1fb596e8
2012-08-22 18:45:44 -07:00
Jenkins
66c10d434a Merge "Add DB Management docs" 2012-08-23 00:27:37 +00:00
Alex Meade
75339f4712 Add policy check for downloading image.
This patch adds a policy, 'download_image', to be enforced when image data is
retrieved. It also does some basic refactoring of how policies are enforced.

Fixes bug 1038086

Change-Id: Idd844b615d362eae3197e106067c29dba8e3eeda
2012-08-21 16:38:10 -04:00
Brian Waldon
6089423427 Add DB Management docs
Fixes bug 909064

Change-Id: Ifd477b345dfb03efe8e8e5befa03a0cb2a3c3ce8
2012-08-17 12:12:16 -04:00
Monty Taylor
014d3f9ee3 Move to tag-based versioning.
* Update to latest openstack-common setup code
* Add openstack-common version module

Change-Id: Id6876b55554c358fbd29e7ef8377f42a72a98301
2012-08-12 16:10:03 +00:00
Brian Waldon
006254c505 Allow server-side validation of client ssl certs
This adds a 'ca_file' config option that points to a local
CA cert that will be used to verify certs provided by
connecting clients. The 'ca_file' option is only used if the
server is already properly configured to to use SSL - that
means having a valid 'cert_file' and 'key_file'. If no 'ca_file'
is provided, the behavior will remain the same - the server
will still provide its cert to clients, but it will ignore
certs sent back from those clients.

Fixes bug 1032451

Change-Id: Ie48646b0fc5398ba7cda2fb627b820f533482e00
2012-08-06 11:45:34 -07:00
Jenkins
ab8bc2ab3b Merge "Make TCP_KEEPIDLE configurable" 2012-08-03 18:15:50 +00:00
Dan Prince
8a4f3773ac Add swift_store_admin_tenants option.
Add a swift storage option to configure a default list of admin
tenant IDs which will be granted write access on any swift
images.

This setting might be useful when a user choose not to use a global
swift admin role when managing glance images. This might also
be useful when implementing delayed delete for glance swift
multi-tenant.

Partially implements blueprint: swift-tenant-specific-storage.

Change-Id: Id65e1c8d114c9551b99f6a18c527ba26aefd341f
2012-08-01 13:43:38 -04:00
Stuart McLaren
efb30dd640 Make TCP_KEEPIDLE configurable
Addresses LP bug #1031794.

Change-Id: I9a3a6a23b1bcec5229b15234512e04cc47c3ffd9
2012-08-01 15:04:40 +00:00
Dan Prince
8b2d038185 Adds multi tenant support for swift backend.
Updates the swift store to support multiple tenants:

 * Added configuration option for swift_store_multi_tenant.

 * Updated the swift connection creation logic so that in multi-tenant
   mode the token and storage URL from the service catalog are used
   to create swift connection.

 * When in multi-tenant mode locations URL's (stored in the DB) do
   not contain hard coded swift credentials.

Includes unit tests to verify multi-tenant swift storage URLs.

Partially implements blueprint: swift-tenant-specific-storage.

Change-Id: I45fc97027e6f211ac353513c2d9d6da51ccf4489
2012-07-20 10:12:02 -04:00
Eoghan Glynn
6873195cd1 Support zero-size image creation via the v1 API
Addresses LP 1025353 for the v1 API.

Transition image status to active immediately on creation
(as opposed to leaving it queued forever) if the size is set
to zero from the get-go.

The v2 implementation is left unchanged for now, as the image
status does not appear to ever transition from queued to active
in that case.

This change allows an image to be created that simply acts as
a properties bucket, but requires no image data. For example,
an image created from a booted-from-volume instance where only
the kernel, ramdisk ID, and block device mappings are required.

Change-Id: I61e96f3fe5f5245fec791170b4a8b4c72135c3de
2012-07-16 17:29:43 +01:00
Jenkins
00a7683555 Merge "Making docs pretty!" 2012-07-14 02:09:53 +00:00
jakedahn
8935b32686 Making docs pretty!
* Before: http://stsh.me/2Qt
  * After: http://stsh.me/2Qu

Change-Id: Idca673ee6157e62afc1aef76413f2d54ae8e5c9f
2012-07-11 15:27:26 -07:00
jakedahn
030e8b4b07 Removing 'Indices and tables' heading from docs.
* Bug 955475

Change-Id: Ibcd2d2ed535a548d76c8afad54673135c20c8232
2012-07-11 15:03:51 -07:00
Mark McLoughlin
d33ce445d3 Remove the conf passing PasteDeploy factories
Implements blueprint cfg-global-object

In glance.common.wsgi we have a paste_deploy_app() API which allows
a ConfigOpts instance to be passed the the applications and filters
constructed by PasteDeploy.

Now that we're using a global object, we don't need this anymore

Change-Id: I222d3c58308bc2f504cd802c0c8405d3baa2e49a
2012-06-08 17:36:26 +01:00
Vincent Untz
e3151459e8 Fix typo in doc
metdata -> metadata

Change-Id: I44e5e73946e9d1a37b8e3a5974083e3fbea33d2d
2012-06-07 16:33:25 +02:00
Unmesh Gurjar
a857842368 Fixes bug 997565.
Modified the help text for 'add' image command.

Change-Id: I32cbd36a3a4ef6368f9128ac0ab4a8efbd14ff2e
2012-05-11 14:23:41 +05:30
Brian Waldon
eb4aaa97bd Split noauth context middleware into new class
Use UnauthenticatedContextMiddleware in the case that you want to deploy
without an auth service. ContextMiddleware is now solely for authenticated
requests.

* Rewrite ownership tests for adding/updating images through the v1 API
* Fixes bug 992859

Change-Id: I608671aac8300c9195769542708708afda991e04
2012-05-03 09:00:07 -07:00
Jenkins
90609a35fc Merge "Support for directory source of config files" 2012-05-02 22:30:44 +00:00
Joe Gordon
f0a0c4a000 Cleanup authtoken examples
* remove auth_uri - do not need when set auth_port, auth_host, auth_protocol
* remove servce_*  variables - not needed in new keystone
* update associated documentation

Change-Id: I9bf7d53f7d62371848645a242ae63f77b42319db
2012-05-01 15:38:07 -07:00
Eoghan Glynn
6e29b0bd6d Support for directory source of config files
Allow multiple config files to be pulled in from a config directory,
as opposed to individual config files being explicitly enumerated.

This logic is enabled using the --config-dir=/path/to/config CLI option,
causing config to be retrived from all matching /path/to/config/*.conf
files.

Sections may be re-opened across config files, and all config items
must reside in an explicitly specified section (i.e. it does not default
to [DEFAULT]). This behavior is unchanged.

The common elements of this patch (i.e. not specific to the
glance-specific location of paste.ini files) have landed in
to openstack-common as:

  https://github.com/openstack/openstack-common/commit/fd8c2e7c

Change-Id: I3b659f1837c082bd1a78fe860a468f9d68f0f132
2012-05-01 17:29:34 +01:00