Commit Graph

80419 Commits

Author SHA1 Message Date
Alfredo Deza
b30a3eaf17 doc/ceph-volume document the scan functionality
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 06:47:41 -05:00
Jason Dillaman
14cc192016 doc/release-notes: clarify that you need to keep your existing OSD caps
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-08 18:22:26 -05:00
Jason Dillaman
5094838ab9
Merge pull request #18793 from idryomov/wip-qa-cram-path
qa/tasks/cram: include /usr/sbin in the PATH for all commands

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-11-08 11:00:41 -05:00
Yuri Weinstein
8328ccd67d
Merge pull request #18556 from joke-lee/validate_cors_rule_header_in_cors_option_request
rgw: add cors header rule check in cors option request

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-11-08 08:00:33 -08:00
Jason Dillaman
854e319822
Merge pull request #18795 from idryomov/wip-krbd-enable-generic-050-448
qa/suites/krbd: enable generic/050 and generic/448

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-11-08 11:00:03 -05:00
Yuri Weinstein
09295f58c3
Merge pull request #18706 from cbodley/wip-rgw-policy-emplace
rgw: simplify use of map::emplace in iam

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-11-08 07:59:13 -08:00
John Spray
f71a604fed
Merge pull request #18770 from tchaikov/wip-doc-log-file
doc: fix desc of option "mon cluster log file"

Reviewed-by: John Spray <john.spray@redhat.com>
2017-11-08 12:42:22 +00:00
Enming Zhang
00ed892149 rgw: cleanup repeated assignment to need_zone_update in zone modify command
Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
2017-11-08 20:38:18 +08:00
Kefu Chai
73a5cd2464 doc: fix desc of option "mon cluster log file"
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-08 19:15:26 +08:00
Ilja Slepnev
e532949556 mgr/zabbix: ignore osd with 0 kb capacity
Fixes: http://tracker.ceph.com/issues/21904
Signed-off-by: Ilja Slepnev <islepnev@gmail.com>
2017-11-08 16:09:26 +08:00
Patrick Donnelly
624b1a0fe7
Merge PR #18807 into master
* refs/pull/18807/head:
	ptl-tool: put common use-cases up front in README
	ptl-tool: only create tag if new branch
	ptl-tool: hint how to skip contributor

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-08 17:13:01 +11:00
Patrick Donnelly
f2137a35ee
ptl-tool: put common use-cases up front in README
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-08 17:10:40 +11:00
Patrick Donnelly
aaf1ff9b49
ptl-tool: only create tag if new branch
It doesn't make sense to create tags for branches that already exist.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-08 17:07:25 +11:00
Patrick Donnelly
1bb5a8d4e2
ptl-tool: hint how to skip contributor
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-08 17:07:03 +11:00
J. Eric Ivancich
ededbedbfc rgw: address warnings due to incorrect format code
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2017-11-07 12:55:10 -05:00
Matt Benjamin
51059a60d8
Merge pull request #18709 from ivancich/wip-bktidx-race-bugfix
rgw: fix BZ 1500904, stale bucket index entry remains after obj delete
2017-11-07 12:10:23 -05:00
Ilya Dryomov
8cd42742b6 qa/suites/krbd: enable generic/050 and generic/448
generic/448 has been failing on ext4 and is now fixed upstream.
The fix for generic/050 is in testing, scheduled for 4.15-rc1.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-11-07 18:05:44 +01:00
Yuri Weinstein
77eb76941d
Merge pull request #18476 from majianpeng/objecter-misc-cleanup
osdc/Objecter: misc cleanups

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-07 09:02:08 -08:00
Yuri Weinstein
ff159c6753
Merge pull request #18768 from wumingqiao/wip-WaitActingChange
PG: fix name of WaitActingChange

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-07 09:00:38 -08:00
Jason Dillaman
fb5e341546
Merge pull request #18789 from jcsp/wip-doc-config-set
doc: replace injectargs usage with "config set"

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-11-07 08:18:12 -05:00
John Spray
5762d01c14
Merge pull request #18769 from yaozongyou/wip-dashboard-format-label
mgr/dashboard: format tooltip's label as user friendly string

Reviewed-by: John Spray <john.spray@redhat.com>
2017-11-07 12:27:54 +00:00
John Spray
6fc92dc981 doc: replace injectargs usage with "config set"
Cleaner and easier.  Also implicitly documents
the config set command, which hadn't been explicitly
called out in the docs before.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-11-07 11:32:26 +00:00
Kefu Chai
104c58a0c7 osd: use is_erasure() when appropriate
sometimes, we are using pool.info.require_rollback() even when what we
mean is "pool.info.is_erasure()", so fix it to improve the readability.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-07 14:24:15 +08:00
Kefu Chai
0cd7331358 osd: remove unused ReplicatedBackend::objects_read_async()
async read is not used by replica pool at all.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-07 14:24:15 +08:00
Patrick Donnelly
3c61396038
Merge PR #18689 into master
* refs/pull/18689/head:
	cephfs: Do not check auth gid when not specified

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-07 17:21:04 +11:00
Patrick Donnelly
2a848b4301
Merge PR #18386 into master
* refs/pull/18386/head:
	ptl-tool: allow setting project/repo for GH req

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-07 09:33:39 +11:00
Yuri Weinstein
a2f9dbc9ff
Merge pull request #18658 from linuxbox2/wip-s3-post-20201
RGW: update S3 POST policy handling of Content-Type

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-11-06 13:06:42 -08:00
Alfredo Deza
d7f85c64e4 doc/ceph-volume update the index to include the simple sub command and files
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 14:17:20 -05:00
Ilya Dryomov
1591426c30 qa/tasks/cram: include /usr/sbin in the PATH for all commands
/usr/sbin is not in non-login PATH on centos.  We already do this for
workunits, see commit 0e53f5f38b ("workunit: include /usr/sbin in the
PATH for all commands").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-11-06 20:05:38 +01:00
Alfredo Deza
0e2620234e ceph-volume tests.simple add tests for trigger parsing from systemd
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:15:28 -05:00
Alfredo Deza
90ebc4e1ff ceph-volume tests.simple create etc_path scan tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:04:00 -05:00
Alfredo Deza
647bfe0883 ceph-volume tests.simple add checks for get_contents in scan
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:04:00 -05:00
Alfredo Deza
827aa57557 ceph-volume tests.util add binary verification tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:04:00 -05:00
Alfredo Deza
23da344571 ceph-volume tests create a fixture for temporary files
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:04:00 -05:00
Alfredo Deza
3da23fa4ca ceph-volume systemd.systemctl helpers to mask ceph-disk
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:04:00 -05:00
Alfredo Deza
027a09b3ea ceph-volume devices include simple at the module import level
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:04:00 -05:00
Alfredo Deza
94579c77ff ceph-volume main add simple to the sub-commands
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:04:00 -05:00
Alfredo Deza
a826fdf4a2 ceph-volume util add an OSDPath argument validator
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Alfredo Deza
7bf8676045 ceph-volume simple.system add a helper to check if a file is a binary or not
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Alfredo Deza
6394cdd419 ceph-volume util.system add a context manager for temporary mounting/unmounting
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Alfredo Deza
0e54b9be62 ceph-volume simple.scan initial take on directory/device scanning
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Alfredo Deza
cbc0c0f775 ceph-volume simple.trigger enable systemd triggering for simple setups
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Alfredo Deza
5a97374605 ceph-volume simple.activate initial take on activation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Alfredo Deza
285e5bdd28 ceph-volume simple add __init__ for the module
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Alfredo Deza
f050502425 ceph-volume simple create the initial, main module
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Yao Zongyou
e74c7f84c0 mgr/dashboard: format chart's tooltip's label as friendly string
The default tooltip's label is a long number string, so format
the label as a user friendly string.

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-11-06 23:40:00 +08:00
Jianpeng Ma
f533dda42f common/WorkQueue: fix a race avoiding drain endless.
In function ShardedThreadPool::shardedthreadpool_worker, when call
_proces, it don't get shardedpool_lock. So there is a race between
return_waiting_threads and _proces. If return_waiting_threads first run
and _process will lost this signal and wait until.
This may cause ShardedThreadPool::drain can't complete.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-11-06 21:40:12 +08:00
Jason Dillaman
baa65c255a
Merge pull request #16238 from trociny/wip-copy-deep
librbd: generalized deep copy function

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-11-06 08:35:06 -05:00
wumingqiao
9a3f0cc626 PG: fix name of WaitActingChange
the parent state of WaitActingChange is Primary, not Peering.

Signed-off-by: wumingqiao <wumingqiao@inspur.com>
2017-11-06 20:41:23 +08:00
Jianpeng Ma
fb6eca1fb2 osd/OSD: Using Wait rather than WaitInterval to wait queue.is_empty().
Why use WaitInterval, there is a comment:"optimistically sleep a moment; maybe another work item will come along."
But in fact,we don't see any benefit for this optimization.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-11-06 19:46:05 +08:00