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
Bingyin Zhang
b7618874db
rgw: format logs in file rgw_lc.cc
...
Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2017-12-28 15:11:44 +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
Shinobu Kinjo
f3388e7105
pick_address.cc: Cleanup
...
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-12-28 11:51:57 +09: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
Yan, Zheng
f93f56eda9
mds: create snaprealm for quota enabled inode
...
this simplifies client code for find quota enabled inode
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-12-26 17:19:11 +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
Jos Collin
fed91755b5
Merge pull request #19591 from qrGitHub/wip-rgw-unused-variable3
...
rgw: drop marker in RGWLC::process()
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
2017-12-26 04:18:49 +00:00
Jos Collin
677955161b
Merge pull request #19675 from qrGitHub/wip-rgw-typo-complete
...
rgw: fix typo compete to complete
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-12-26 03:33:43 +00:00
Bingyin Zhang
68d9cde5b7
rgw: fix typo compete to completes
...
Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2017-12-26 06:35:44 +08:00
Theofilos Mouratidis
02bc369e05
ceph-volume: Require lvm2, move to osd package
...
Fixes: http://tracker.ceph.com/issues/22443
Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
2017-12-25 16:52:07 +01:00
Mykola Golub
3905b6e13c
rbd-ggate: output error on map failure
...
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-25 15:35:48 +00:00
Mykola Golub
02e211c282
rbd-nbd: allow to unmap by image or snap spec
...
(to match the behaviour of krbd unmap)
Signed-off-by: Mykola Golub <mgolub@suse.com>
2017-12-25 17:19:49 +02:00
Mykola Golub
47e38ca1b9
qa/workunits/rbd: bench-write is part of exclusive option test
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2017-12-25 17:19:49 +02:00
Yao Zongyou
53ab5fccf9
rgw: log the right http status code in civetweb frontend's access log
...
Fixes: http://tracker.ceph.com/issues/22538
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-12-25 20:35:43 +08:00