OpenStack Image Management (Glance)
Go to file
Matt Riedemann dde2cbafd3 Sync processutils and lockutils from oslo with deps
This is a sync of processutils and lockutils from oslo-incubator
along with their dependencies.

The main target for the sync is to pick up the get_worker_count() method
in commit 85f178489a128a04a7ee3ed44018403caa109ef0 so that we can set
glance-api workers equal to the number of CPUs on the host.

lockutils is also copied over due to the nature running multiple
workers and how the glance functional tests are setup, it'd be
prudent to have the latest lockutils code since it hasn't been updated
in over six months.

The change to require posix_ipc is due to commit
edce46cf5efd6d738d379205f9bf526a498845e3 in lockutils.

Changes:

processutils
------------
85f1784 Move nova.utils.cpu_count() to processutils module
cdcc19c Mask passwords that are included in commands
8a0f567 Remove str() from LOG.* and exceptions
51778f9 Allow passing environment variables to execute()
fcf517d Update oslo log messages with translation domains
af41592 Catch OSError in processutils
f773ea2 Fix i18n problem in processutils module
8b2b0b7 Use hacking import_exceptions for gettextutils._
3b71f46 Fixed misspellings of common words
12bcdb7 Remove vim header
a4dab73 Correct execute() to check 0 in check_exit_code
d6a963e Fix processutils.execute errors on windows
aa5b658 Allow passing a logging level to processutils.execute
1a2df89 Enable H302 hacking check
7119e29 Enable hacking H404 test.
2f01388 Use Python 3.x compatible except construct

lockutils
---------
de4adbc pep8: fixed multiple violations
9e88af1 fixed typos found by RETF rules
fe3389e Improve help strings
f3f14c9 Fixed several typos
0f495ee Emit a log statement when releasing internal lock
f0dd798 Remove rendundant parentheses of cfg help strings
006d9a2 Allow external locks to work with threads
9b73c19 Re-enable file-based locking behavior
edce46c Use Posix IPC in lockutils
ac84a40 Update log translation domains
fcf517d Update oslo log messages with translation domains
37a1de8 Move the released file lock to the successful path
b0d0c33 Add remove external lock files API in lockutils
4f6190a Use threading.ThreadError instead of reraising IOError
195f0b1 Have the interprocess lock follow lock conventions
15cca4b lockutils: move directory creation in lock class
81fe39e lockutils: remove lock_path parameter
14d3669 lockutils: expand add_prefix
dc06d55 lockutils: do not grab the lock in creators
a0948cb lockutils: remove local usage
df8e051 lockutils: split code handling internal/external lock

log
---
109e325 Use oslo.messaging to publish log errors
de4adbc pep8: fixed multiple violations
eac71f5 Fix common.log.ContextFormatter for Python 3
d78b633 Fixes a simple spelling mistake
621d831 always log a traceback in the sys.excepthook
90ae24b Remove redundant default=None for config options
af36c2a Fix logging setup for Python 3.4
cdcc19c Mask passwords that are included in commands

excutils
--------
33a2cee save_and_reraise_exception: make logging respect the reraise parameter
fcf517d Update oslo log messages with translation domains

fileutils
---------
9c88dc3 file_open: fixed docstring to refer to open() instead of file()
6c7407b fileutils: port to Python 3
fcf517d Update oslo log messages with translation domains

Partial-Bug: #1333325

Change-Id: I6c9d8961af2bd3bbe4d149f21cd6d4fad676ba14
2014-06-27 07:00:05 -07:00
doc/source Document registry 'workers' option 2014-06-27 06:59:57 -07:00
etc Document registry 'workers' option 2014-06-27 06:59:57 -07:00
glance Sync processutils and lockutils from oslo with deps 2014-06-27 07:00:05 -07:00
rally-scenarios Add pluging sample for glance gate 2014-06-19 11:02:54 +04:00
tools Merge "colorizer: use staticmethod rather than classmethod" 2014-06-19 18:06:40 +00:00
.coveragerc Update .coveragerc 2013-02-06 16:47:06 +02:00
.gitignore Switch to testrepository for running tests 2014-01-29 08:30:55 +08:00
.gitreview Add .gitreview config file for gerrit. 2011-10-24 11:02:16 -04:00
.mailmap Add a mailmap entry for myself 2014-02-11 12:00:44 +08:00
.testr.conf Switch to testrepository for running tests 2014-01-29 08:30:55 +08:00
HACKING.rst Add hacking checks 2014-06-10 02:06:56 +00:00
LICENSE Add a LICENSE file. 2012-01-03 10:14:01 -05:00
MANIFEST.in Update version code from oslo. 2013-01-13 14:27:48 -08:00
README.rst Replace README with links to better docs 2012-09-20 09:33:40 -07:00
babel.cfg Added first step of babel-based translations. 2012-02-28 02:00:37 -08:00
openstack-common.conf Clean up openstack-common.conf 2014-05-15 10:27:17 +08:00
pylintrc Packaging fixups 2010-10-21 15:51:44 -04:00
requirements.txt Sync processutils and lockutils from oslo with deps 2014-06-27 07:00:05 -07:00
run_tests.sh Fix Jenkins translation jobs 2014-04-03 20:13:12 +02:00
setup.cfg Open Juno development 2014-04-01 09:16:36 -07:00
setup.py Updated from global requirements 2014-06-19 13:54:45 -04:00
test-requirements.txt Updated from global requirements 2014-06-19 13:54:45 -04:00
tox.ini debug level logs should not be translated 2014-05-23 15:57:06 +02:00

README.rst

Glance

Glance is a project that defines services for discovering, registering, retrieving and storing virtual machine images. Use the following resources to learn more: