d2d9a15ddf18ee6639829a2454b81c6876885f90
2498 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
David Goetz
|
d2d9a15ddf |
Fixing SLO range requests
Change-Id: I355e99c971cfe8f7f8dedcd8f9f08c97079863cc |
||
|
Leah Klearman
|
60489cdedd |
additional unit test coverage for container/server.py
Change-Id: Id510cceb88f062f921450a5d25d7c97b7ca5943b |
||
|
David Hadas
|
a979c8007b |
Add support for Hash Prefix
A new configuration parameter is added to /etc/swift/swift.conf [swift-hash] swift_hash_path_prefix = 'random unique string' New installations are advised to set this parameter to a random secret, which would not be disclosed ouside the organization. The same secret needs to be used by all swift servers of the same cluster. Existing installations should set this parameter to an empty string (the default) DocImpact Fixes: Bug #1157454 Change-Id: I63b10d0b7d6dd3f74e0f10bb41b5f240fa03578a |
||
|
Jenkins
|
37e96663ec | Merge "Fix for unicode issues in staticweb" | ||
|
Jenkins
|
1eb08bfd29 | Merge "Fix bugs in bulk and slo and small doc change." | ||
|
Jenkins
|
b5b2eaea13 | Merge "instruction command was not documented in right format." | ||
|
David Goetz
|
92e877ae51 |
Fix bugs in bulk and slo and small doc change.
Added 411 responses in bulk and slo when needed. Make X-Static-Large-Object an illegal header with slo installed- somehow that got lost with some refactor I did. Change-Id: I986c1656658f874172860469624118cc63bff9bc |
||
|
tong li
|
c1dfe891e7 |
instruction command was not documented in right format.
Instructions for a Multiple Server Swift Installation (Ubuntu) doc for creating /var/run/swift and changing owner command were not using the right format. Missing two colons. Change-Id: Ie23007a0da498373fbfb137c7edb3d80813c6ba5 Fixes: bug #1158310 |
||
|
Donagh McCabe
|
7df4323745 |
Fix for attempted COPY of objects gt MAX_FILE_SIZE
If X-Copy-From is a manifest object, it can be bigger than MAX_FILE_SIZE. Currently this fails with 503. It should be 413. Bug #1158279 Change-Id: I7ec16088046c84e42d5be9c865e1338eb07845b6 |
||
|
Eohyung Lee
|
05c8d61aeb |
Fix for unicode issues in staticweb
When prefix or subdir is unicode, it fails. Fixes: bug #1158092 Change-Id: I966a7a198a5ca5ea152872c94240e8c2ebe57d36 |
||
|
Jenkins
|
3cf99ecc33 | Merge "Fix misspelled variable." | ||
|
Samuel Merritt
|
70aa7f9053 |
Fix misspelled variable.
Change-Id: I243de23d5acee135113dc81fca6244d651a2d9a8 |
||
|
Jenkins
|
18c03d9aa7 | Merge "increase unit test coverage on account server" | ||
|
Jenkins
|
fc27698fd4 | Merge "fix stupid bug with bulk delete max items" | ||
|
David Goetz
|
1b150749f7 |
fix stupid bug with bulk delete max items
Change-Id: I52160b5e7480112d536c45dd4b0b10a808adcdcd |
||
|
Kun Huang
|
7dd966192a |
Use role in insensitive case in keystoneauth.
Using insensitive case could tolerate human error. For example, user maybe set like this "operator_roles = Admin, swiftoperator" - also fix a mistake in test, ['admin'] is correct value for roles, not 'admin' (it will be looped as ['a', 'd', 'm', 'i', 'n']) - add test for insensitive cases Fixes: bug #1013120 Change-Id: I56d71da8bc503e48e92dd743692ba6fc237f029e |
||
|
Jenkins
|
85b7346808 | Merge "Improved container-sync resiliency" | ||
|
John Dickinson
|
62278171b9 |
version bump for 1.8.1
first commit for openstack havana Change-Id: If9fe0fb73c676d5f6d1ed53ccfa300faa0aad8db |
||
|
John Dickinson
|
9e777bd233 |
AUTHORS/CHANGELOG uploades for the next release
also bumped the dev version to 1.8.0 to reflect the current dev target Change-Id: Ib05cb4f0616c0d297ce5cd7073af766c7a4300d91.8.0.rc1 |
||
|
Leah Klearman
|
a5ba0d5edc |
increase unit test coverage on account server
Change-Id: Id728a17180f4ee2e31edaef0af6d26446b6014c2 |
||
|
Jenkins
|
157d5c7d49 | Merge "Basic ring builder validation." | ||
|
Jenkins
|
220db2e5b5 | Merge "Give friendly notification in swift-get-nodes" | ||
|
Jenkins
|
591a3a599d | Merge "Small clarification to swift-recon section of admin guide." | ||
|
Jenkins
|
a0d5d7f725 | Merge "Permit functional tests against Swift with Keystone" | ||
|
Jenkins
|
2c2fc454de | Merge "swift-ring-builder blows up when not supported command requested." | ||
|
Jenkins
|
4360744767 | Merge "Instruction for multi node setup misses /var/run/swift creation" | ||
|
Jenkins
|
7b03ca15b2 | Merge "Fix crash in swift-ring-builder's list_parts command." | ||
|
tong li
|
68355d7ea5 |
Instruction for multi node setup misses /var/run/swift creation
Multiple Server Swift Installation (Ubuntu) instruction does not indicate that the directory /var/run/swift needs to be created. That directory actually needs to be created and the ownship needs to be changed to the user/group which swift service runs under. This patch will fix the document and gives the steps how to create the directory and set the ownership right. It also gives instruction on how the script can be added so that swift services can be resarted after system reboots. Change-Id: Id61aa67cc0d6f66d749701e6ea824b1ff3b2c478 Fixes: bug #1156631 |
||
|
Samuel Merritt
|
d42a78a3aa |
Basic ring builder validation.
This prevents people from creating bogus ring builder files. Example: "swift-ring-builder object.builder create 33 0.9 -4". Fixes bug 924577. Change-Id: I7bfc04f7fa5f55f70a4eaae96c414f6b2872e283 |
||
|
tong li
|
b530de2ad5 |
swift-ring-builder blows up when not supported command requested.
swift-ring-builder uses outdated unbounded class method to handle not supported command. It worked for python 2.6 or older but not for python 2.7 or newer. This patch fixes the problem. Change-Id: I7dbc681ef6be44f6d79ff93189ccca13c51eab74 Fixes: bug #1154882 |
||
|
Samuel Merritt
|
d88d12b120 |
Small clarification to swift-recon section of admin guide.
Apparently the use of port 6030 was causing some confusion. Fixes bug 1095474. Change-Id: I0cc71f4733ad91694e015a9b75c3eda080aca6fb |
||
|
Jenkins
|
c2f8f00a3e | Merge "Fix format device" | ||
|
Jenkins
|
94defcbc53 | Merge "Add tests and doc entry for request.environ[reseller_request]" | ||
|
Ilya Kharin
|
e56832c138 |
Fix format device
Change-Id: Icef35175682c11a406ef85accc6c6e1acbf89f4d |
||
|
Samuel Merritt
|
229ba53a19 |
Fix crash in swift-ring-builder's list_parts command.
If you run list_parts against a builder that has never been rebalanced, you'd get a crash. Now you don't. To reproduce: $ swift-ring-builder foo.builder create 8 3 1 $ swift-ring-builder foo.builder add r1z1-1.2.3.4:6000/sda 100 $ swift-ring-builder foo.builder list_parts z1 Change-Id: Ic3edffab0c5c2e9551a2f89ddb881153f0b07db7 |
||
|
Jenkins
|
b115356af6 | Merge "Remove check for valid Origin for the "actual request"." | ||
|
Jenkins
|
8e58c9c2a9 | Merge "Add missing CONTRIBUTING.md to source tarball" | ||
|
Jenkins
|
fd3a8a6650 | Merge "Fix swift-ring-builder's list_parts command." | ||
|
David Goetz
|
f6e29b81d0 |
Remove check for valid Origin for the "actual request".
The only place in the spec that I could see the Origin being checked was during the pre-flight OPTIONS request. If it gets to the actual request let auth decide. Please correct me if this is wrong. Change-Id: Ic31b71746ec056091c7778ebff3db7becc32bd9c |
||
|
Samuel Merritt
|
35acd5912f |
Fix swift-ring-builder's list_parts command.
I broke it in
|
||
|
Samuel Merritt
|
ebcd60f7d9 |
Add a region tier to Swift's ring.
The region is one level above the zone; it is intended to represent a chunk of machines that is distant from others with respect to bandwidth and latency. Old rings will default to having all their devices in region 1. Since everything is in the same region by default, the ring builder will simply distribute across zones as it did before, so your partition assignment won't move because of this change. If you start adding devices in other regions, of course, the assignment will change to take that into account. swift-ring-builder still accepts the same syntax as before, but will default added devices to region 1 if no region is specified. Examples: $ swift-ring-builder foo.builder add r2z1-1.2.3.4:555/sda $ swift-ring-builder foo.builder add r1z3-1.2.3.4:555/sda $ swift-ring-builder foo.builder add z3-1.2.3.4:555/sda Also, some updates to ring-overview doc. Change-Id: Ifefbb839cdcf033e6c9201fadca95224c7303a29 |
||
|
Thierry Carrez
|
b3732787ea |
Add missing CONTRIBUTING.md to source tarball
Fixes MANIFEST.in to include missing CONTRIBUTING.md into source code tarballs. Change-Id: I81876adad14e0f1b2211d39ec6471e35f5464120 |
||
|
gholt
|
f6d1fa1c15 |
Fixed bug with account_info
There was a bug where account_info wasn't converting the container_count value to an int. Causes max container count cap to get hit pretty quick since '0' > 0. Change-Id: Ibfc6eebbff5a00aaebb47e9731dd053b60e3caa4 |
||
|
Pete Zaitcev
|
35e07e2982 |
Permit functional tests against Swift with Keystone
While poking at such problems with authentication other than swauth it was useful to allow stock functional tests running back-to-back at two clusters, with tempauth and Keystone. When running the legacy tests, this version packs account into user the way it was down previously. This way we do not need to repack them before every call to get_auth. The downside is additional work to be done when setting ACLs. Change-Id: Ieb1d9227cb88977ecd2c39825039bc4be8afae0b |
||
|
Christian Schwede
|
157c3c91ee |
Add tests and doc entry for request.environ[reseller_request]
The recent account_quotas (https://review.openstack.org/23434) patch added a new setting request.environ[reseller_request]. This patch adds tests for tempauth and keystoneauth as well as an updated overview_auth.rst. Change-Id: Icdb7ec9948ae7424b0721fc51a143782b2fdc5a6 |
||
|
Kun Huang
|
cb69dc881a |
Give friendly notification in swift-get-nodes
Hard coding of '/srv/node' maybe drive to some errors. But it seems unfixable (please see talks in bug report). To avoid erros as we can, showing a friendly notification to let user set their own device location works better than hard coding directly. Change-Id: I45d749dd52af8d3b051dfe98dbb9d71a5a374f97 Fixes: bug #907908 |
||
|
David Hadas
|
8b140033f0 |
Improved container-sync resiliency
container-sync now skips faulty objects in the first and second rounds. All replicas try in the second round. No server will give up until the faulty object suceeds Fixes: bug #1068423 Change-Id: I0defc174b2ce3796a6acf410a2d2eae138e8193d |
||
|
jola-mirecka
|
5e427e5e3b |
Add exception to swift-drive-audit if no date in line.
Sometimes there is no date at the beginning of a line in kern.log. Although it does not happen often, there should be a check ensuring the program doesn't crash in case it happens. Added try-except block surrounding parsing string to date format. Change-Id: I44a101266582eea2199189a006afa1037a9bd4ea Fixes: bug #1152658 |
||
|
Jenkins
|
a8af3835c0 | Merge "Account quotas" | ||
|
Christian Schwede
|
28c75db0e7 |
Account quotas
Add a new middleware implementing account quotas. This middleware blocks write requests (PUT, POST) if a given quota (in bytes) is exceeded while DELETE requests are still allowed. Quotas are stored in the x-account-meta-quota-bytes metadata entry. Write requests to this metadata setting are only allowed for resellers. Change-Id: I57fd7c6209f34cc79d4bab72d500d43ba2a62083 |