5c1a7871d9173db9fbd855b72a98ecd8ff163800
2797 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Jenkins
|
83bdd0b2e1 | Merge "Refactor DiskFile instantiation in object server." | ||
|
Jenkins
|
a42e87a464 | Merge "Add sample rsyslog.conf." | ||
|
Jenkins
|
9ac0b14a05 | Merge "Fix swift-dispersion-report." | ||
|
Kun Huang
|
9fc55ee2b4 |
Add sample rsyslog.conf.
Give users a sample rsyslog.conf to manage their logs easily based on LOCAL0 swift used. In this patch I offer some choices to output logs via commnet lines or uncomment. Change-Id: I2fe150a6e3d164a989c3520c0b7f032897a71f18 |
||
|
Brian D. Burns
|
6768d5b4be |
Use object name from request in bulk Errors
This will allow users to more easily match the failed objects in Errors for bulk delete requests to the object names they provided in the request. For extract Errors, it reports the failed path from the tar archive. DocImpact Change-Id: I084057810fc4fb7fdac05494cc6fec2cbf81bb9d |
||
|
Samuel Merritt
|
57d4e6e718 |
Fix swift-dispersion-report.
Fixes bug 1180680. Change-Id: I1c0eaa6f934f73853e832a8e468e1b8369a21117 |
||
|
Samuel Merritt
|
d9f2a76973 |
Local write affinity for object PUT requests.
The proxy can now be configured to prefer local object servers for PUT requests, where "local" is governed by the "write_affinity". The "write_affinity_node_count" setting controls how many local object servers to try before giving up and going on to remote ones. I chose to simply re-order the object servers instead of filtering out nonlocal ones so that, if all of the local ones are down, clients can still get successful responses (just slower). The goal is to trade availability for throughput. By writing to local object servers across fast LAN links, clients get better throughput than if the object servers were far away over slow WAN links. The downside, of course, is that data availability (not durability) may suffer when drives fail. The default configuration has no write affinity in it, so the default behavior is unchanged. Added some words about these settings to the admin guide. DocImpact Change-Id: I09a0bd00524544ff627a3bccdcdc48f40720a86e |
||
|
Jenkins
|
13347af64c | Merge "Improve swift's keystoneauth ACL support" | ||
|
Jenkins
|
054ffbe4a6 | Merge "Stop getting useless bytes on manifest Range requests." | ||
|
yuan-zhou
|
60388c9978 |
Adding unit tests for direct client
- Added simple unit tests for direct client - Implemented chunked put in direct_put_object Change-Id: Icec1019b5157fae33e2fd36a7fc3b9c0cc15afec |
||
|
Samuel Merritt
|
e8e6bffc95 |
Clean up some remnants of StaticWeb's and TempURL's custom caching.
As of |
||
|
Jenkins
|
75660a1e9e | Merge "bulk response Content-Type does not match request Accept header" | ||
|
Jenkins
|
461b88b7bd | Merge "Added utils.FileLikeIter" | ||
|
Jenkins
|
2412f6c737 | Merge "Add "normal", optparse-style options to swift-ring-builder add." | ||
|
Jenkins
|
4eda025a58 | Merge "Add example Apache config files" | ||
|
Jenkins
|
d5736ec00b | Merge "python3: Introduce py33 to tox.ini" | ||
|
Jenkins
|
cc660921dc | Merge "use get_container_info for staticweb" | ||
|
David Hadas
|
e872e54c2a |
Add example Apache config files
This patch is needed in 1.9 as a dependency for adding swift/apache to devstack. zhang-hare is working in parallel on a devstack patch that depend on this patch. As part of this patch we add examples dir. In this dir we add template config files that can be used either by a script (as will be done by devstack) or serve a an example to the admin. Apache2 vhost files were added under examples/apache2 Wsgi files were added under examples/wsgi Fixes: Bug #1191388 Change-Id: If90e38a0ba36f6b59016d4a1374f4100f0bbee7b |
||
|
Jenkins
|
ff02537d97 | Merge "update .gitignore" | ||
|
Jenkins
|
c19daab149 | Merge "Add max_header_size to swift.conf-sample and relative UT" | ||
|
Kun Huang
|
2a9da16de6 |
update .gitignore
Ignore build/ directory, which is auto-created when running `python setup.py bdist` like dist/ directory. Change-Id: Ie58936320d995e4e81f8929128475e538665bde8 |
||
|
Michael Barton
|
e499b9100b |
use get_container_info for staticweb
Update staticweb to use get_container_info instead of its own memcache entry. Change-Id: I59bc0d94b9e45f3d5776a5462f53b82ab78101d4 |
||
|
John Dickinson
|
1b930dd669 |
version bump to 1.9.0 to reflect current dev target
Change-Id: Ia0a1b36ae90ed895dcc9876c016aaf261ad56674 |
||
|
Jenkins
|
527dc236c5 | Merge "Make TempURL more cache-efficient." | ||
|
Jenkins
|
9d0a0e850e | Merge "Swift tests for unicode headers" | ||
|
Jenkins
|
440f508ebe | Merge "Optional TCP_KEEPIDLE in unit tests" | ||
|
Samuel Merritt
|
2e155e5603 |
Make TempURL more cache-efficient.
So, there's two cases here. In one case, we have memcache enabled; account info gets cached in the usual place, and tempurl keys get cached separately. In the other case, we have no cache. In neither case is anything gained by having TempURL cache keys separately from the account info. This commit removes TempURL's custom caching logic and makes it rely on get_account_info() instead. Benefits include: * immediate visibility of new keys on account POST * less data in the cache per account --> more stuff fits in cache * less code for bugs to hide in Change-Id: Idb0b6c165da14196b4c79149c546f0159b54edcb |
||
|
Jenkins
|
6a51c5e8ff | Merge "Add branch coverage reporting" | ||
|
gholt
|
0a77f04893 |
Added utils.FileLikeIter
A really simple version of this was in container sync already, and I needed a more complete version for work I'm doing, and I noticed https://review.openstack.org/#/c/33405/ was also making use of it. So, here's a more full version. If https://review.openstack.org/#/c/33405/ lands before this, I'll update it accordingly. Change-Id: Iba66b6a97f65e312e04fdba273e8f4ad1d3e1594 |
||
|
Kun Huang
|
5c8785aaee |
Add max_header_size to swift.conf-sample and relative UT
1. Add explanation of MAX_HEADER_SIZE into swift.conf-sample as same as other settings in swift.conf. Especially point out the default size of header line in eventlet is 8192 which is the main reason why we set 8192 for MAX_HEADER_SIZE in swift. 2. Add some unit tests to check valid settings in swift.conf. Test cases in test_constraints use /etc/swift/swift.conf if exists, and if any wrong settings are in it (MAX_META_VALE > MAX_META_OVERALL_SIZE), swift's unit test must fail. These new unit tests is used in this case. Change-Id: I7bb21951d46050163c1b7bceac8d49302b9209f7 |
||
|
David Goetz
|
ad24cde120 |
bulk response Content-Type does not match request Accept header
Change-Id: Ieceed3837466c45bc2790b09cd56ae95f43dba2e |
||
|
Jenkins
|
60c1bc545e | Merge "Treat directory objects as not found" | ||
|
Ilya Kharin
|
2a67003e77 |
Optional TCP_KEEPIDLE in unit tests
Allows to run unit tests on BSD-based platforms. The commit
|
||
|
Jenkins
|
f99cf2dcc1 | Merge "Fixed some minor doc building errors" | ||
|
Jenkins
|
0d24b3e822 | Merge "More xml fixes" | ||
|
Jenkins
|
a30dbf1df0 | Merge "Fix 503 on account/container HEAD w/invalid format." | ||
|
gholt
|
e9d1199887 |
More xml fixes
subdir elements now have their names quoteattr Change-Id: I37faf164e339deacb6555db94196135debe22a6c |
||
|
Jenkins
|
59a8aae035 | Merge "Fix ring validate with device prior to rebalance." | ||
|
Jenkins
|
88d3d125e2 | Merge "Better escaping for GET /v1/a?format=xml." | ||
|
Chuck Thier
|
cbe90735e8 |
Fixed some minor doc building errors
Change-Id: I91709c3fc6e937fdb31b418ac98fe5a67265cea7 |
||
|
Samuel Merritt
|
92d7eadd32 |
Better escaping for GET /v1/a?format=xml.
Commit
|
||
|
Pete Zaitcev
|
11aaaf1f3f |
Remove Lucid/ppa instructions from SAIO guide
Lucid won't EOL until May of 2014; but I stopped trusting that ppa a long time ago. Besides with the requires for dnspython and mock where they're at you almost can't install swift from source on any stock distro and expect tests to pass with system packages - so we're looking at pypi for depends regardless. While I'm in there: * more explanation of <your-user-name> and a helpful find/sed for configs * group the "setup ~/.bashrc" stuff with the "setup ~/bin" stuff * some updates/fixes from my experience installing on CentOS * remove region warnings from remakerings Change-Id: Ie2e6b06959ab699d853e07e5b7e8cda7036a44fe |
||
|
Jenkins
|
7757144da5 | Merge "Added logging of x-delete-at values" | ||
|
Alex Gaynor
|
8f9b135e0a |
Checked user input in XML responses.
Fixes bug 1183884. * swift/account/utils.py: Escape account name in XML listings. Change-Id: I2392d012ddeec05a267c3dcf14748112316096f3 |
||
|
gholt
|
04a189676b |
Added logging of x-delete-at values
Added logging of the x-delete-at value for object PUTs and POSTs and made the additional log field generic for other similar use cases. Logging the x-delete-at is useful because otherwise you might never know why an object "disappeared" just by looking at saved proxy logs. You'd see a successful PUT of the object followed some time by a GET that 404s. If you still have the other logs, you could track down what happened; but, at least with our clusters, we keep proxy logs forever but only keep the other logs for a short while. Change-Id: Ida559abcf8dc5666e2a7eea250a67d1c4b28b1be |
||
|
Jenkins
|
6001b4519d | Merge "Fix formpost with queries without user_agent." | ||
|
Jenkins
|
cc4589cf63 | Merge "Improve SAIO deploy document." | ||
|
Jenkins
|
b545fbe2af | Merge "Add UT for checking special chars in object name" | ||
|
Kun Huang
|
58a095b93e |
Improve swift's keystoneauth ACL support
Below three bug reports talk about one thing. Current keystoneauth ACL supports as: tenant_name:user_id ok tenant_name:user_name no tenant_name:* no tenant_id:user_id ok tenant_id:user_name no tenant_id:* no *:user_id ok *:user_name no *:* no This patch will make all of above work fine. Applying (tenant/user)name could let user put or get their data in a more readable way. The tenant_name:* and *:user_name is suitable for many usage. note: to keep compatibility here add a new keystone.identity just for authorize() itself and leave env['keystone.identity'] to other middlerwares. Fixes: bug #1020709 Fixes: bug #1075362 Fixes: bug #1155389 Change-Id: I9354dedaad875117f6a9072c67e9ecf69bfca77e |
||
|
Kun Huang
|
90c422deae |
Improve SAIO deploy document.
improving points: 1. Remove yum install swift in Fedora; Use installing from source for both Ubuntu and Fedora. 2. Explain you could use all users including root, your own guest. An d the points developer have to care. Change-Id: Id6d683441bd790a21734624e29eb7c98bb40de85 Fixes: bug #1126389 |