32 Commits

Author SHA1 Message Date
Pete Zaitcev
1cff8250c6 Add Fedora clauses to the installing document.
This change resolves 2 Fedora-related todo items in installing.rst.

It also cleans up a bit:
 - fixes weird grammar
 - fixes improper list numbering
 - uses proper name for Red Hat, where space is necessary
 - replaces A/B syntax with A, B

This is my first commit and I am adding myself to Authors file
on a suggestion by Brian Waldon.

Change-Id: I398ae8150d7912e0b61375a7bdc5aab1101f34bc
2012-01-05 15:39:55 -07:00
Jenkins
b7796ecd8c Merge "fix bug 911681" 2012-01-05 02:48:23 +00:00
Yaguang Tang
2528e569d0 fix bug 911681
need not to use optparse in  bin/glance-control.

Change-Id: I3096a39fd0c26f9fa5243f7cc2bd25dd8d5235ea
2012-01-05 00:41:24 +08:00
lzyeval
5e5d2ebde4 PEP8 glance cleanup
Fixes bug #911547

All Object type comparisons should use isinstance()
instead of comparing types directly.

Change-Id: I9ddabd5cc7333fc63790b140ee52bf995a66cc9c
2012-01-04 09:52:55 +08:00
Russell Bryant
db2942166d Add a LICENSE file.
The license file was missing in glance. The LICENSE file added here is
copied in from nova.

Change-Id: Ifae7610ea2c4d0db9cb4fc58a5639850f2b3e195
2012-01-03 10:14:01 -05:00
Major Hayden
00ac2c7250 Fixes keystone auth test failures in python 2.6.
Fixes bug 909408.

Change-Id: I18f5bf43f390c8a69f49e5f038acb9dcd80ca502
2011-12-28 10:25:37 -06:00
James E. Blair
37fc2b00c0 Rename .glance-venv to .venv.
This simplifies a number of Jenkins jobs which currently, other
than directory names, could be the same for all OpenStack
projects.  By renaming the virtualenv directory, the redundant
Jenkins virtualenv build and copy jobs can be eliminated.

Change-Id: I7916783d863e5184bad8293c3aed5ba119e374a9
2011-12-05 13:09:22 -08:00
Lorin Hochstein
6bf61e8ce1 Added some examples for "glance add"
Fixed some warnings.

Change-Id: I9658c7458f3073b4bab93d0105d6ba174a4d0ca1
2011-11-29 13:10:50 -05:00
Pádraig Brady
03372c77aa Bug#894027: use correct module when building docs
Currently the wrong directory is searched for the
glance module, requiring glance to be installed
in the default system path, for docs to be buildable.
Also the path was appended, so the default system version
which may be completely different is referenced.
This ensures that only local glance files are referenced.

Change-Id: Ia226c90bbd24d7804401a7c9e444387c78a0f542
2011-11-23 15:24:52 +00:00
Paul Bourke
1f28b6ca7e Fix bug 891738
Compute image size for the registry in the case where none is specified.

Change-Id: Ic21adf4865d0f481db9bd362cfaeeebd0942c974
2011-11-21 17:37:26 +00:00
Mike Lundy
8f122d954b load gettext in __init__ to fix '_ is not defined'
gettext.install needs to be run on every potential entrypoint; this
resolves bug #885529 (the python standard library includes a noop
gettext library for this purpose). This is also how nova does it.

Change-Id: I4ceaa4782461ebf6d27836336f288d79ba15cf2d
2011-11-08 10:58:25 -08:00
Stuart McLaren
5e6fb33b22 Adds option to encrypt 'location' metadata.
Implements blueprint swift-location-credentials

When the new option is enabled the location metadata
(which may include user credentials) is encrypted
before being sent to the registry server.

Change-Id: I072e3f5c81f187435b1c156627076d5fde087af5
2011-11-03 17:25:01 +00:00
Brian Waldon
ceab6b3ed4 Convert image id value to a uuid
This just changes the value of image.id, leaving the key name alone. We also
enforce image ids provided on an image create be a uuid. Implements
blueprint uuid-image-identifiers

Change-Id: I22ba69550ccbc04a24d680748d60414d2d0f1a99
2011-10-26 21:16:12 -04:00
Tomas Hancock
6aacf2388a Fixes LP Bug#872276 - small typo in error message
Add a missing s to a % formatted print statement
Add my name to Authors file

Change-Id: Ib086fb9bee6f55a3bd89f3108269050c6eb0f8b9
2011-10-12 17:12:46 +01:00
Jenkins
dc0e6151c0 Merge "Port Authors test to git." 2011-10-10 15:52:37 +00:00
Monty Taylor
ee6f91ed97 Port Authors test to git.
Change-Id: I27bb6b3951422ad32e5e0225765b1056c5b3ffc5
2011-10-10 11:47:59 -04:00
Josh Durgin
42300518ea Add RBD store backend.
To use this you'll need the latest version of Ceph from git,
which will become version 0.37.

Change-Id: Ia2126395525759eb8c11df055bdc6f286dea97b9
2011-09-29 13:54:19 -07:00
Alex Meade
20b7c69758 Added min_disk and min_ram properties to images
Fixes LP Bug#849368

Change-Id: I3e17370537144d117d99af5fa5a21df830b7c7ed
2011-09-20 14:43:35 -04:00
Adam Gandelman
706a53396c Remove PWD from possible config_file_dirs.
Resolves bug #828719, which can potentially cause problems depending on
what $PWD commands are executed in.

Amendment: Also update documentation accordingly.

Change-Id: Ib2ec4bb07222e51c86b7d8f8ce1dd0e6bb342a64
2011-09-02 13:29:15 -07:00
Mark McLoughlin
ecbcc09ce5 Switch file based logging to WatchedFileHandler for logrotate
Fixes lp:772397

FileHandler opens the logfile at startup, keeps the stream open and
continues to log to it forever.

If logrotate decides to rotate the file, it will rename the original
file and a new file is created with the same attributes as the original
file.

The problem is that the process is still writing to the original file,
not the newly created file. Traditionally, system daemons respond to
a SIGHUP by re-opening log files and logrotate can be configured to
deliver this signal on rotation.

However, python has an elegant solution. WatchedFileHandler monitors
the inode for the specified log file name and, if that ever changes,
it re-opens the stream.

Nova already uses WatchedFileHandler to good effect. See:

  https://code.launchpad.net/~soren/nova/logrotate/+merge/50292

Change-Id: I7f693f133d230d65d7c94ebf3a2ec0c8b362f993
2011-08-25 13:51:29 +01:00
Johannes Erdfelt
091aae8a6d Add notifications for uploads, updates and deletes
Change-Id: I372f77fe2d1a575f2108c9b8d1f69301c0d5eb5e
2011-08-15 19:58:57 +00:00
Johannes Erdfelt
4e79f47b41 Add myself to Authors (again) 2011-07-29 16:02:46 +00:00
Jason Koelker
e4eaef7bb8 merge trunk 2011-07-22 19:07:38 -05:00
Kevin L. Mitchell
78c9c3ad55 Add owner to database schema 2011-07-20 20:27:33 +00:00
Jason Koelker
6ac1d5a332 merge trunk 2011-07-15 16:32:53 -05:00
Isaku Yamahata
a5d542976c updated Authors 2011-07-02 13:16:33 +09:00
Yuriy Taraday
2ea83f6de8 Switch image_data to be a file-like object instead of bare string in image creating and updating
Without this Glance loads all image into memory, then copies it one time, then writes it to temp file, and only after all this copies image to target repository.
2011-06-27 14:37:40 +00:00
Yuriy Taraday
ab0a4010b5 Add myself to Authors file. 2011-06-27 09:17:49 +04:00
Jason Kölker
82a0107e39 yea python strings 2011-06-22 12:47:10 -05:00
Justin Shepherd
22ea9e008a rewriting functional tests to utilize httplib2 instead of curl 2011-06-15 19:08:33 -05:00
Jason Kölker
96251f9e77 Update Authors 2011-06-13 12:05:32 -05:00
Brian Waldon
f8dd785a96 adding Authors functionality; fixing one rogue pep8 violation 2011-04-27 11:00:49 -07:00