Sage Weil
24bc418983
Merge pull request #19010 from shinobu-x/src_cls_func
...
cls_acl/_crypto: Add modeline
2017-12-29 14:06:23 -06:00
Sage Weil
1422785701
Merge pull request #15855 from linuxbox2/wip-nfs-docsync
...
RGW NFS: mount cmdline example missing -osync
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-29 13:48:08 -06:00
Sage Weil
874ac9c209
Merge pull request #16932 from amitkumar50/cov-cls-rgw-1
...
cls/rgw: Initialization of uninitialized members
2017-12-29 13:40:12 -06:00
Sage Weil
b525fe55e3
Merge pull request #17089 from amitkumar50/test-cov-journal-1
...
test/journal: Initialize member variable m_work_queue
2017-12-29 13:37:24 -06:00
Sage Weil
f86f7186f2
Merge pull request #17090 from amitkumar50/test-cov-messages-8
...
messages: Initializing variable ceph_mds_reply_head
2017-12-29 13:37:10 -06:00
Sage Weil
cc4aebf295
Merge pull request #17367 from amitkumar50/cov-rgw-5
...
rgw: unreachable return in RGWRados::trim_bi_log_entries
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-29 13:35:18 -06:00
Sage Weil
1839dfd1cd
Merge pull request #17369 from amitkumar50/cov-test-5
...
test: Initialization of *comp_racing_read class CopyFromOp
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-12-29 13:34:44 -06:00
Sage Weil
12733fe0b9
Merge pull request #17439 from ClemPi/wip-doc-radosgw-admin-max-buckets
...
doc: add --max-buckets to radosgw-admin(8)
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-29 12:01:38 -06:00
Sage Weil
cb43b4f974
Merge branch 'master' into wip-doc-radosgw-admin-max-buckets
2017-12-29 12:01:18 -06:00
Sage Weil
8ae7682037
Merge pull request #17535 from emmericp/mon-session-show-client-features
...
mon: show feature flags when printing MonSession
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2017-12-29 12:00:13 -06:00
Sage Weil
8a75d21eb8
Merge pull request #17563 from amitkumar50/cov-rbd-5
...
rbd: Initializing m_finalize_ctx
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-12-29 11:59:49 -06:00
Sage Weil
4d08f03af4
Merge pull request #18886 from BlaineEXE/update-kube-helm-start-doc
...
doc: Add newbie-friendly updates to Helm start doc
Reviewed-by: Alex Marangone <amarango@redhat.com>
2017-12-29 11:53:12 -06:00
Sage Weil
ceda2b0895
Merge pull request #19028 from shinobu-x/src_mon_monmapmonitor
...
mon: Drop redundant access specifier, etc (cleanup)
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2017-12-29 11:47:11 -06:00
Sage Weil
58e18f3fec
Merge branch 'master' into src_mon_monmapmonitor
2017-12-29 11:46:49 -06:00
Sage Weil
f8b6709f12
Merge pull request #19049 from shinobu-x/primarylogpg_warning
...
osd/PrimaryLogPG: derr when object size becomes over osd_max_object_size
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-12-29 11:46:04 -06:00
Sage Weil
4a1eabb01b
Merge pull request #19268 from shinobu-x/vstart_picking_up_random_port
...
vstart.sh: drop .ceph_port and use randomly selected available port
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-29 11:43:14 -06:00
Sage Weil
6dc41a2bb1
Merge pull request #19605 from ceph/wip-use-installer0-master
...
qa/tests: run ceph-ansible task on installer.0 role/node
2017-12-29 10:45:06 -06:00
Sage Weil
e8cb560ba5
Merge pull request #19643 from shinobu-x/address_helper_a
...
common: cleanup address_helper
Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-29 10:43:43 -06:00
Sage Weil
ea8c5ef713
Merge pull request #19671 from joscollin/wip-rgw-commented-functions
...
rgw: drop commented functions
2017-12-29 10:37:19 -06:00
Sage Weil
1a9a44247d
Merge pull request #19679 from trociny/wip-ggate-list-unmap
...
rbd-ggate: small fixes and improvements
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-12-29 10:31:36 -06:00
Sage Weil
f52cd177b9
Merge pull request #19689 from chnmagnus/wip-bug-on-config-metavariables
...
rgw: the metavariables in frontends-related config won't be expanded
Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-29 10:28:59 -06:00
Sage Weil
e47e5fa65e
Merge pull request #19692 from hikycool/master
...
doc: Add introduction about different way to run rbd-mirror
2017-12-29 10:28:12 -06:00
Sage Weil
d1a27db2bf
Merge pull request #19701 from joscollin/wip-tracker-22542
...
doc: update Blacklisting and OSD epoch barrier
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-12-29 09:35:10 -06:00
Sage Weil
fa2b059b51
Merge pull request #19713 from Leeshine/wip-rgw-typo
...
rgw: fix typo in GetOmapKeysCR
Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-29 09:28:56 -06:00
BI SHUN KE
f0aa22660c
Compressor: Add Brotli Compressor
...
Signed-off-by: BI SHUN KE <aionshun@livemail.tw>
2017-12-29 18:22:20 +08:00
lvshanchun
b30650ba10
rgw: fix typo in GetOmapKeysCR
...
Signed-off-by: lvshanchun <lvshanchun@gmail.com>
2017-12-29 10:01:12 +08:00
Jos Collin
28c79fac6e
Merge pull request #19709 from luomuyao/dev
...
rgw: drop unused iter in XMLObj::find_first
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-12-28 09:21:21 +00:00
luomuyao
88cc8fee3f
rgw: drop unused variable iter in XMLObj::find_first
...
Signed-off-by: luomuyao <luo.muyao@zte.com.cn>
2017-12-28 16:24:30 +08:00
Jos Collin
19d4469678
doc: fix grammar mistake
...
Fixed grammar mistake in a sentence.
Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-12-28 09:34:12 +05:30
Jos Collin
7454cb0f68
doc: update Blacklisting and OSD epoch barrier
...
Updated missing OSD epoch barrier section, which is referenced by http://docs.ceph.com/docs/master/cephfs/full/#hammer-and-later .
Fixes: http://tracker.ceph.com/issues/22542
Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-12-28 09:33:58 +05:30
Chang Liu
05a3c3269f
ceph: add the right bracket to watch-channel argument in the help message
...
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2017-12-28 10:58:08 +08:00
Mykola Golub
be87e8b118
rbd-ggate: allow to unmap by image or snap spec
...
(to match the behaviour of krbd unmap)
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-27 20:29:58 +00:00
Mykola Golub
8e0f40aae1
rbd-ggate: extended info when listing devices
...
This matches nbd and krbd drivers output.
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-27 20:29:58 +00:00
Kefu Chai
8a48b64fff
Merge pull request #19691 from MrStupnikov/fix_logic
...
doc: Improved hitset parameters description
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-27 18:53:22 +08:00
Alexey Stupnikov
e19b0cd66a
doc: Improve parameters description in cache_tiering article
...
hit_set parameters aren't described in a sequence they introduced.
This patch effecrively changes the sequence to improve
description's logic.
Signed-off-by: Alexey Stupnikov <aleksey.stupnikov@gmail.com>
2017-12-27 13:26:18 +03:00
Bingyin Zhang
f3e822dc8b
rgw: optimize function RGWHandler::do_init_permissions
...
* When rgw_build_bucket_policies fails we needn't to invoke
* rgw_build_iam_environment, because the caller returns immediately;
Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2017-12-27 16:36:45 +08:00
Kefu Chai
6d61076122
Merge pull request #19690 from Songweibin/wip-doc-librbdpy
...
doc/rbd: correct the path of librbd python APIs
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-27 10:52:18 +08:00
songweibin
a6b371bea3
doc: correct the path of librbd python APIs
...
* update the API Documentation page for librbdpy with the
correct path.
* fix a typo.
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-12-27 09:08:12 +08:00
John Gibson
5f7d9c4ff6
rgw: Policies now properly evaluate the X-Forwarded-For header.
...
Signed-off-by: John Gibson <jgibson@mitre.org>
2017-12-26 16:59:09 -05:00
John Gibson
e02facbf5c
rgw: Test of proper parsing of the X-Forwarded-For header for policies.
...
Signed-off-by: John Gibson <jgibson@mitre.org>
2017-12-26 16:59:09 -05:00
John Gibson
c4c24ca986
rgw: Bucket IP address policy evaluation now uses rgw_remote_addr_param.
...
Previously bucket policy ip address restrictions were only being evaluated
against the REMOTE_ADDR environment variable and ignoring the header
specified by the rgw_remote_addr_param configuration option. This rendered
ip-based bucket policies worthless when running behind a reverse proxy.
Signed-off-by: John Gibson <jgibson@mitre.org>
2017-12-26 16:59:09 -05:00
John Gibson
557bdb617e
rgw: rgw_iam test harness can now stringify() the fake identity.
...
Signed-off-by: John Gibson <jgibson@mitre.org>
2017-12-26 16:59:08 -05:00
John Gibson
a25ca37401
rgw: Fixed several bugs in policies related to IPv6 addresses.
...
The IPv6 conversion was not properly converting the address to host byte
order.
The text conversion of IPv6 addresses was using raw byte values instead of
the converted number. The portions of the addresses were grouped by bytes
instead of 16-bit words. The prefix length was erroneously being rendered
in hex.
http://tracker.ceph.com/issues/20991
Signed-off-by: John Gibson <jgibson@mitre.org>
2017-12-26 16:59:08 -05:00
John Gibson
ca21596c95
rgw: Fixed several bugs in policies related to IP Addresses.
...
Comparisons of two individual IP addresses caused an assertion error.
The text conversion of IPv4 addresses was using raw byte values instead of
the converted number.
NotIpAddress condition now works with multiple values.
http://tracker.ceph.com/issues/20991
Signed-off-by: John Gibson <jgibson@mitre.org>
2017-12-26 16:59:08 -05:00
John Gibson
3d260f26e6
rgw: Added tests for S3 Policy IP Address feature.
...
Signed-off-by: John Gibson <jgibson@mitre.org>
2017-12-26 16:59:08 -05:00
John Gibson
e83b647d44
rgw: Added support for testing the wildcard principal in policies.
...
Signed-off-by: John Gibson <jgibson@mitre.org>
2017-12-26 16:59:08 -05:00
Yu Shengzuo
f7c6af5a33
[DOC]Add introduction about different way to run rbd-mirror
...
Add a way to run rbd-mirror process in foregroup.
This way is useful to run rbd-mirror in a container when you don't
want to build a specified rbd-mirror image
Signed-off-by: Yu Shengzuo <yu.shengzuo@99cloud.net>
2017-12-26 22:16:12 +08:00
root
5cded0a64f
rgw: the metavariables in frontends-related config won't be expanded
...
When using metavariables in frontends-related config, I found that metavariables won't be expanded. Such as:
the `name` variable won't be expanded.
```
[client.rgw]
rgw frontends = civetweb port=8000 access_log_file=/path/$name.access.log
```
The reason is as follows:
In `rgw_main.cc/main()` function, program uses frontends-related config before the `expand_all_meta` function call that is called in the `global_init` function.
Signed-off-by: chnmagnus chnmagnus@qq.com
2017-12-26 20:14:40 +08:00
Bingyin Zhang
f05a044cad
rgw: put bucket policy panics RGW process
...
Fixes: http://tracker.ceph.com/issues/22541
Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2017-12-26 17:06:44 +08:00
Yan, Zheng
63240c0872
Merge pull request #19255 from JianyuLi/joa-mdbalancer
...
MDS: make rebalancer evaluate the overload state of each mds with the same criterion
2017-12-26 16:46:17 +08:00