Commit Graph

86759 Commits

Author SHA1 Message Date
Sage Weil
ec418e0910 Merge PR #21847 into wip-sage-testing-20180521.023125
* refs/pull/21847/head:
	log: disk write coalescing

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-20 21:31:34 -05:00
Sage Weil
47dffc53d6
Merge pull request #22063 from liewegas/wip-unit-spaces
include/types: space between number and units

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-05-20 21:26:03 -05:00
Sage Weil
c7ac6169ff
Merge pull request #22042 from liewegas/wip-rm-pool-race
ceph_test_rados_api_misc: remove obsolete LibRadosMiscPool.PoolCreationRace

Reviewed-by: David Zafman <dzafman@redhat.com>
2018-05-20 21:24:37 -05:00
Sage Weil
a5d30ad2ab
Merge pull request #22106 from liewegas/wip-rados-distros
qa/suites/rados/thrash-old-clients: only centos and 16.04
2018-05-20 21:23:48 -05:00
Patrick Donnelly
af129d1419
Merge PR #21997 into master
* refs/pull/21997/head:
	mds: broadcast quota to relevant clients when quota is explicitly set

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-05-20 16:52:40 -07:00
Patrick Donnelly
ca40b1c49c
Merge PR #22001 into master
* refs/pull/22001/head:
	client: avoid freeing inode when it contains TX buffer heads

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-20 16:52:35 -07:00
Patrick Donnelly
c58158421e
Merge PR #22023 into master
* refs/pull/22023/head:
	messages: print quota info in MClientQuota msg

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-20 16:52:30 -07:00
Patrick Donnelly
ad55214d3b
Merge PR #22045 into master
* refs/pull/22045/head:
	client: cleanup Cap init

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-20 16:52:25 -07:00
Patrick Donnelly
72db4a2b27
Merge PR #22080 into master
* refs/pull/22080/head:
	client: fix issue of revoking non-auth caps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-20 16:52:20 -07:00
Sage Weil
dd46ae1006 qa/suites/rados/thrash-old-clients: only centos and 16.04
We don't have old client builds for the newer distros.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-20 09:38:02 -05:00
Kefu Chai
5ceee88989
Merge pull request #21961 from ceph/wip-cd-ovh-vol
qa/tests: fix volume size when running in ovh

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-20 18:35:35 +08:00
Kefu Chai
fd1ab7d4d0
Merge pull request #22098 from liewegas/wip-24180
mon/LogMonitor: call no_reply() on ignored log message

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-20 17:40:17 +08:00
Sage Weil
fbf0e10af0
Merge pull request #22092 from liewegas/wip-mimic-upgrades
qa/suites/upgrade/luminous-x: a few fixes
2018-05-19 12:34:52 -05:00
Yan, Zheng
0edab5fcc3
Merge pull request #21941 from ukernel/wip-24053
mds: reply session reject for open request from blacklisted client
2018-05-19 17:07:40 +08:00
Yan, Zheng
e7d0b41dea qa/tasks/cephfs: add timeout parameter to kclient umount_wait
Just make caller happy. there is no easy way to support timeout.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
Fixes: https://tracker.ceph.com/issues/24053
2018-05-19 17:06:19 +08:00
Yan, Zheng
b7c6cd8a54 mds: reply session reject for open request from blacklisted client
Kernel client and old version libcephfs do not check if themselves
are blacklisted. They can be stuck at opening session after getting
blacklisted. The session reject message can avoid this.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: https://tracker.ceph.com/issues/24054
2018-05-19 17:05:49 +08:00
Yan, Zheng
341a9114e0 client: fix issue of revoking non-auth caps
when non-auth mds revokes caps, Fcb caps can still be issued by auth
auth mds. It's wrong to flush buffer or invalidate cache when non-auth
mds revokes other caps. This bug can cause client to not respond the
revoke.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: https://tracker.ceph.com/issues/24172
2018-05-19 16:57:58 +08:00
Patrick Donnelly
eee7ed2688
Merge PR #22073 into master
* refs/pull/22073/head:
	client: delay dentry trimming until after cap traversal
	qa: test for trim_caps segfault for trimmed dentries

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-05-18 21:36:50 -07:00
Patrick Donnelly
9199179799
client: delay dentry trimming until after cap traversal
Fixes: http://tracker.ceph.com/issues/24137

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-18 21:36:02 -07:00
Patrick Donnelly
abb2fa4d5b
qa: test for trim_caps segfault for trimmed dentries
Test case by Yan Zheng [1].

[1] http://tracker.ceph.com/issues/24137#note-6

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-18 21:35:56 -07:00
Patrick Donnelly
4b52418ccb
Merge PR #21548 into master
* refs/pull/21548/head:
	osdc/Objecter: apply throttle on enumerate_objects.

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-05-18 14:31:18 -07:00
Patrick Donnelly
9039ab3bfa
Merge PR #21963 into master
* refs/pull/21963/head:
	mds: properly setup client_need_snapflush for snap inode
	Revert "mds: properly setup need_snapflush for snapped inode"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-18 14:31:11 -07:00
Patrick Donnelly
6a6add587b
Merge PR #21972 into master
* refs/pull/21972/head:
	client: increase verbosity level for log messages in helper methods

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-18 14:31:03 -07:00
Sage Weil
6c9d937828
Merge pull request #22066 from liewegas/wip-pgmap-digest-decode
mon/PGMap: fix PGMapDigest decode

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-18 15:53:20 -05:00
Sage Weil
9661fa08cc mon/LogMonitor: call no_reply() on ignored log message
If we're dropping it on the floor, we need to tell the mon that, so that
it can tell the forwarding mon to discard its state.

