OpenStack Image Management (Glance)
dde2cbafd3
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 |
||
---|---|---|
doc/source | ||
etc | ||
glance | ||
rally-scenarios | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
babel.cfg | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
openstack-common.conf | ||
pylintrc | ||
README.rst | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Glance
Glance is a project that defines services for discovering, registering, retrieving and storing virtual machine images. Use the following resources to learn more: