5358e28c43fca1d0c3efdb1a62b90eb5b412ecb3
Commit Graph

7742 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Zuul
5358e28c43 Merge "minor updates to changelog and release notes" 2018年08月27日 19:40:41 +00:00
Zuul
ff306a8cf5 Merge "import zuul job settings from project-config" 2018年08月27日 18:32:16 +00:00
Nguyen Hai
90e260e021 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: Ib8b04669a50a84345f2ad8456a73473aec2df2f4
Story: #2002586
Task: #24337 
2018年08月25日 07:25:32 +00:00
OpenStack Proposal Bot
9167e9532a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I10424a57f36b0a5e83456bb07d86f6a7444a304b
2018年08月25日 06:24:35 +00:00
Zuul
6789b40488 Merge "Update reno for stable/rocky" 2018年08月25日 00:23:02 +00:00
Zuul
2b122c1a98 Merge "Reference legacy-tempest-dsvm-neutron-full and neutron-grenade in-tree" 2018年08月25日 00:22:59 +00:00
Zuul
3bf2019808 Merge "py3: port bufferedhttp (hopefully)" 2018年08月25日 00:22:57 +00:00
Zuul
732b71891e Merge "Add irrelevant-files lists for in-tree check/gate jobs" 2018年08月24日 23:51:14 +00:00
Tim Burke
df954e2709 py3: port bufferedhttp (hopefully)
I've at least tried it out with a py3 proxy, and it seems to work out
OK. I haven't tried killing the socket and verifying that it's actualy
dead, but getting a hold of _real_close *seems like* what we want?
At least the three (!!) tests pass.
Change-Id: Ic08c26185d63a36a5422793d81f621e0698fa572
2018年08月24日 11:30:26 +00:00
Tim Burke
e547448e96 Fix warning while building docs
Seen locally:
 Warning, treated as error:
 .../swift/doc/source/overview_policies.rst:555:more than one target
 found for cross-reference u'get_data_dir':
 swift.obj.reconstructor.get_data_dir, swift.obj.replicator.get_data_dir,
 swift.obj.diskfile.get_data_dir
Not sure why it hasn't been seen in the gate...
The whole sentence is suspect, though; the Diskfile class doesn't define
a get_data_dir method, though it uses the module-level get_data_dir...
Change-Id: I6855c82315e1c71596ecce25b66b54133c239377
2018年08月23日 11:15:24 -07:00
John Dickinson
04d3d6804b minor updates to changelog and release notes
Change-Id: Ida9c204f644e41ae05dbf6f68083410e143d3183
2018年08月22日 12:08:42 -07:00
ae9536ea65 Update reno for stable/rocky
Change-Id: I76af04899b696066b009aa753ce71091f3cf874c
2018年08月22日 12:06:04 -07:00
Tim Burke
dd313b81f5 Reference legacy-tempest-dsvm-neutron-full and neutron-grenade in-tree
... so we can more easily expand their irrelevant-files.
Change-Id: Id365128f524aac0200c611307415feea83c40178
2018年08月22日 12:05:58 -07:00
Tim Burke
2ddc979e1d Add irrelevant-files lists for in-tree check/gate jobs
Change-Id: Ia3a8d065e849ec9fed780a6927674e27cbed522b
2018年08月22日 12:05:23 -07:00
Zuul
f0472f1f79 Merge "authors/changelog for 2.19.0 release" 2.19.0 2018年08月21日 20:02:03 +00:00
Zuul
b32578b5d4 Merge "Multi-key KMIP keymaster" 2018年08月21日 15:15:05 +00:00
John Dickinson
9bd84beef1 authors/changelog for 2.19.0 release
Change-Id: Ifefe01cc28517a7040596885b54acf3faa75be85
2018年08月21日 16:52:06 +09:00
Kota Tsuyuzaki
c63d5c0bf9 Fix tempurl's example code to be in the code-block
Change-Id: I9d83dc7823cf35a94d7e54c161c40e79911aa48f
2018年08月21日 06:58:17 +00:00
Zuul
ed18495faa Merge "Add debugging info to SignatureDoesNotMatch responses" 2018年08月18日 00:54:21 +00:00
Zuul
aae5f7c0da Merge "Add support for multiple root encryption secrets" 2018年08月17日 21:16:18 +00:00
Zuul
708d446d7b Merge "Fix locking in swift-recon-cron" 2018年08月17日 18:30:32 +00:00
Tim Burke
7ca1a67d70 Add debugging info to SignatureDoesNotMatch responses
This is comparable to what AWS returns, and should greatly simplify
debugging when diagnosing 403s.
Change-Id: Iabfcbaae919598e22f39b2dfddac36b75653fc10
2018年08月17日 18:03:47 +00:00
Tim Burke
0dc1b6250e Multi-key KMIP keymaster
Now that the trivial keymaster supports multiple keys, let's do
something similar for the KMIP keymaster. Additional keys are
configured as:
 key_id_<secret_id> = <KMIP unique identifier>
While it might be tempting to use the unique identifier directly as the
secret_id, the added indirection allows operators to move keys between
different backends, which may cause different identifiers to be issued.
As with the trivial keymaster, the key to use for PUTs and POSTs is
specified with:
 active_root_secret_id = <secret_id>
Change-Id: Ie52508e47d15ec5c4e96902d3c9f5f282d275683
2018年08月17日 17:55:09 +00:00
Alistair Coles
2722e49a8c Add support for multiple root encryption secrets
For some use cases operators would like to periodically introduce a
new encryption root secret that would be used when new object data is
written. However, existing encrypted data does not need to be
re-encrypted with keys derived from the new root secret. Older root
secret(s) would still be used as necessary to decrypt older object
data.
This patch modifies the KeyMaster class to support multiple root
secrets indexed via unique secret_id's, and to store the id of the
root secret used for an encryption operation in the crypto meta. The
decrypter is modified to fetch appropriate keys based on the secret id
in retrieved crypto meta.
The changes are backwards compatible with previous crypto middleware
configurations and existing encrypted object data.
Change-Id: I40307acf39b6c1cc9921f711a8da55d03924d232
2018年08月17日 17:54:30 +00:00
Thiago da Silva
fc04dc1cf2 Attempt to fix pep8
Test B109 was removed from bandit in release 1.5.0[1]
[1] - d93eed5492
Change-Id: I57ea610b924c2140b7572762c44cbc6510d0f549
2018年08月17日 14:23:18 +00:00
Zuul
cfc4f30d63 Merge "s3_acl: Require swift_owner authz to create buckets" 2018年08月16日 17:03:27 +00:00
Zuul
a41ca22f46 Merge "Fix the deletion of non-existent keys" 2018年08月15日 21:55:08 +00:00
Thiago da Silva
a7c5ca0806 Fix locking in swift-recon-cron
The previous locking method would leave the lock dir lying around
if the process died unexpectedly, preventing others swift-recon-cron
process from running sucessfuly and requiring a manual clean.
Change-Id: Icb328b2766057a2a4d126f63e2d6dfa5163dd223
2018年08月15日 21:51:14 +00:00
Tim Burke
51b885b3b5 s3_acl: Require swift_owner authz to create buckets
Otherwise, users can create buckets in accounts they don't own.
Change-Id: I13d557c32b12529ef1087c52f7af302a33d33acb
2018年08月15日 12:56:33 +00:00
Zuul
75bfc79d2d Merge "Fix up test_static_web_pretend_to_be_giant_json" 2018年08月14日 23:46:35 +00:00
Zuul
d1675d0f54 Merge "Update saio sample config files" 2018年08月13日 21:26:29 +00:00
Tim Burke
bd640cdbae Fix the deletion of non-existent keys
On vanilla Swift, deleting an object that doesn't exist will 404.
On AWS, deleting a key that doesn't exist will either 404 if the bucket
doesn't exist (with a NoSuchBucket code) or 204 (because yep, that's not
accessible).
Change-Id: Ied2a78b56522316bb374f23961621641af3adc83
Related-Change: I6e154594dfda6c3065774c23b24f728625a842bc
2018年08月13日 14:19:23 -07:00
Tim Burke
5dca610e94 Fix up test_static_web_pretend_to_be_giant_json
It was actually testing the invalid-JSON handling before...
Change-Id: Ia8b5eaeb42fea5136525c80e67e8d33548c2a8df
2018年08月13日 20:58:13 +00:00
Zuul
53f9fd2b61 Merge "Stop holding on to sys.exc_info tuples quite so much" 2018年08月13日 20:47:28 +00:00
Thiago da Silva
0887f0985b Update saio sample config files
Added healthcheck middleware to account, container, object servers
Added the s3api, keymaster, encryption config to the proxy config
file to make it easy to enable it.
Change-Id: I96f120c5bc416e9aba388cbfa6c30b648d6ade2f
2018年08月13日 15:33:09 -04:00
Zuul
9b19df362f Merge "Disallow uploads with x-amz-tagging headers set" 2018年08月11日 01:42:06 +00:00
Zuul
18f6ce92f5 Merge "Disallow aws-chunked uploads" 2018年08月10日 19:59:35 +00:00
OpenStack Proposal Bot
03c1d61d21 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I04d4c26b762ba3e1c540b0de95d293e77ad9add6
2018年08月09日 06:27:04 +00:00
Tim Burke
7895718ce9 Fix keymmaster_conf_section typo
Change-Id: I3bce1c4efeb3a3a7319020de76ba7f06015a5a36
2018年08月08日 17:06:17 +00:00
Christian Schwede
dcbdcb8f1c Disallow uploads with x-amz-tagging headers set
We don't support it yet, so return 501 Not Implemented.
Change-Id: Ie2f4bd1bfdb1bcbdf1a0f0db9d542b6057e9d2ec
2018年08月08日 04:57:32 -04:00
Zuul
7f7482c096 Merge "Move keymaster_config_path parsing out of _get_root_secret" 2018年08月08日 03:19:00 +00:00
Tim Burke
b9579404a2 Add probetests to gate jobs
...instead of just check jobs. While we're at it, drop the voting line;
it's voting by default.
Change-Id: I478a82bbac7ba19ed81aae1f5225ffc4e10fb2cb
2018年08月06日 22:52:49 +00:00
Tim Burke
79539eabf7 Disallow aws-chunked uploads
We don't support it yet, so return 501 Not Implemented. Previously, we'd
store the aws-chunked content (!) and most clients would see it as data
corruption.
See https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming.html
for more information.
Change-Id: I697962039667980ef89212bc480f8b1d3fbd718c
2018年08月03日 19:30:01 +00:00
John Dickinson
86d78f6667 imported some docs from the old user-guide
These files are imported (and very lightly edited) from the old
ocata user-guide. It has a few other swift-related docs that seemed
more duplacative of what we already have, but these seem to fill
existing gaps in our docs.
Change-Id: Ib00bf6992327f15f271120dc5dbc86a4a235baec
2018年08月01日 15:17:42 -07:00
John Dickinson
6a2bd0f25d improve prefix/delimiter api docs
Change-Id: Ia420ac3f84284eab9d0a371e4d56be6e45994fae
2018年08月01日 03:10:02 +00:00
Tim Burke
6f920fd437 Add some reno artifacts to .gitignore
I don't see why running `python setup.py sdist` should leave me
with a dirty checkout.
Change-Id: Id932780c2e555b77a0066c70641684c0ddfdd79e
2018年07月30日 19:26:37 +00:00
Tim Burke
7fd5a12872 Stop holding on to sys.exc_info tuples quite so much
This used to be necessary on older eventlet, or you'd get TypeErrors
when you went to reraise. Following eventlet 0.13.0, however, it's just
extra code.
For the original eventlet issue, see
https://web.archive.org/web/20140823005223/https://bitbucket.org/eventlet/eventlet/issue/149/yield-in-except-clause-with-wilcard-raise
Change-Id: I19ad0968a82827bdd4ef75fde9ed51f193627d6e
Related-Bug: 1181146
2018年07月30日 17:57:11 +00:00
Tim Burke
3c92e3ce87 Move keymaster_config_path parsing out of _get_root_secret
Change-Id: Iddc0f333861b6c1f81e181f006cd592b5eb6ea17
2018年07月30日 16:51:24 +00:00
Zuul
d97673cf54 Merge "Define keymaster log routes on the class" 2018年07月30日 02:15:20 +00:00
Tim Burke
2f9bd85ae1 Define keymaster log routes on the class
... instead of having KmipKeyMaster instantiate its own logger
inside of _get_root_secret.
Bonus: KmsKeyMaster uses its own log route now.
Bonus bonus: get rid of KmsKeyMaster's pointlessly-overriden
__init__ method.
Change-Id: Idb4b832e5ca0e3d749fe2c0b7ba283447a4dc69e
2018年07月29日 01:57:08 +00:00