Fixes: https://tracker.ceph.com/issues/24180
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-18 15:44:09 -05:00
Sage Weil
459b33e146 qa/suites/thrashosds-health: whitelist REQUEST_SLOW
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-18 14:01:33 -05:00
Sage Weil
59fe5dc5ce qa/suites/upgrade/luminous-x: whitelist SLOW_OPS
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-18 14:01:19 -05:00
Sage Weil
5a5e74e89c qa/suites/upgrade/luminous-x: more cinder volumes
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-18 14:01:01 -05:00
Sage Weil
0b956ef37d qa/workunits/cephtool/test.sh: update unit formatting
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-18 13:53:04 -05:00
Alfredo Deza
aa158b68f0
Merge pull request #22040 from alfredodeza/wip-rm24147
common/options: add description of osd objectstore backends

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Nathan Cutler <cutler@suse.cz>
2018-05-18 13:36:07 -04:00
Jason Dillaman
bd982ed078
Merge pull request #22078 from tchaikov/wip-cls-rbd-fix-FTBFS
cls/rbd: fix build

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-05-18 07:22:13 -04:00
Kefu Chai
9b1dc55f7d cls/rbd: fix build
3cbe0ced was merged after d03ff14, so update accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-18 18:16:32 +08:00
Mykola Golub
42dac1669f
Merge pull request #21915 from dillaman/wip-rbd-mirror-policy
rbd-mirror: optionally support active/active replication

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-05-18 10:32:49 +03:00
Josh Durgin
4516870a52
Merge pull request #21651 from ceph/wip-da-dmclock-submodule
move dmclock subtree into submodule

Reviewed-by: Eric Ivancich <ivancich@redhat.com>
2018-05-17 13:57:39 -07:00
Kefu Chai
2a724a2ff3
Merge pull request #22015 from tchaikov/wip-denc
buffer,denc: use ptr::const_iterator for decode

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-05-18 00:56:08 +08:00
Sage Weil
ca9ce0f6e5
Merge pull request #22059 from LenzGr/mgr-dashboard-documentation
doc: Updated dashboard documentation (features, SSL config)

Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-05-17 11:40:20 -05:00
Sage Weil
c6a747d1d8 qa/workunits/rbd/import_export: update unit formatting
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-17 11:14:39 -05:00
Sage Weil
ddd3095bc0 qa/workunits/rbd/cli_generic: update unit formatting
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-17 11:14:39 -05:00
Sage Weil
35ae9acc32 test/cli-integration/rbd: update unit formatting
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-17 11:14:39 -05:00
Sage Weil
9cbd283bc6 include/types: space between number and units
not

    client:   504B/s rd, 10.6MiB/s wr, 0op/s rd, 30op/s wr

but

    client:   504 B/s rd, 10.6 MiB/s wr, 0 op/s rd, 30 op/s wr

This was changed as part of d3cecebacd.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-17 11:14:39 -05:00
Sage Weil
42bdb066bb mon/PGMap: fix PGMapDigest decode
The compat path wasn't clearing the map before filling in new entries.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-17 10:51:46 -05:00
Lenz Grimmer
789e9858b2
Merge pull request #22061 from tspmelo/wip-npmrc
mgr/dashboard: Disable package-lock.json creation

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-05-17 17:44:59 +02:00
Lenz Grimmer
32e0660556 doc: Updated dashboard documentation (features, SSL config)
Updated Ceph manager dashboard documentation: added SSL to the
feature overview, added new section about configuring SSL certificates.
Rearranged installation instructions for setting host name and port.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2018-05-17 17:34:36 +02:00
Lenz Grimmer
9a943b982f
Merge pull request #22058 from ricardoasmarques/wip-ng-serve-remote-access
mgr/dashboard: ng serve bind to 0.0.0.0

Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-05-17 16:50:23 +02:00
Tiago Melo
fe365bf715 mgr/dashboard: Disable package-lock.json creation
Since we are not keeping track of this file, it is better to not generate it.
Otherwise we might face some package version conflicts,
which break the dashboard build.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-05-17 14:33:27 +01:00
Sage Weil
4706f1d42b
Merge pull request #22057 from tchaikov/qa-valgrind-without-random-distro
qa/suites/rados/verify: remove random-distro$

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-17 07:00:08 -05:00
Alfredo Deza
64b3b25d14 ceph-volume util.prepare remove undocumented comments
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-17 07:23:12 -04:00
Alfredo Deza
985949d1f3 common/options add description of osd objectstore backends
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-17 07:23:12 -04:00
Kefu Chai
c237d0befb qa/suites/rados/verify: remove random-distro$
the distro specified by random-distro$ will be overwrited by the one
specfied by valgrind.yaml. and teuthology-suite will give

KeyError: '16.04 not a centos version or codename'

when scheduling a suite involving the facets above. also, i think it's
of not much value to run valgrind/lockdep with different distros.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-17 19:11:14 +08:00
Ricardo Marques
251e2515b5 mgr/dashboard: ng serve bind to 0.0.0.0
This will allow access to ng serve from remote machines

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-05-17 11:07:52 +01:00