55 Commits

Author SHA1 Message Date
jaypipes@gmail.com
c9a22eeb6c Documentation updates to make glance add command clearer, hopefully :) 2011-04-22 14:54:24 -04:00
Joseph Suh
8b7927c287 chnaged output 2011-04-18 16:30:44 -04:00
jaypipes@gmail.com
6703ba193e OK, fix docs to make it clear that only the string 'true' is allowed for boolean headers. Add False-hood unit tests as well. 2011-04-12 17:45:16 -04:00
jaypipes@gmail.com
4eaf065305 Updates glance-manage to use configuration files as well
as command line options.

Completes documentation on configuring Glance's servers
and CLI tools.
2011-04-04 13:00:26 -04:00
jaypipes@gmail.com
0d7b3bb668 Merge trunk and resolve conflicts 2011-03-23 10:16:10 -04:00
jaypipes@gmail.com
09916c2a40 Merge trunk and resolve conflict 2011-03-16 12:11:56 -04:00
jaypipes@gmail.com
0c25ad6ca1 Merge trunk and resolve conflicts 2011-03-08 19:07:44 -05:00
jaypipes@gmail.com
75575b41c6 Adds documentation on configuring logging and a test that log_file works. It didn't, so this also inludes fixes for setting up log handling :) 2011-03-08 16:52:38 -05:00
jaypipes@gmail.com
b2ec714d12 Make it clear that the checksum is an MD5 checksum in docs. 2011-03-08 11:40:35 -05:00
jaypipes@gmail.com
af11621170 Adds checksumming to Glance.
When adding an image (or uploading an image during PUT operations),
you may now supply an optional X-Image-Meta-Checksum header. When
storing the uploaded image, the backend image stores now are required
to return a checksum of the data they just stored. The optional
X-Image-Meta-Checksum header is compared against this generated checksum
and returns a 409 Bad Request if there is a mismatch.

The ETag header is now properly set to the image's checksum now
for all GET /images/<ID>, HEAD /images/<ID>, POST /images and
PUT /images/<ID> operations.

Adds unit tests verifying the checksumming behaviour in the API, and
in the Swift and Filesystem backend stores.
2011-03-08 10:22:44 -05:00
jaypipes@gmail.com
226687e48b Merge trunk and resolve conflicts from utils and client patch from Vishy 2011-03-06 12:02:44 -05:00
jaypipes@gmail.com
a7007ae849 Merge trunk 2011-03-06 10:41:29 -05:00
jaypipes@gmail.com
4a8522d794 Final review fixes. Makes disk_format and container_format optional. Makes glance-upload --type put the type in properties 2011-03-05 12:04:43 -05:00
jaypipes@gmail.com
ee74c26dbd Put account in glance.conf.sample's swift_store_auth_address, use real swift.common.client.ClientException, ensure tests work with older installed versions of Swift (which do not have, for example, swift.common.client.Connection.get_auth method) 2011-03-04 19:02:26 -05:00
jaypipes@gmail.com
13ff5c8eaa bin/glance-admin => bin/glance, since it's really just the CLI tool to interact with Glance. Added lots of documentation and more logging statements in some critical areas (like the glance.registry calls... 2011-02-25 11:33:24 -05:00
jaypipes@gmail.com
79ba479ada Adds lots of unit tests for verifying exceptions are raised
properly with invalid or mismatched disk and container formats.

Adds documentation on disk and container formats. Updates
existing documentation to remove references to the now-gone
type column and replaces these references with disk_format
and container_format.

Reworked the validates_image() method in the registry.db.api
to be like what Rick was describing in reviews.
2011-02-25 09:55:26 -05:00
jaypipes@gmail.com
5c03271048 Adds an admin tool to Glance (bin/glance-admin) that allows
a user to administer the Glance server:

* add images
* update image metadata
* delete images and metadata
* delete all images (clear)
* show an image
* list public images
* show detailed info on public images

Adds documentation for the tool and cleans up a few issues
that came up in initial testing.
2011-02-23 21:50:24 -05:00
jaypipes@gmail.com
2fcb4898cb Fixes for Rick review #2 2011-02-09 16:56:48 -05:00
jaypipes@gmail.com
b0b35af603 Merge trunk 2011-02-09 16:52:48 -05:00
jaypipes@gmail.com
610499b5ff Changes the server daemon programs to be configured only via
paste.deploy configuration files. Removed ability to configure
server options from CLI options when starting the servers with
the exception of --verbose and --debug, which are useful during
debugging.

