b587d1606c5bd524efc473182f6048580fae33c8
Commit Graph

926 Commits

Author SHA1 Message Date
Christian Schwede
c9488027cb Make versioned_writes docstring more precise
Add a note to the docstring that it is required to add a config section
to the proxy-server.conf and an entry to the pipeline to support history
mode.
Closes-Bug: 1619261
Change-Id: I888485ab4ece6f47db081a4d58c1aab24ce72a8a
2016年09月01日 12:02:21 +00:00
Jenkins
9d08d17b4f Merge "Add "history" mode to versioned_writes middleware" 2016年08月26日 08:33:45 +00:00
Jenkins
714384a716 Merge "Add Pros/Cons docs for global cluster consideration" 2016年08月25日 00:38:47 +00:00
Jenkins
5e0178d75b Merge "Documantation enhancements of nice/ionice feature" 2016年08月19日 08:36:40 +00:00
Peter Lisák
8bf2233b40 Documantation enhancements of nice/ionice feature
Based on comments from patch #238799.
Change-Id: I9455cf6dc7fd12fee62439ff3c5f3255287ab1be
2016年08月19日 07:39:49 +02:00
Jenkins
c643c261d1 Merge "Improve doc for using container-sync with large objects" 2016年08月19日 03:56:51 +00:00
Jenkins
4992c7d399 Merge "Change schedule priority of daemon/server in config" 2016年08月18日 08:34:48 +00:00
Kota Tsuyuzaki
dfa5523d8c Add Pros/Cons docs for global cluster consideration
This comes from discussion in Bristol Hackathon (Feb 2016).
Currently Swift has a couple of choices (Global Cluster and Container
Sync) to sync the stored data into geographically distributed locations.
This patch adds the summary of the discussion comparing between
Global Cluster and Container Sync to enable operators to know which
functionality fits their own use case.
And, to be fairness with container-sync, this patch moves global
cluster docs into overview_global_cluster.rst from admin_guide.rst.
Co-Authored-By: Alistair Coles <alistair.coles@hpe.com>
Change-Id: I624eb519503ae71dbc82245c33dab6e8637d0f8b
2016年08月17日 12:52:25 +01:00
Alistair Coles
cc2b2cf9c8 Improve doc for using container-sync with large objects
Clarify that synced segment container names must be the same
when syncing large objects.
Also add multipart-menifest query string option to API ref
for object GETs.
Change-Id: Ib2d2a1e6c1e5eff215fc75c2b49e7d6758b17b7e
Partial-Bug: #1613681
Closes-Bug: #1613316 
2016年08月16日 16:35:53 +01:00
Tim Burke
c7283be4fe Add "history" mode to versioned_writes middleware
This change introduces the concept of a "versioning mode" for
versioned_writes. The following modes are supported:
 * stack
 When deleting, check whether any previous versions exist in the
 versions container. If none is found, the object is deleted. If the
 most-recent version in the versions container is not a delete
 marker, it is copied into the versioned container (overwriting the
 current version if one exists) and then deleted from the versions
 container. This preserves the previous behavior.
 If the most-recent version in the versions container is a delete
 marker and a current version exists in the versioned container, the
 current version is deleted. If the most-recent version in the
 versions container is a delete marker and no current version exists
 in the versioned container, we copy the next-most-recent version
 from the versions container into the versioned container (assuming
 it exists and is not a delete marker) and delete both the
 most-recent version (i.e., the delete marker) and the just-copied
 next-most-recent version from the versions container.
 With this mode, DELETEs to versioned containers "undo" operations
 on containers. Previously this was limited to undoing PUTs, but now
 it will also undo DELETEs performed while in "history" mode.
 * history
 When deleting, check whether a current version exists in the
 versioned container. If one is found, it is copied to the versions
 container. Then an empty "delete marker" object is also put into the
 versions container; this records when the object was deleted.
 Finally, the original current version is deleted from the versioned
 container. As a result, subsequent GETs or HEADs will return a 404,
 and container listings for the versioned container do not include
 the object.
 With this mode, DELETEs to versioned containers behave like DELETEs
 to other containers, but with a history of what has happened.
