commit 5a785aa5ee038798b59193fd820e7100ebf119c5
Author: Monty Taylor <email address hidden>
Date: Sun Aug 4 16:10:49 2013 -0400
Add missing copyright license headers
We're working on adding enforcement that things have appropriate
copyright license headers. In anticipation of that, fix the files that don't
have them.
Fix handling of DELETE obj reqs with old timestamp
The DELETE object REST API was creating tombstone files with old
timestamps, potentially filling up the disk, as well as sending
container updates.
Here we now make DELETEs with a request timestamp return a 409 (HTTP
Conflict) if a data file exists with a newer timestamp, only creating
tombstones if they have a newer timestamp.
The key fix is to actually read the timestamp metadata from an
existing tombstone file (thanks to Pete Zaitcev for catching this),
and then only create tombstone files with newer timestamps.
We also prevent PUT and POST operations using old timestamps as well.
Change-Id: I631957029d17c6578bca5779367df5144ba01fc9
Signed-off-by: Peter Portante <email address hidden>
commit 69f9f9e88aade6634b7b72bb22dc2c48fbc87460
Author: Wu Wenxiang <wu.wenxiang@99cloud.net>
Date: Sun Aug 4 11:15:53 2013 +0800
Assignment to reserved built-in symbol
Built-in symbol: file, format, range etc was re-assigned as local vars
in files: test/functional/swift_test_client.py and
test/functional/tests.py, rename these local vars.
commit 358a03325b549f30cefa0c67e264d3d8a1b63059
Author: Alex Gaynor <email address hidden>
Date: Mon Aug 5 15:35:34 2013 -0700
Ensure http_connect is mocked out in tests
Otherwise this test will try to connect to several addresses that aren't
mapped. On Linux the entier 127.0.0.* block is mapped to localhost, so this
often isn't noticed, but on OS X only 127.0.0.1 is mapped by default.
Since staticweb works with anonymous requests by default, explictly
mention delay_auth_decision for the authtoken middleware in
/etc/swift/proxy-server.conf.
Just like stale_reads_ok, this was already an argument, end even
used by the replicator that way. We only make it used exclusively
this way, so that we can document it for LFS.
The default value of DiskFile.disallowed_metadata_keys is None. And it
will be iter in following codes even if it didn't get a new value. So
it is necessary to give Diskfile.disallowed_metadata_keys an empty list
in __init__ if the default value None is used.
- mock http_connect in replicator.test_delete_partition test to not
connect directly on 127.0.0.1 (which is not always avail on non
linuxies).
- Fixes bug 1203907
Reviewed: https:/ /review. openstack. org/41478 github. com/openstack/ swift/commit/ 6fff883838b8233 35f4f4104113112 a47e4a5a30
Committed: http://
Submitter: Jenkins
Branch: feature/ec
commit 716ad3e07b06c84 271e6059dbafaf3 b6e735cfc7
Author: Chmouel Boudjnah <email address hidden>
Date: Fri Aug 9 17:16:36 2013 +0200
Add libcloud to associated_ projects.
Change-Id: I8778bbecc7ae58 52cf789ae6b7119 1004f69861f
commit e8a593fbf014f3a 1ba94f1cbeb6403 7abacc84e5
Author: John Dickinson <email address hidden>
Date: Fri Aug 9 07:50:28 2013 -0700
added a couple of java libraries to associated projects
Change-Id: I7a554af509e8d9 743a8416a051845 c266e1fb9f6
commit 5a785aa5ee03879 8b59193fd820e71 00ebf119c5
Author: Monty Taylor <email address hidden>
Date: Sun Aug 4 16:10:49 2013 -0400
Add missing copyright license headers
We're working on adding enforcement that things have appropriate
copyright license headers. In anticipation of that, fix the files that don't
have them.
Change-Id: Ie0a9fd5eece5b6 671ff4389b07b69 ca29be7d017
commit 1fc2742314a7ebf ef52598538ec34f ab36ae8866
Author: John Dickinson <email address hidden>
Date: Wed Aug 7 08:40:54 2013 -0700
version bump to reflect current dev target
Change-Id: I5db26319ba642c 6447527f50c7316 b8b5933871d
commit bc998f8c36ed951 cd03d685b474613 e67b49fed3
Author: John Dickinson <email address hidden>
Date: Tue Aug 6 11:20:32 2013 -0700
CHANGELOG and AUTHORS and .mailmap updates for 1.9.1
Change-Id: I34b28ffd7971a9 9b727c5149bddde b9c6020e1df
commit 6b9806e0e8cbec6 0c0a3ece0bd516e 0502827515
Author: Peter Portante <email address hidden>
Date: Tue Jul 2 11:48:19 2013 -0400
Fix handling of DELETE obj reqs with old timestamp
The DELETE object REST API was creating tombstone files with old
timestamps, potentially filling up the disk, as well as sending
container updates.
Here we now make DELETEs with a request timestamp return a 409 (HTTP
Conflict) if a data file exists with a newer timestamp, only creating
tombstones if they have a newer timestamp.
The key fix is to actually read the timestamp metadata from an
existing tombstone file (thanks to Pete Zaitcev for catching this),
and then only create tombstone files with newer timestamps.
We also prevent PUT and POST operations using old timestamps as well.
Change-Id: I631957029d17c6 578bca5779367df 5144ba01fc9
Signed-off-by: Peter Portante <email address hidden>
commit 69f9f9e88aade66 34b7b72bb22dc2c 48fbc87460 99cloud. net>
Author: Wu Wenxiang <wu.wenxiang@
Date: Sun Aug 4 11:15:53 2013 +0800
Assignment to reserved built-in symbol
Built-in symbol: file, format, range etc was re-assigned as local vars /swift_ test_client. py and functional/ tests.py, rename these local vars.
in files: test/functional
test/
Fixes bug #1208078
Change-Id: I627894cd722bd3 2cad231d534cbe9 7a0412c7cc9
commit 64756f8d17adf55 d8c2cdf2413023a 451ea9d566
Author: Chmouel Boudjnah <email address hidden>
Date: Tue Aug 6 12:58:59 2013 +0200
Use /var/run/syslog on macosx for syslog tests.
- This patch is based on zaictev review.
- Fixes bug 1206560.
Change-Id: I41f3d485df41fe 443784f803b2767 12405fe72c6
commit 0e96911aada553b 4e1a00131732894 ce533af403
Author: Pete Zaitcev <email address hidden>
Date: Mon Aug 5 20:38:01 2013 -0600
Increase test coverage of swift/common/db.py
The most low hanging fruit is _preallocate(). As it turns out,
we never excercise the calculations because we never give it
a file that exists.
This version uses mock.patch everywhere.
Change-Id: I5df03aff295d2a 1bca252a02b3985 a6bc3eecb26
commit 358a03325b549f3 0cefa0c67e264d3 d8a1b63059
Author: Alex Gaynor <email address hidden>
Date: Mon Aug 5 15:35:34 2013 -0700
Ensure http_connect is mocked out in tests
Otherwise this test will try to connect to several addresses that aren't
mapped. On Linux the entier 127.0.0.* block is mapped to localhost, so this
often isn't noticed, but on OS X only 127.0.0.1 is mapped by default.
Change-Id: I44034d5006ff25 e052afdb6599ab5 838e4c5ae5b
commit 7f1aa9d1e838f48 b91966fa44e179c 82b2b116b7
Author: Vincent Untz <email address hidden>
Date: Fri Jul 12 08:11:27 2013 +0200
Allow dispersion tools to use keystone server with insecure certificate
The swift-dispersio n-populate and swift-dispersio n-report tools now
accept a --insecure option.
Also, dispersion.conf now has a keystone_ api_insecure option.
Default is obviously to use the secure path.
DocImpact
Change-Id: I4000352e547d9c e5b08ade54e0c88 6281caff891
commit 5f43e257e9e4c8d b26033bb003dce7 10ad40c5c6
Author: Sascha Peilicke <email address hidden>
Date: Mon Aug 5 15:36:48 2013 +0200
Clarify staticweb configuration with keystone.
Since staticweb works with anonymous requests by default, explictly swift/proxy- server. conf.
mention delay_auth_decision for the authtoken middleware in
/etc/
Change-Id: I4879884b222248 43cf9d4a50ba335 9fac36957dc
commit 2690a4e60476975 a74b73006c76373 e10438ddf5
Author: Chmouel Boudjnah <email address hidden>
Date: Mon Aug 5 09:28:47 2013 +0000
Fix sphinx error in swift.common.utils
- Error was swift/common/ utils.py: docstring of common. utils.parse_ content_ type:7: ERROR: Unexpected
swift.
indentation.
- Closes-Bug: #1208396
Change-Id: Ia0c095d1b0b202 e99991aabdf96e1 2b52c922c5c
commit 657a0e4e26492af 305e63aee995819 0daa811605
Author: Koert van der Veer <email address hidden>
Date: Mon Aug 5 09:55:54 2013 +0200
Add swift-basicauth and better-staticweb to associated projects.
As announced here: openstack. markmail. org/thread/ jjjbdpurhb5jwax e
http://
Change-Id: I683c463745b34c 003ecb79ba8261b 94b9dc166b6
commit 6895bb6589c8835 60e16c4495130a5 866514d7ce 99cloud. net>
Author: Wu Wenxiang <wu.wenxiang@
Date: Fri Aug 2 21:04:24 2013 +0800
Correct misspell in comments
In file: test/functional /tests. py
Change-Id: I4440123b95e38b 40a7a0a5f1f0319 41f42c1085e
commit d819354c766fe3b c76d1bdbecde2e1 8515a1fd70
Author: gholt <email address hidden>
Date: Thu Aug 1 13:09:13 2013 +0000
Just a tiny doc fix for a Sphinx warning
Change-Id: Iede31212065eaf b94fd29a63103e1 e73e2de770d
commit f242311b209d9aa 634622545b1818a c81521ed72
Author: Pete Zaitcev <email address hidden>
Date: Wed Jul 31 16:01:15 2013 -0600
Make pending_timeout an argument of __init__
Just like stale_reads_ok, this was already an argument, end even
used by the replicator that way. We only make it used exclusively
this way, so that we can document it for LFS.
Change-Id: Ib722093a476ec7 5d87917b37b40b7 7dcf2627330
commit 6c3619469264d7d ff05838fb632c54 6289df4e6e
Author: Kun Huang <email address hidden>
Date: Wed Jul 31 11:50:06 2013 +0800
give value [] if disallowed_ metadata_ keys is None
The default value of DiskFile. disallowed_ metadata_ keys is None. And it disallowed_ metadata_ keys an empty list
will be iter in following codes even if it didn't get a new value. So
it is necessary to give Diskfile.
in __init__ if the default value None is used.
fixes bug #1206740
Change-Id: I8454eba47b2c69 1166924356ab33b 0235a800951
commit e448b2f5f7094ed 64a203785221c88 edd1dd88b8
Author: Chmouel Boudjnah <email address hidden>
Date: Tue Jul 30 17:16:59 2013 +0200
Fake http_connect in test_replicator test
- mock http_connect in replicator. test_delete_ partition test to not
connect directly on 127.0.0.1 (which is not always avail on non
linuxies).
- Fixes bug 1203907
Change-Id: I2622223c9fe5a3 db2a113b6cd8d02 8a5db0915a7
commit 53345da70e3c969 168e7192c309854 0ba642ea09
Author: Michael Barton <email address hidden>
Date: Tue Jul 23 14:54:51 2013 -0700
some container serialization cleanup
Have json and xml use common record cleanup code.
Do a somewhat better job of parsing extensions from content-types.
Use a real XML serializer.
Change-Id: I10e14dffd1da59 0b4fd180b4d33ab 5de862e2b55
commit adbe86990e5d686 12169f22fbe5de4 f0eded8912
Author: Chmouel Boudjnah <email address hidden>
Date: Thu Jul 11 17:19:25 2013 +0200
Remove duplicated code in direct_client.
- Add a base function _get_direct_ account_ container to do the direct
account stuff instead of duplicating both methods.
Change-Id: I12059a741dd22d 0dde20012d1dbc4 be9b8e90957