Commit Graph

84162 Commits

Author SHA1 Message Date
Lenz Grimmer
5dfdeccf5d
Merge pull request #20728 from jcsp/wip-dashboard-can_run
mgr/dashboard v2: implement can_run method

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-14 11:48:40 +01:00
Patrick Donnelly
09b79af819
Merge PR #20700 into master
* refs/pull/20700/head:
	client: use either dentry_invalidate_cb or remount_cb to invalidate kernel dcache

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-03-13 20:33:11 -07:00
Patrick Donnelly
52ea69762d
Merge PR #20719 into master
* refs/pull/20719/head:
	client: add new ceph_mount_perms_set function

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-03-13 20:33:07 -07:00
Patrick Donnelly
57364e6113
Merge PR #20780 into master
* refs/pull/20780/head:
	doc/cephfs: mention "ceph fs set-default"
	mds: include legacy_client_fscid in FSMap::dump

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-13 20:32:58 -07:00
Patrick Donnelly
76080ed795
Merge PR #20881 into master
* refs/pull/20881/head:
	messages/MClientRequest: fix a typo so we don't output 'setfilelockrule' in logs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-13 16:15:13 -07:00
Greg Farnum
629f05b563 messages/MClientRequest: fix a typo so we don't output 'setfilelockrule' in logs
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2018-03-13 13:50:25 -07:00
Andrew Schoen
58560cf6b5
Merge pull request #20864 from ceph/wip-cv-env-flags-fix
ceph-volume tests use granular env vars for vagrant

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-03-13 19:56:48 +01:00
Casey Bodley
5fee2689c8
Merge pull request #20724 from mdw-at-linuxbox/wip-master-rgw-fixbuf
rgw: fix memory fragmentation problem reading data from client.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-03-13 12:02:25 -04:00
Sage Weil
27984e5590
Merge pull request #20872 from liewegas/wip-deterministic-cli-test
test/cli/osdmaptool/test-map-pgs.t: remove nondetermimistic test

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-03-13 10:52:26 -05:00
Yuri Weinstein
82d828b68d
Merge pull request #20739 from Jeegn-Chen/wip-reject-sse-mpcp
rgw: reject encrypted object COPY before supported 

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-03-13 07:54:34 -07:00
Sage Weil
4a6101bd43 test/cli/osdmaptool/test-map-pgs.t: remove nondetermimistic test
This fails randomly; determinism is good!

Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-13 09:49:47 -05:00
Lenz Grimmer
6aaa4a9bc4
Merge pull request #20811 from tspmelo/fix-table-details
mgr/dashboard_v2: fix and improve table details

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-03-13 13:03:00 +01:00
Lenz Grimmer
be113e3e92
Merge pull request #20757 from tspmelo/wip-chart-tooltip
mgr/dashboard_v2: Improve charts tooltips

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-03-13 12:45:18 +01:00
Alfredo Deza
5b6e39617f ceph-volume tests use granular env vars for vagrant
Fixes the error that would inject an extra argument to vagrant when the
environment variable is not present

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-13 06:57:57 -04:00
Xie Xingguo
6432786c11
Merge pull request #20830 from Songweibin/wip-cleanup
osd: two cleanups

Reviewed-by: Luo Kexue <luo.kexue@zte.com.cn>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-03-13 15:06:00 +08:00
Xie Xingguo
796fe52797
Merge pull request #20838 from badone/test_dump_pgstate_history-check-for-empty-output
tests: Check for empty output in test_dump_pgstate_history

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-13 15:04:07 +08:00
Xie Xingguo
224c3cbe46
Merge pull request #20839 from guzhongyan/tree-from-cleanup
mon/OSDMonitor: clean up cmd 'osd tree-from'

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-13 15:03:31 +08:00
Kefu Chai
41ec438413
Merge pull request #20831 from zhsj/fix-spelling
misc: fix various spelling errors

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: iliul <liul.stone@gmail.com>
2018-03-13 08:29:29 +08:00
John Spray
841e497c00
Merge pull request #20777 from wjwithagen/wjw-mgr_dashboard_test
test: only test dashboard_v2 when it is enabled

Reviewed-by: John Spray <john.spray@redhat.com>
2018-03-12 23:33:07 +00:00
Andrew Schoen
d4eaefe302
Merge pull request #20849 from ceph/wip-cv-env-flags
ceph-volume tests add optional flags for vagrant

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-03-12 19:38:10 +01:00
Alfredo Deza
5fbea40fc6 ceph-volume tests add optional flags for vagrant
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-12 12:25:01 -04:00
Josh Durgin
fda0ff39d6
Merge pull request #20827 from jdurgin/wip-pg-log-trim-errors
osd: treat successful and erroroneous writes the same for log trimming

Reviewed-by: Sage Weil <sage@redhat.com>
2018-03-12 12:00:57 -04:00
Tiago Melo
ab780bafc2 mgr/dashboard_v2: fix and improve table details
There was a problem with the current implementation of the table details, when
compiled in production mode, where the method that created the details element
would throw an exception.

Besides fixing that, this commit also improves the way we define the details.
Now instead of sending the component name, through the 'detailsComponent' attr,
we need to get the current selection via 'updateSelection' attr and declare the
detail component inside the cdTable and add the cdTableDetail attr to that
element.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-03-12 16:00:53 +00:00
John Spray
b4190bed6f mgr/dashboard: implement can_run checks for dashboard v2
Should be especially handy in development environments
for giving a clear message for people who have forgotten
to build frontend bits.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-03-12 15:20:50 +00:00
Tiago Melo
ce4379bf70 mgr/dashboard_v2: improve health page charts tooltips
Extracted the charts into a new component and it is now using a new tooltip.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-03-12 14:50:11 +00:00
Tiago Melo
7c1f7d3702 mgr/dashboard_v2: improve tooltip of cephfsChart
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-03-12 14:50:11 +00:00
Tiago Melo
1a9aa765af mgr/dashboard_v2: extract cephfs chart into a component
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-03-12 14:50:11 +00:00
Tiago Melo
986c91f083 mgr/dashboard_v2: improve tooltip of cdSparkline
Added a new scss and class for the tooltip.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-03-12 14:50:11 +00:00
Casey Bodley
04a73694d6
Merge pull request #20444 from cbodley/wip-qa-ssl
qa/rgw: verify suite tests civetweb with ssl

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-03-12 10:32:55 -04:00
Lenz Grimmer
8bd3434cf9
Merge pull request #20823 from rjfd/wip-dashboard-pools
mgr/dashboard_v2: Pool controller

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-12 14:11:21 +01:00
Ricardo Dias
0dff6fb413
mgr/dashboard: support test task as CLI arg in rub-backend-api-tests.sh
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-12 11:43:48 +00:00
Ricardo Dias
3efc1a834e
mgr/dashboard: Pool controller implementation and tests
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-12 11:43:48 +00:00
Kefu Chai
e9b02c00e7
Merge pull request #20821 from tspmelo/fix-configuration-page
mgr/dashboard_v2: fix cluster configuration page

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-03-12 18:46:09 +08:00
Lenz Grimmer
4d0ee23cca
Merge pull request #20806 from Devp00l/table-column-toggle
mgr/dashboard_v2: Add toggle able columns

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-03-12 11:25:21 +01:00
Lenz Grimmer
741ae773b5
Merge pull request #20797 from rjfd/wip-dashboard-log-requests
mgr/dashboard: HTTP request logging

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-12 11:23:05 +01:00
Lenz Grimmer
9d6eaa7cfd
Merge pull request #20765 from sebastian-philipp/dashboard_v2-no-detail_route
mgr/dashboard_v2: Removed unused `tools.detail_route()`

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-12 11:16:52 +01:00
Lenz Grimmer
934f8e685f
Merge pull request #20772 from votdev/fix_osd_details
mgr/dashboard v2: Don't show details if multiple OSDs are selected

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-03-12 11:12:41 +01:00
Gu Zhongyan
241af6c72e qa/workunits/mon/crush_ops.sh: test osd tree-from
Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
2018-03-12 17:12:09 +08:00
Gu Zhongyan
b7075f659f mon/OSDMonitor: clean up cmd 'osd tree-from'
Handle 'bucket not exist' and 'not a bucket' case

Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
2018-03-12 11:41:32 +08:00
Jeegn Chen
a1513efe21 rgw: reject encrypted object COPY before supported
Current implementation does not follow S3 spec and even
may result in data corruption silently when copying
multipart objects accorss pools. So reject COPY operations
on encrypted objects before it is fully functional.

Fixes: http://tracker.ceph.com/issues/23232
Signed-off-by: Jeegn Chen <jeegnchen@gmail.com>
2018-03-12 11:22:45 +08:00
Jason Dillaman
a7351ce449 Merge pull request #20809 from idryomov/wip-librbd-discard-create-truncate
librbd: create+truncate for whole-object layered discards

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-10 20:30:59 -05:00
vasukulkarni
edab41e3d6
Merge pull request #20243 from ceph/wip-cd-volume-entry
qa/tests: add openstack volume info + lvs for ceph-volume
2018-03-10 08:13:48 -08:00
Shengjing Zhu
2cbba835aa misc: fix various spelling errors
Signed-off-by: Shengjing Zhu <i@zhsj.me>
2018-03-10 23:39:20 +08:00
Jason Dillaman
7ccd4123e7
Merge pull request #20826 from liewegas/wip-fix-mstart-config
vstart.sh: fix mstart variables

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-10 08:21:30 -05:00
songweibin
e580d8c07d osd: direct use of 'shard' without repeated calls
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-03-10 16:30:20 +08:00
songweibin
cb260a84b8 osd: drop unused header in OSD.cc
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-03-10 12:31:00 +08:00
Kefu Chai
c05e199fc5
Merge pull request #20819 from ygtzf/wip-install-deps
install-deps.sh: fix an error condition expression

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-10 09:32:00 +08:00
Kefu Chai
23169d3719
Merge pull request #20419 from tchaikov/wip-22748
common/config: add units to options

Reviewed-by: John Spray <john.spray@redhat.com>
2018-03-10 09:19:27 +08:00
Josh Durgin
1c15458a00 PrimaryLogPG: only trim up to osd_pg_log_trim_max entries at once
This prevents the fix for http://tracker.ceph.com/issues/22050 or
potential future bugs from causing too much latency by trimming too
many log entries at once.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2018-03-09 19:14:28 -05:00
Sage Weil
ef38c2cfbd vstart.sh: use proper variables for ceph.conf and dev dir
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-09 17:00:43 -06:00