cf48e75c259350daa667155e3ffd38b17946bf44
Commit Graph

5613 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Shashirekha Gundur
cf48e75c25 change default ports for servers
Changing the recommended ports for Swift services
from ports 6000-6002 to unused ports 6200-6202;
so they do not conflict with X-Windows or other services.
Updated SAIO docs.
DocImpact
Closes-Bug: #1521339
Change-Id: Ie1c778b159792c8e259e2a54cb86051686ac9d18
2016年04月29日 14:47:38 -04:00
Jenkins
9734998569 Merge "Fix doc build if git is absent" 2016年04月28日 16:47:55 +00:00
Jenkins
44d1c227de Merge "adding review guidelines" 2016年04月28日 16:15:03 +00:00
ZhiQiang Fan
a1ed76f1cb Fix doc build if git is absent
When building packages if git is absent, then we should not set
html_last_updated_fmt. It can still be set via the -D switch
when building with sphinx-build.
Change-Id: I5d0b6cc87f27a052d6d0265546c0d347f00c4bb8
Closes-Bug: #1552251 
2016年04月28日 10:12:25 -05:00
Clay Gerrard
00dd89fe69 adding review guidelines
Change-Id: I61304856a4ecccbbf3aa06c30822494592a3b3d5
2016年04月28日 09:36:30 -05:00
Jenkins
ce6c850258 Merge "Fix versioned_writes functional test skipping" 2016年04月26日 23:23:33 +00:00
Tim Burke
5e420efc72 Fix versioned_writes functional test skipping
Previously, if object versioning was enabled via the old-style
allow_versions container-server setting rather than the new-style
allow_versioned_writes proxy-server setting,
TestCrossPolicyObjectVersioning would skip tests while
TestObjectVersioning and TestObjectVersioningUTF8 would run them.
Additionally, if versioned_writes was explicitly included in the
proxy-server's pipeline and allow_versioned_writes was disabled,
the functional tests would fail with a 412.
Now, all three will use the same logic to check whether versioning is
enabled. Specifically, they will all try to set an X-Versions-Location
header and skip if it doesn't stick.
Additionally, the TestCrossPolicyObjectVersioningEnv will now properly
clean up after itself.
Change-Id: I4c788a0e18587ff17d3c6e346fd22b881495f06d
2016年04月26日 21:37:09 +00:00
Denis V. Meltsaykin
1a18079a15 Change pids' type to set
Previously, the pids type was list(), which raised a ValueError in case if
pid was not in pids during the pids.remove(pid) call. The fix changes
the type of pids to set() and substitutes remove() with discard(), which
doesn't raise an Exception if a value is not in the set.
Change-Id: I8d41cb2a8ec14d29e5c7411ddfe48ae7a41deb45
Closes-Bug: #1567638 
2016年04月23日 18:14:02 +03:00
Jenkins
88b2159961 Merge "fix fallocate_reserve traceback" 2016年04月22日 23:03:12 +00:00
Jenkins
60c127575b Merge "swift-[account|container]-info when disk is full" 2016年04月22日 17:31:09 +00:00
Jenkins
72372c1464 Merge "decouple versioned writes from COPY" 2016年04月21日 07:35:59 +00:00
Jenkins
760dcfd53d Merge "Require account/container metadata be UTF-8" 2016年04月20日 19:30:22 +00:00
Jenkins
d6471c7019 Merge "Stop staticweb revealing container existence to unauth'd requests" 2016年04月19日 02:00:28 +00:00
Jenkins
b9a7c27fb2 Merge "Removing unused clause" 2016年04月18日 20:01:03 +00:00
Jenkins
9a6f81568e Merge "Imported Translations from Zanata" 2016年04月18日 08:34:24 +00:00
Jenkins
d57d29044b Merge "Per container stat. report" 2016年04月18日 07:23:31 +00:00
OpenStack Proposal Bot
7d7eaab5af Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I88be5c9dbb1fcc3a15592d42af7160478308b1f4
2016年04月18日 06:31:34 +00:00
Samuel Merritt
ca304cd08e Ignore negative suffix-byte-range requests.
If the client asked for "Range: bytes=--123", Swift would respond with
a 206 and a Content-Length of -123. Now that Range header is ignored
just like all kinds of other invalid Range headers.
Change-Id: I30d4522d223076ce342d20c52f57ff0eb2aea1f4
Closes-Bug: 1571106
2016年04月15日 17:22:44 -07:00
Jenkins
badc0d1477 Merge "Adds eventlet monkey patching of select module if thread is pathed" 2016年04月15日 21:07:41 +00:00
Jenkins
375d297aa9 Merge "Don't include conditional headers in SLO HEAD requests" 2016年04月15日 20:57:41 +00:00
Jenkins
6f00a8bb1e Merge "Convert README.md to README.rst" 2016年04月15日 20:02:08 +00:00
Dmitriy Ukhlov
746d928a87 Adds eventlet monkey patching of select module if thread is pathed
Oslo.messaging pika driver requires patching of select module if thread
is patched.
Pika driver uses select call and if it is not patched onsuming messages
blocks whole eventlet loop
Closes-Bug: #1570242
Change-Id: I9756737309f401ebddb7475eb84725f65bca01bf
2016年04月15日 14:04:12 +00:00
Jenkins
346dad2904 Merge "Make rsync ignore it's own temporary files" 2016年04月14日 20:02:19 +00:00
oshritf
c96d5c671d Per container stat. report
In addition to the container sync stat. report, keeping per container
statistics allows administrator with more control over bytes
transfered over a specific time per user account: The per container stats
are crucial for billing purposes and provides the operator a 'progress
bar' equivalent on the container's replication status.
Change-Id: Ia8abcdaf53e466e8d60a957c76e32c2b2c5dc3fa
2016年04月14日 21:37:59 +03:00
dharmendra
be84b03a07 Removing unused clause
Removing unused clause from common/middleware/dlo.py
Change-Id: I7de9aaefd203c4f1be00ee74b89b5184fd419469
2016年04月14日 16:42:38 +05:30
Tim Burke
fb3692c9bb Don't include conditional headers in SLO HEAD requests
Previously, attempting to PUT a SLO manifest with `If-None-Match: *`
would include the header when validating the segments, causing the
upload to fail.
Now when SLO validates segments, no conditional headers will be
included in the HEAD request.
Change-Id: I03ad454092d3caa73d29e6d30d8033b45bc96136
Closes-Bug: #1569253 
2016年04月13日 21:56:10 -07:00
John Dickinson
91f980314f fix fallocate_reserve traceback
Previously, fallocate_reserve could result in a traceback. The
OSError being raised didn't have the proper errno set. This patch
sets the errno to ENOSPC.
Change-Id: I017b0584972ca8832f3b160bbcdff335ae9a1aa6
2016年04月13日 11:57:45 -05:00
Tin Lam
0e7fca576c Convert README.md to README.rst
Change-Id: I223890bd4ffe469becc2127f9362243cdb52bc08
Closes-Bug: #1567026 
2016年04月12日 17:46:56 -05:00
Jenkins
572be24cae Merge "Convert CONTRIBUTING.md to CONTRIBUTING.rst" 2016年04月12日 14:15:06 +00:00
Jenkins
669dbd6411 Merge "Add unit tests for swift.account.reaper" 2016年04月12日 11:04:18 +00:00
Jenkins
388a4edba6 Merge "Make DirectClientException report correct ip and port" 2016年04月12日 10:37:07 +00:00
Jenkins
7c6b28348d Merge "Modified REPLICATE request to use replication_ip" 2016年04月12日 10:29:31 +00:00
Thiago da Silva
b13a85367e decouple versioned writes from COPY
This change removes the use of the COPY request in the versioned
writes middleware. It changes the COPY verb for GETs and PUTs
requests. The main reasoning for this change is to remove any
dependency that versioning had on copy, which will allow for the COPY
functionality to be moved to middleware and to be to the left of the
versioned writes middleware in the proxy pipeline. In this way,
no COPY request will ever arrive at the versioned writes middleware.
A side benefit of this change is that it removes a HEAD request from
the PUT path. Instead of checking if a current version exists, a
GET request is sent, in case of success, a PUT is sent to the
versions container.
A unit test was removed that tested non-default storage policies.
This test is no longer necessary, since it was used to test
specific policy handling code in the COPY method in the proxy
object controller.
Closes-Bug: #1365862
Change-Id: Idf34fa8d04ff292df7134b6d4aa94ff40887b3a4
Co-Authored-By: Alistair Coles <alistair.coles@hp.com>
Co-Authored-By: Janie Richling <jrichli@us.ibm.com>
Co-Authored-By: Kota Tsuyuzaki <tsuyuzaki.kota@lab.ntt.co.jp>
Signed-off-by: Thiago da Silva <thiago@redhat.com>
2016年04月11日 13:45:36 -04:00
Jenkins
4c7086375a Merge "Additionally break container servers during fast-post probes" 2016年04月11日 08:52:19 +00:00
Ondřej Nový
33f06dc48f Fixed Sphinx errors
doc/source/deployment_guide.rst:1372: ERROR: Malformed table.
swift/obj/diskfile.py:docstring of swift.obj.diskfile.BaseDiskFileManager.yield_hashes:13: ERROR: Unexpected indentation.
doc/source/ops_runbook/diagnose.rst:188: WARNING: Inline emphasis start-string without end-string.
Change-Id: Id20eb62eb5baebb3814e7af5676badb94f17dee5
2016年04月09日 18:47:58 +02:00
Jenkins
130767cd97 Merge "Refactor CORS unit tests" 2016年04月09日 02:00:14 +00:00
Jenkins
284b935330 Merge "Assert that ChunkWriteTimouts are not raised" 2016年04月09日 01:58:51 +00:00
Tin Lam
a829bd5977 Convert CONTRIBUTING.md to CONTRIBUTING.rst
Change-Id: I64c42c42db35a9f55a1df9d4ab6e97a2506b8c45
Closes-Bug: #1567027 
2016年04月08日 19:18:16 -05:00
OpenStack Proposal Bot
a057c409ec Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I9f4330ec20463e4d303e8ba3b67f86813a914ac5
2016年04月08日 07:02:33 +00:00
Jenkins
ace3c0ace3 Merge "Fix infinite recursion during logging when syslog is down" 2016年04月07日 22:13:20 +00:00
Alistair Coles
d09ef0da62 Assert that ChunkWriteTimouts are not raised
Follow up for change Ibbc89449e7878fc4215e47e3f7dfe4ae58a2d638
to add a test assertion that the ChunkWriteTimeout contexts are
exited without raising the timeout exception in
iter_bytes_from_response_part().
Change-Id: I6d323cb26779e457fb5940093a81b349b333a0af
2016年04月07日 12:54:56 +01:00
Jenkins
5d15016669 Merge "remove unused current_status method" 2016年04月07日 11:11:17 +00:00
Jenkins
342bf6a2b9 Merge "Imported Translations from Zanata" 2016年04月07日 09:06:27 +00:00
OpenStack Proposal Bot
7c0f58ec2e Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: Ib80e3a759fa1e4a99576710607ad07fc5f259527
2016年04月07日 07:00:08 +00:00
Nguyen Hung Phuong
edc413b85e Fix typos in Swift files
Change-Id: I39dbf55c094c42347b57ef67520abff9e6fc24bc
2016年04月07日 13:33:20 +07:00
Samuel Merritt
95efd3f903 Fix infinite recursion during logging when syslog is down
Change-Id: Ia9ecffc88ce43616977e141498e5ee404f2c29c4
2016年04月06日 15:45:20 -07:00
Thiago da Silva
0bf518e3b0 remove unused current_status method
Change-Id: I574919eaa14cadc800f3a1f6014221ee382ee7e0
Signed-off-by: Thiago da Silva <thiago@redhat.com>
2016年04月06日 16:58:36 -04:00
Jenkins
475e448366 Merge "Shutdown backend EC connection contexts on disconnect" 2016年04月06日 17:28:42 +00:00
Jenkins
669c3f1e7e Merge "added javaswift to associated projects" 2016年04月06日 15:28:02 +00:00
Alistair Coles
5d56f40f04 Make DirectClientException report correct ip and port
When direct_client.direct_get_suffix_hashes raises a
DirectClientException the exception message and variables
should report the replication_ip and replication_port, as
opposed to the ip and port values reported for all other
case when the exception is raised.
Add option to override ip and port reported in
DirectClientException.
Also adds unit tests to verify both cases.
Related-Bug: 1566395
Change-Id: If3d952847c7199f4e9f6164858085367266386d2
2016年04月06日 11:57:41 +01:00