Clients may specify (via a new X-Versions-Mode header) which mode a
container should use. By default, the existing "stack" mode is used.
Upgrade consideration:
======================
Clients should not use the "history" mode until all proxies in the
cluster have been upgraded. Attempting to use the "history" mode during
a rolling upgrade may result in some requests being served by proxies
running old code (which necessarily uses the "stack" mode), leading to
data loss.
Change-Id: I555dc17fefd0aa9ade681aa156da24e018ebe74b
2016年08月15日 21:04:29 -07:00
Jenkins
9c859ccfee Merge "add reminder how to run debug func tests" 2016年08月15日 08:35:14 +00:00
Jenkins
1d5048a293 Merge "Add encrypter and decrypter links to middleware.rst" 2016年08月11日 23:26:44 +00:00
Jenkins
5e8a0050f7 Merge "Grammer error : swift/doc/source/overview_ring.rst" 2016年08月11日 23:26:36 +00:00
Jenkins
c87d04c5cb Merge "add swift-oldies man page" 2016年08月11日 23:23:10 +00:00
Nakul Dahiwade
7e2cb23f88 Grammer error : swift/doc/source/overview_ring.rst
Changed sentence: "Regions can be used to describe geo-graphically
systems characterized by lower-bandwidth"
To: "Regions can be used to describe geographical
systems characterized by lower-bandwidth"
Change-Id: I0f614a4c53dd31459f1b6297dd32a8c0f609d9ce
Closes-Bug: 1612302
2016年08月11日 16:10:35 +00:00
Peter Lisák
ed772236c7 Change schedule priority of daemon/server in config
The goal is to modify schedule priority and I/O scheduling class and
priority of daemon/server via configuration.
Setting is optional, default keeps current behaviour.
Use case:
Prioritize object-server to object-auditor, because all user's requests
needed to be served in peak hours and audit could wait.
Co-Authored-By: Clay Gerrard <clay.gerrard@gmail.com>
DocImpact
Change-Id: I1018a18f4706daabdb84574ffd9a58d831e68396
2016年08月10日 23:56:15 +02:00
Thiago da Silva
ddbab05094 add reminder how to run debug func tests
added comments on how to run in_process and specific
test cases
Change-Id: I485755996b15753323d30de09914d35e262fcedc
Signed-off-by: Thiago da Silva <thiago@redhat.com>
2016年08月09日 15:42:20 -04:00
Jenkins
a5a46854d5 Merge "NIT: fixing inconsistent naming of OpenStack Swift" 2016年08月09日 18:16:13 +00:00
Jenkins
1956d4c398 Merge "Fix repeated OPTIONS in swift-dispersion-report manpage" 2016年08月09日 18:07:16 +00:00
Shashirekha Gundur
c5ff9932a4 NIT: fixing inconsistent naming of OpenStack Swift
Throughout the manpages maintaining references to OpenStack Swift.
Change-Id: I2a0c2658e10a92671bfc092c0a3abaddfd8cd7d9
Closes-Bug: #1609687 
2016年08月05日 13:58:25 +00:00
Paul Dardeau
4f94e71d55 add swift-oldies man page
Closes-bug: #1607017
Change-Id: I365edf77c5bf34e2e51d7f10c9ea1012c1bda8ed
2016年08月04日 10:43:48 -04:00
Alistair Coles
5cf24ecf16 Fix link to docs from swift-dispersion manpages
Change the link to the admin docs to point to #dispersion-report
rather than non-existent #cluster-health.
Change-Id: Ia2f4262c266201d4d555e7bedb8c5c2eb9fb1264
2016年08月02日 10:57:59 +01:00
Alistair Coles
e0c7e6bf78 Fix repeated OPTIONS in swift-dispersion-report manpage
Remove the repeated OPTIONS section headers, which looks odd
and is inconsistent with swift-dispersion-populate.
Change-Id: I6d894e3b61002ddf7c0ea8a78cde226617eb11a6
2016年08月02日 10:41:26 +01:00
Shashirekha Gundur
d819ae00a5 update swift-dispersion manpages to add policy-name
This change adds -P / --policy-name option to the swift-dispersion
manpages. Also tidied up a little removing some extra whitespace at the
end of lines.
Change-Id: Ic3372379994964e96258939580452f94fb575a06
Closes-Bug: #1605686 
2016年08月02日 07:30:56 +00:00
Jenkins
4521eb6e2e Merge "Enable in-process func tests to optionally use encryption" 2016年08月01日 21:14:18 +00:00
Jenkins
fc1ee6773c Merge "Add doc entry to check partition count" 2016年07月29日 19:38:09 +00:00
Janie Richling
66520146cf Enable in-process func tests to optionally use encryption
Running functional tests in the in-process mode uses
the default value for the pipeline. This patch adds support
to specify the SWIFT_TEST_IN_PROCESS_CONF_LOADER variable
to point to a labeled function that changes the proxy
configuration for the functional test.
The patch also adds a new tox environment
func-in-process-encryption
which runs with the environment variable
SWIFT_TEST_IN_PROCESS_CONF_LOADER=encryption
The motivation for this change is to put support in place for an
upstream CI job that will functionally test using encryption
middleware in the pipeline. The gate job is proposed at:
https://review.openstack.org/#/c/348292/
Change-Id: I15c4b20f1d2be57ae21c69c614f6a9579145bee9
2016年07月28日 14:19:48 -05:00
Jenkins
a2c548b2af Merge "Fix broken link in associated projects doc" 2016年07月28日 12:36:32 +00:00
Alistair Coles
8bf28c869d Fix broken link in associated projects doc
Change-Id: I6f0cc1004a40e77345c641c0e5076f2f5dadb891
2016年07月28日 11:09:48 +01:00
Jenkins
1717f2cbcb Merge "Add region in ring structure & deployment guide" 2016年07月28日 02:20:16 +00:00
Jenkins
9501d9617c Merge "Document how to run a single functional test" 2016年07月27日 10:46:05 +00:00
Jenkins
557b330c9b Merge "Mention SWIFT_TEST_DEBUG_LOGS in development guide" 2016年07月27日 10:44:46 +00:00
Jenkins
f978133cfd Merge "Added quotes to example echo in swift-temp-url" 2016年07月26日 18:57:08 +00:00
Alistair Coles
7cc2392611 Document how to run a single functional test
Change-Id: Icabc5a8316f5e8fd887bb42358ad03e9c43d0765
2016年07月26日 18:14:06 +01:00
Alistair Coles
77e476376c Mention SWIFT_TEST_DEBUG_LOGS in development guide
Change-Id: If764de0a28f5afb858b3e892b35fe5fa147a0650
2016年07月26日 17:48:48 +01:00
Ellen Leahy
7958638e8f Added quotes to example echo in swift-temp-url
If the curl command is used exactly as in the help, the ampersand
in the signature is interpreted as an operator and the curl
command breaks. I am aware of developers who have wasted a lot of
time because of this.
Change-Id: I6468c9a098b56db8242a2cf2c23b7a4857bd8574
2016年07月26日 13:47:24 +00:00
Christian Schwede
699953508a Add doc entry to check partition count
An high or increasing partition count due to storing handoffs can have
some severe side-effects, and replication might never be able to catch
up. This patch adds a note to the admin_guide how to check this.
Change-Id: Ib4e161d68f1a82236dbf5fac13ef9a13ac4bbf18
2016年07月26日 12:23:54 +02:00
Jenkins
4bb98bcfe6 Merge "Avoid docs warning: Duplicate explicit target name" 2016年07月22日 02:54:13 +00:00
Mohit Motiani
90627f903a Add region in ring structure & deployment guide
Deployment guide does not talk about the region. Also, it does not
specify that regions and zones need to be ints.
This patch adds brief description about region and changes numbers
to int. Also, adds region in the document that talks about ring data
struture.
Change-Id: I04ce42fb3e5c1f08e7f7ff6be23482cee8bdeb71
Partial-Bug: #1583551 
2016年07月12日 15:18:56 +00:00
Jenkins
521ec6b9b1 Merge "Add region in swift-ring-builder add" 2016年07月08日 23:12:39 +00:00
Mohit Motiani
54ed084234 Add region in swift-ring-builder add
In the swift deployment guide, region is missing from the syntax of
adding a new device to the swift-ring-builder.
This patch adds region in the syntax.
Change-Id: I43e247c92d461efd530c0f82ca3daddcb9e2ba5b
Closes-Bug: #1584127 
2016年07月08日 15:55:49 +00:00
Alistair Coles
ffaef489c6 Add encrypter and decrypter links to middleware.rst
Drive-by fix for crypto filter_factory test.
Add note to encryption doc to highlight that root secret
should not be changed (follow up on earlier review comment).
Co-Authored-By: Tim Burke <tim.burke@gmail.com>
Change-Id: I9776cddd4d045408325342983e285a00c992bfae
2016年07月08日 11:50:55 +01:00
Nandini Tata
6f230c7ea0 Fixed inconsistent naming conventions
Fixed naming conventions of Keystone, Swift and proxy servers in
the docs.
Change-Id: I294afd8d7bffa8c1fc299f5812effacb9ad08910
2016年07月07日 21:40:21 +00:00
Jenkins
7ccb3787d7 Merge "Add encryption package requirements to SAIO instructions" 2016年07月07日 19:27:08 +00:00
Jenkins
125a808fee Merge "Fix typo in object-server.conf and container-server.conf manpage" 2016年07月07日 18:30:10 +00:00
Alistair Coles
bfc8c59a08 Add encryption package requirements to SAIO instructions
libssl-dev/openssl-devel are already listed in other-requirements.txt;
add them to installation instructions in the SAIO docs.
Change-Id: I3dc07213ff8dac1299d3eb68d3448a77e15c79af
2016年07月07日 18:40:10 +01:00
Mohit Motiani
9e82891f08 Fix typo in object-server.conf and container-server.conf manpage
Change-Id: Iffad70b2fd901b305dc66d363039b7df44d619da
2016年07月07日 15:21:01 +00:00
Mohit Motiani
4c0a1481f1 Fix typo in the account-server.conf manpage
Change-Id: I4e7bb85ce746fcb1ec3a4cbf534761e4e47634c9
Closes-Bug: #1599888 
2016年07月07日 14:56:10 +00:00
Alistair Coles
9045f33869 Merge at-rest encryption feature into master
Co-Authored-By: Christian Cachin <cca@zurich.ibm.com>
Co-Authored-By: Mahati Chamarthy <mahati.chamarthy@gmail.com>
Co-Authored-By: Peter Chng <pchng@ca.ibm.com>
Co-Authored-By: Tim Burke <tim.burke@gmail.com>
Co-Authored-By: Thiago da Silva <thiago@redhat.com>
Co-Authored-By: Clay Gerrard <clay.gerrard@gmail.com>
Co-Authored-By: Jonathan Hinson <jlhinson@us.ibm.com>
Co-Authored-By: Samuel Merritt <sam@swiftstack.com>
Co-Authored-By: Janie Richling <jrichli@us.ibm.com>
Co-Authored-By: Hamdi Roumani <roumani@ca.ibm.com>
Co-Authored-By: Kota Tsuyuzaki <tsuyuzaki.kota@lab.ntt.co.jp>
Change-Id: I1d8b030b9c8f81a232da5d6f93f442e46e331af2
2016年07月01日 00:34:33 -07:00
Alistair Coles
f36bc513c5 Add encryption overview doc
Include a note in container-sync docs pointing to specific
configuration needed to be compatible with encryption.
Also remove the sample encryption root secret from
proxy-server.conf-sample and in-process test setup. Remove encryption
middleware from the default proxy pipeline.
Change-Id: Ibceac485813f3ac819a53e644995749735592a55
2016年06月30日 23:31:20 -07:00