Updated the documentation controllingservers.rst.
2011-02-09 15:02:13 -05:00
jaypipes@gmail.com
9f37df5950 ReStructure Text files need to end in .rst, not .py ;) 2011-02-07 13:05:45 -05:00
jaypipes@gmail.com
bc310ced44 Merge trunk 2011-02-04 19:05:23 -05:00
jaypipes@gmail.com
66f4b78234 Adds bin/glance-control program server daemonization wrapper
program based on Swift's swift-init script.

Adds a crap-ton of documentation on installing Glance and
controlling Glance's server programs.

This was necessary since when glance.common.server was removed
from Glance and paste.deploy used, we lost the ability to control
server daemonization with CLI options. This adds back some of that
functionality while still using paste.deploy like Swift does.
2011-02-04 18:59:52 -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
7d314e6039 Merge Bexar r56 2011-01-27 14:01:02 -06:00
jaypipes@gmail.com
00ac0d44a6 Makes Glance's versioning non-static. Uses Nova's versioning scheme. 2011-01-27 13:59:49 -06:00
Cerberus
0c93176178 Adds/updates the copyright info on most of the files in glance and copies over the Authors check from Nova. 2011-01-27 17:57:34 +00:00
jaypipes@gmail.com
c3ed035bbf Bump version 2011-01-26 19:17:54 -06:00
Cerberus
7a5b5016ee Merge conflicts and merge from trunk 2011-01-26 14:47:01 -06:00
Cerberus
2c7f6ff811 Merge prop fixes and a few missed things 2011-01-26 14:44:36 -06:00
Cerberus
5afa9e2b18 Merge prop fixes 2011-01-26 11:26:54 -06:00
Josh Kearney
f536fdd8f3 PEP8 cleanup 2011-01-26 10:51:08 -06:00
jaypipes@gmail.com
a8d791c2d7 Adds architecture docs and enables Graphviz sphinx extension. Also cleans up source code formatting in docs. 2011-01-26 16:01:48 +00:00
jaypipes@gmail.com
4675f0618d Bump version 2011-01-25 11:02:07 -06:00
Cerberus
ebb5e9cf0c A few more copyrights 2011-01-24 16:35:57 -06:00
Cerberus
3cf3746739 Pylint cleanup 2011-01-24 16:18:06 -06:00
jaypipes@gmail.com
5a74a85f94 Adds architecture docs and enables Graphviz sphinx extension. Also cleans up source code formatting in docs. 2011-01-24 13:03:20 -05:00
jaypipes@gmail.com
cd15f14fc8 Version bump after release 2011-01-24 09:57:49 -05:00
jaypipes@gmail.com
02781962a4 Version bump for release 2011-01-23 13:03:51 -05:00
jaypipes@gmail.com
fbc496ae7b Quick typo fix in docs. 2011-01-20 14:20:34 -05: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
jaypipes@gmail.com
bd035dfd10 Fixes bug #696375: x-image-meta-size not optional despite documentation saying so. 2011-01-19 20:41:21 +00:00
jaypipes@gmail.com
c9d93d2219 Fix Bug #704038: Unable to start or connect to register server on anything other than 0.0.0.0:9191 2011-01-18 16:01:49 -05:00
jaypipes@gmail.com
14cc5df1cc Cleanup of RST documentation and addition of docs on an image's status 2011-01-17 13:09:14 -05:00
Rick Harris
21cea9c5e6 Updating docs 2011-01-11 11:34:48 -06:00
Cory Wright
386b42c176 More PEP8 fixes 2011-01-04 17:00:37 -05:00
jaypipes@gmail.com
33d54d9f2c review fixes 2010-12-23 12:31:47 -05:00
jaypipes@gmail.com
2406386809 Update sphinx conf to match other OpenStack projects 2010-12-22 12:52:15 -05:00
jaypipes@gmail.com
f32a2eadb0 Documentation cleanup. Splits out index.rst into multiple section docs. 2010-12-22 12:38:54 -05:00