0e7fca576cee81dd6ca8774760cb880c3fff9c1c
Commit Graph

5581 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Jenkins
8bec700e7b Merge "Add note on using printable chars for swift_hash_path_suffix/prefix" 2016年02月18日 00:23:28 +00:00
Jenkins
6d6629f7b1 Merge "Added links to API reference and usage guides" 2016年02月17日 22:03:58 +00:00
Christian Schwede
e46d6b1725 Add note on using printable chars for swift_hash_path_suffix/prefix
Using unprintable characters for swift_hash_path_prefix/suffix might lead to
hard problems when parsing of these values changes, for example due to newer
Python versions or changes in the parsers itself. Let's avoid this and add a
note that deployers should use printable strings for these values.
Change-Id: I976982b753b6af831ab91d7190f50f8f15bf73bf
2016年02月17日 20:47:53 +01:00
Donagh McCabe
b8fa480808 Added links to API reference and usage guides
Added a link to the API reference (where headers and query
strings are documented; click the "detail" button to see).
Also added a reference to Swift section of the OpenStack end
user guide. This contains some additional details about the API.
No attempt was made to reconcile duplicate information. Instead
this patch links documents that might otherwise be overlooked.
However, I fixed text, originally in a table, that had become
garbled in a prior patch.
Change-Id: I0910cbeb0c8bffc00e510f35585603e7b7a67790
2016年02月17日 18:39:22 +00:00
Jenkins
6a3b5f9aec Merge "Additional info log message for drive-audit" 2016年02月17日 11:51:55 +00:00
Jenkins
1c2fe040fa Merge "Improved test coverage of form_signature" 2016年02月17日 03:25:36 +00:00
Jenkins
2b6cb05aa8 Merge "Remove '#! /usr/bin/env python' from unexecutable files" 2016年02月17日 02:23:36 +00:00
Jenkins
87f4a27337 Merge "Static methods should be @staticmethods" 2016年02月17日 02:23:28 +00:00
Jenkins
d7529726b4 Merge "Fix missing txn_id logs in GreenAsyncPile's spawned functions" 2016年02月17日 00:20:03 +00:00
Jenkins
222a644a7a Merge "Add SwiftHLM to associated projects" 2016年02月17日 00:18:28 +00:00
Jenkins
6ef66378c9 Merge "Docstring omission in class BaseDiskFileManager." 2016年02月16日 21:47:35 +00:00
Kazuhiro MIYAHARA
aa7204d106 Remove '#! /usr/bin/env python' from unexecutable files
'cli/recon.py' and 'cli/ring_builder_analyzer.py' have '#! /usr/bin/env
python' in spite of they don't have execute permissions. This patch
removes '#! /usr/bin/env python' from them.
Change-Id: I1917ccc84b1673af3d862be1796f54595f94c5ca
2016年02月16日 21:27:35 +00:00
Clay Gerrard
db87a5a988 Mock sleep in direct_client retry tests
... and fixup some assertions, and other mocks
Change-Id: Iadf839d1d3d735109fed24049fc3d829776b7b65
2016年02月16日 10:52:01 -08:00
Tim Burke
8eb30afd7c Static methods should be @staticmethods
Change-Id: Ifee5d68e00bbb3571aaac885cdd7490c79732985
2016年02月16日 10:45:44 -08:00
Chaozhe.Chen
4a44e27e00 Replace assertEqual(None, *) with assertIsNone in tests
As swift no longer supports Python 2.6, replace assertEqual(None, *)
with assertIsNone in tests to have more clear messages in case of
failure.
Change-Id: I94af3e8156ef40465d4f7a2cb79fb99fc7bbda56
Closes-Bug: #1280522 
2016年02月16日 23:49:06 +08:00
Christian Schwede
42f4b3fc1e Add SwiftHLM to associated projects
Change-Id: I5ea3de34e61f22abec803b35fec8adde18a793e9
2016年02月16日 13:53:52 +00:00
Ankur Gupta
025ebf2901 Docstring omission in class BaseDiskFileManager.
Added documentation for missing Docstring variables.
Change-Id: I29a53b8141c5607815f234a6123e2289200bca34
2016年02月16日 11:30:42 +00:00
Christian Schwede
7aaca02917 Add comments to role-based access control functional tests
Change-Id: Ic18c8a2abc33e2f175f948991af0189935b8702f
2016年02月15日 20:08:43 +01:00
Janonymous
4906b4c431 Fix missing txn_id logs in GreenAsyncPile's spawned functions
This commit ensures that the logger thread_locals
value is passed to and set in _get_conn_response methods
executed in a green thread.
Added partial bug tag because in bug description a more
relevant fix is suggested which would fix the bug completely
but for now this makes sense to add this commit for logging.
Co-Authored-By: Clay Gerrard <clay.gerrard@gmail.com>
Change-Id: I13bbf174fdca89318d69bb0674ed23dc9ec25b9a
Partial-Bug: #1409302 
2016年02月15日 08:49:48 +05:30
Jenkins
7f230f82d3 Merge "Remove execute permission from swift/cli/ringbuilder.py" 2016年02月12日 21:54:41 +00:00
Kazuhiro MIYAHARA
511a1b8698 Remove execute permission from swift/cli/ringbuilder.py
In Change-Id: Ia63f59a8faca1fad990784f27532ca07a2125454,
'bin/swift-ring-builder' is renamed to 'swift/cli/ringbuilder.py'.
However, execute permission and '#! /usr/bin/env python' are left on
the file.
This patch removes execute permission and '#! /usr/bin/env python'
from the file.
Change-Id: I66370f825ce9ed9a40ec21f2745aa6aff22c8709
2016年02月12日 19:47:45 +00:00
Jenkins
e2c570c0ab Merge "Port parse_mime_headers() to Python 3" 2016年02月12日 15:11:15 +00:00
Ondřej Nový
973d9358d2 Bump PyECLib requirement to >= 1.2.0
This was discussed at last Swift meeting [1] and conclusion was
to require newest PyECLib version.
[1] http://eavesdrop.openstack.org/meetings/swift/2016/swift.2016年02月10日-21.00.log.html#l-268
Depends-On: I0fd58f26bc0a3e7715356ff74344981f22786152
Change-Id: I54e89d99b48e00e614d2d457814c00354763c83b
2016年02月12日 15:00:46 +00:00
Jenkins
a5bdb45757 Merge "Fix typos in comments" 2016年02月12日 11:41:02 +00:00
Tomas Matlocha
d3dd137cad Additional info log message for drive-audit
An additional info log message was added for case of
running drive-audit without failed device unmounting.
Change-Id: I11abee40a712b6c6de65e63626b6f7f0a9c9f4c7
2016年02月12日 11:26:16 +01:00
Jenkins
791412f90d Merge "Make handoffs_first a more useful "mode"" 2016年02月12日 03:26:17 +00:00
Jenkins
02fb983dc6 Merge "Removed unused parameter in server.py" 2016年02月12日 00:39:57 +00:00
Sarafraj Singh
c4158bd674 Fixed params on autocreate_account docstring
... in proxy.controllers.base
Change-Id: Ic5c27cbf0f19b65fcaa3e6587583f03e56d646a0
2016年02月11日 20:59:54 +00:00
Samuel Merritt
f56d18e143 Fix typos in comments
Change-Id: I4f98d447bd2ddd8eeb2f4da66d069bd7d6f00dc6
2016年02月11日 10:59:43 -08:00
Jenkins
a2405e99af Merge "Add functional test for access control (RBAC) with Keystone" 2016年02月11日 15:07:39 +00:00
Ondřej Nový
335d58611d Keystone middleware deprecated option is_admin removed
It has been deprecated from Swift 1.8.0 (Grizzly)
Change-Id: Id6bc10c3e84262c0a9e6160a76af03c0ad363e9c
2016年02月11日 10:52:47 +00:00
Jenkins
bf4c26d7ef Merge "Enable in-process func tests to optionally use fast-post" 2016年02月11日 08:29:56 +00:00
Jenkins
4322fa61a8 Merge "Script for checking sanity of manpages" 2016年02月11日 06:14:13 +00:00
Jenkins
ca1a509979 Merge "Remove executable flag from sample config file" 2016年02月11日 02:05:26 +00:00
Jenkins
74bebe82bc Merge "Removed default value for log_statsd_host" 2016年02月11日 00:55:56 +00:00
Ondřej Nový
cc8dc88b55 Script for checking sanity of manpages
Change-Id: Ia27b0ecf6a3267eb51f8a6562721dca72f128915
2016年02月10日 14:16:56 -08:00
root
bcada66b90 Removed unused parameter in server.py
The variable max_large_object_get_time is no longer used and was
removed to reflect the change.
Change-Id: I43051181dcb38245de6d13fab63876e83f46fc39
Closes-Bug: #1538834 
2016年02月10日 14:26:10 -06:00
gh159m
b5311f63db Removed default value for log_statsd_host
Multiple files and documents showed that log_statsd_host had
a default value, usually localhost. This was incorrect, instead
setting a value for log_statsd_host enables statsd logging.
Removed any reference of log_statsd_host having a default value.
Also changed descriptions to show setting a value enables logging.
Change-Id: I3ca5c0e8b8e4981de3aa6db0c476072b5a59723d
Closes-Bug: #1542227 
2016年02月10日 10:36:59 -06:00
Jenkins
4e370e5116 Merge "Port FileLikeIter to Python 3" 2016年02月10日 07:36:51 +00:00
Jenkins
45a7a15674 Merge "Insert versioned_writes in correct pipeline position" 2016年02月09日 21:59:17 +00:00
Christian Berendt
b98c1c60f9 Remove executable flag from sample config file
swift.conf-sample should not be executbale
Change-Id: I960058e2af10b43efc6324a7534d9a23c810e39a
2016年02月09日 12:57:24 +00:00
Christopher Bartz
81a4355c2d Adds storage policy option to recon
With this patch, recon gets policy-aware in regard to the hosts to retrieve.
If no policy is passed and the server_type is object,
all hosts of all policies are retrieved.
Previously, recon did only retrieve the hosts of the storage-policy 0.
Change-Id: If5735cd6721eac504aed8aaf3884cb91b6a0fcac
Closes-Bug: 1541491
2016年02月09日 13:39:52 +01:00
Jenkins
b140d7d8b8 Merge "Changed EC backend from jerasure to liberasurecode in examples and docs" 2016年02月09日 08:04:21 +00:00
Alistair Coles
87fc21c7cf Speed up functional testing
test/functional/tests.py:TestObjectVersioningUTF8 does not clean
up the versions files it creates because the class's multiple
inheritance is such that it does not call the tearDown method in
TestObjectVersioning.
As a result, any attempt to clean up account containers wastes
time retrying container delete requests. This occurs either in
the setUp for TestSloEnv, if the TestSlo class is included in a
test run, or in the tests.py package tearDown method.
On the author's dev machine this patch reduces the execution
time of functional tests in tests.py by approx 30% or 1 minute.
Change-Id: I8194672bf2ca82435df5868720b6a55a79b94413
2016年02月08日 15:56:20 +00:00
Jenkins
76c38670c2 Merge "Fix missing Accept-Ranges" 2016年02月08日 12:33:25 +00:00
Jenkins
98589640ce Merge "Monkeypatch everything the same" 2016年02月08日 10:35:03 +00:00
Mingyu Li
3b94bd4540 Keep the Usage of exit()/sys.exit() Consistent
It's better to keep the usage of exit()/sys.exit() consistent
in one file. Furthermore, sys.exit() is considered good to be
used in production code, while exit is for interactive shell.
Change-Id: Ia3092853a648922588e2bc11db37d6decdec1b48
2016年02月07日 21:41:08 +08:00
janonymous
f05da4c8fa Changing the base version to python2.7 for pep8 checks
tox was taking python3 as it's base version which lead to
tox pep8 check failing on local env:
http://paste.openstack.org/show/486183/
Change-Id: Ia822ec5b5e12a1fc30b676f1e6d95e287b9b3368
2016年02月06日 16:59:57 +05:30
Sarafraj Singh
13edc9a865 Improved test coverage of form_signature
Added four new test cases to execute path of invalid arguments. This
improved test coverage of file specified from 80% to 91%.
Change-Id: I63c2e7bab3f01121301d78b687687208a58401c0
2016年02月05日 19:17:30 +00:00
Kota Tsuyuzaki
b173995666 Fix missing Accept-Ranges
Since commit 4f2ed8bcd0, the response
header for GET EC object doesn't include the Accept-Ranges header.
This patch fixes it and also adds a few unittests to prevent regression.
Closes-Bug: #1542168
Change-Id: Ibafe56ac87b14bc0028953e620a653cd68dd3f84
2016年02月04日 21:53:58 -08:00