Commit Graph

91694 Commits

Author SHA1 Message Date
Matt Benjamin
1b57df1d51
Merge pull request #21767 from cfanz/wip-fix-rgw-race-condition
rgw: avoid race condition in RGWHTTPClient::wait()
2018-10-31 14:56:29 -04:00
Ricardo Marques
223a24eeae
Merge pull request #24810 from rhcs-dashboard/35691-landing-page-chart-improvements
mgr/dashboard: Landing Page: chart improvements

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-10-31 18:36:36 +00:00
Matt Benjamin
1a9f304d2b
Merge pull request #20794 from ghost/wip-nfs-doc-err
doc: replace rgw_namespace_expire_secs with rgw_nfs_namespace_expire_secs
2018-10-31 14:30:02 -04:00
Matt Benjamin
fe43ba1558
Merge pull request #21599 from cfanz/wip-fix-rgw-build-error
rgw: fix radosgw-admin build error
2018-10-31 14:26:02 -04:00
Joao Eduardo Luis
d2fc458185
Merge pull request #19983 from gohighsec/validate_hitset
mon:validate hit_set values before set
2018-10-31 14:39:06 +00:00
Casey Bodley
5cbca655e9
Merge pull request #24848 from joke-lee/wip-doc-radosgw-admin
rgw: add --op-mask in radosgw-admin help info

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-10-31 08:04:23 -04:00
Alfredo Deza
7aaf02bbb9
Merge pull request #24840 from ceph/wip-rm36648
ceph-volume systemd import main so console_scripts work for executable

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-10-31 07:06:02 -04:00
yuliyang
ec5489b591 rgw: add --op-mask in radosgw-admin help info
Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
2018-10-31 17:19:21 +08:00
Sage Weil
bf49b87ff9 Merge PR #19411 into master
* refs/pull/19411/head:
	osd: Step down RecoveryCtx from class to struct

Reviewed-by: Sage Weil <sage@redhat.com>
2018-10-30 17:36:55 -05:00
Sage Weil
6ed0d5a2b7 Merge PR #19288 into master
* refs/pull/19288/head:
	bluestore/BlueRocksEnv: Object initialization after deletion

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
2018-10-30 17:32:25 -05:00
Sage Weil
860ad1f61c Merge PR #19142 into master
* refs/pull/19142/head:
	doc/dev/kernel-client-troubleshooting: Add kernel dynamic debuggin

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
2018-10-30 17:18:06 -05:00
Sage Weil
c71e993343 Merge PR #19146 into master
* refs/pull/19146/head:
	doc/dev/logs: Removes non-existence file path

Reviewed-by: Sage Weil <sage@redhat.com>
2018-10-30 17:17:36 -05:00
Sage Weil
699198067a Merge PR #19726 into master
* refs/pull/19726/head:
	osd: Sanity check, if too full or not

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-10-30 16:09:06 -05:00
Sage Weil
9ab9dcfc0d Merge PR #24809 into master
* refs/pull/24809/head:
	os/bluestore: omit redundant '/' in OSD path for ceph-bluestore-tool if
	os/bluestore: improve error handling for migrate ops in
	qa/standtalone/osd-bluefs-volume-ops: remove redundant code.

Reviewed-by: Sage Weil <sage@redhat.com>
2018-10-30 15:09:45 -05:00
Sage Weil
042e48f96d Merge PR #21009 into master
* refs/pull/21009/head:
	rados: fix error message for cache(-try)-flush-evict-all commands

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-10-30 15:08:00 -05:00
Sage Weil
b709b82897 Merge PR #24534 into master
* refs/pull/24534/head:
	librados: Copy buffer on AIO read

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-10-30 15:07:44 -05:00
Sage Weil
964ee003df Merge PR #24545 into master
* refs/pull/24545/head:
	os/bluestore: debug_omit_block_device_write isn't always respected.

Reviewed-by: Sage Weil <sage@redhat.com>
2018-10-30 15:06:45 -05:00
Sage Weil
68c9250e83 Merge PR #24548 into master
* refs/pull/24548/head:
	Objecter: add ignore cache flag if got redirect reply

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2018-10-30 15:06:25 -05:00
Sage Weil
166c34a265 Merge PR #24599 into master
* refs/pull/24599/head:
	os/bluestore/KernelDevice: Honor discard_granularity

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-10-30 15:06:10 -05:00
Sage Weil
00a13c2d77 Merge PR #24742 into master
* refs/pull/24742/head:
	osd: slightly refactor PrimaryLogPG::do_op.
	osd: avoid unnecessary map lookups in PrimaryLogPG::do_op.

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-10-30 15:05:51 -05:00
Alfredo Deza
0bcda52566 ceph-volume systemd import main so console_scripts work for executable
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-10-30 15:50:28 -04:00
Yehuda Sadeh
b5c14e512e
Merge pull request #22132 from yehudasa/wip-menv
ceph-menv: mrun shell environment

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-10-30 09:00:19 -07:00
Sage Weil
96dd773d13 Merge PR #24755 into master
* refs/pull/24755/head:
	mgr/diskprediction: use global device_failure_prediction_mode setting

Reviewed-by: John Spray <john.spray@redhat.com>
2018-10-30 10:20:02 -05:00
Lenz Grimmer
fbb9bfd71d
Merge pull request #24764 from tspmelo/wip-jest-ci
mgr/dashboard: Reduce Jest logs in CI

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-10-30 15:58:01 +01:00
Lenz Grimmer
105151089b
Merge pull request #24633 from Devp00l/wip-issue-36467
mgr/dashboard: Add a unit test form helper class

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-10-30 15:50:31 +01:00
Sage Weil
22d78ad402 Merge PR #24668 into master
* refs/pull/24668/head:
	mgr/DaemonState: fix get_config_defaults locking
	mgr: adjust DaemonState device index when daemon metadata is updated
	mgr/DaemonState: clear devices in set_metadata

Reviewed-by: Tim Serong <tserong@suse.com>
2018-10-30 08:47:54 -05:00
Alfredo Deza
2ebec917d3
Merge pull request #24773 from sileht/no-scripts
ceph-volume: use console_scripts

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-10-30 09:12:17 -04:00
Stephan Müller
1244735df3 mgr/dashboard: Renamed CdFormGroups inital test description
Fixes: https://tracker.ceph.com/issues/36467
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-10-30 12:20:02 +01:00
Stephan Müller
5dc94fb521 mgr/dashboard: Use form helper in dashboard tests
Using form helper in pool, RGW user, user and role form tests and
although in the cd-validator tests.

Fixes: https://tracker.ceph.com/issues/36467
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-10-30 12:20:02 +01:00
Lenz Grimmer
8f9c703d1e
Merge pull request #24715 from ricardoasmarques/fix-36564
mgr/dashboard: Fix ts error on iSCSI page

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-10-30 12:19:12 +01:00
Stephan Müller
0532fce13e mgr/dashboard: Add a unit test form helper class
This class helps testing forms, most methods were outsourced from the
pool form test suite.

Fixes: https://tracker.ceph.com/issues/36467
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-10-30 12:03:35 +01:00
Kefu Chai
f386db6433
Merge pull request #24735 from b-ranto/wip-rpm-dashboards
build/ops: rpm: Package grafana dashboards

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-10-30 18:57:12 +08:00
John Spray
b6d884fc3d
Merge pull request #23569 from jcsp/wip-kubejacker
script/kubejacker: include cls libs

Reviewed-by: Sage Weil <sage@redhat.com>
2018-10-30 10:29:36 +00:00
Lenz Grimmer
88719afc73
Merge pull request #22833 from rjfd/wip-dashboard-jwt
mgr/dashboard: JWT authentication

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-10-30 10:50:20 +01:00
alfonsomthd
f014e3c30c mgr/dashboard: Landing Page: chart improvements
- Updated chart colors.
- Added border for chart slices (visual impairment help).
- Adjusted chart vertical centering.

Fixes: https://tracker.ceph.com/issues/35691

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2018-10-30 08:54:23 +01:00
Josh Durgin
c60bb22e0c
Merge pull request #21243 from majianpeng/osd-misc-cleanup
osd/ReplicatedBackend: remove useless assert

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-10-29 21:23:11 -07:00
Jianpeng Ma
5c5c7a59b6 osd/ReplicatedBackend: remove useless assert.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-10-30 14:48:15 +08:00
Gregory Farnum
636d05e31a
Merge pull request #13925 from nvedant07/bug_fix_1
osdmaptool/cleanup: Completed osdmaptool's usage
2018-10-29 15:16:29 -07:00
Gregory Farnum
888a07fadc
Merge pull request #24791 from falcon78921/wip-docs-demodocs
doc: added demo document changes section

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-10-29 13:45:48 -07:00
Igor Fedotov
5d6b25c3c9 os/bluestore: omit redundant '/' in OSD path for ceph-bluestore-tool if
needed.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-10-29 21:14:32 +03:00
Ricardo Dias
61bf117872
mgr/dashboard: run-frontend-unittests: fix CEPH_ROOT initialization
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-10-29 15:47:14 +00:00
Ricardo Dias
9c36996b1e
mgr/dashboard: frontend: JWT authentication implementation
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-10-29 15:47:14 +00:00
Ricardo Dias
91859cc968
mgr/dashboard: run-backend-api-request.sh: support for JTW tokens
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-10-29 15:47:14 +00:00
Ricardo Dias
2f5e7c3392
mgr/dashboard: backend: JWT based authentication
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-10-29 15:47:14 +00:00
Igor Fedotov
9ec8f3d334 os/bluestore: improve error handling for migrate ops in
ceph_bluestore-tool.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-10-29 18:18:18 +03:00
Ricardo Marques
fbd4d9502c mgr/dashboard: Fix ts error on iSCSI page
This error only happens until initiator is connected to the target.

Fixes: https://tracker.ceph.com/issues/36564

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-10-29 15:08:56 +00:00
Sage Weil
0d166f49dc Merge PR #24686 into master
* refs/pull/24686/head:
	os/bluestore: show compress and buffered from WriteContext
	os/bluestore: fix rename race with trim on replacement onode at old name

Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-10-29 08:46:43 -05:00
Sage Weil
1c081dde77 mgr/diskprediction: use global device_failure_prediction_mode setting
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-29 08:44:17 -05:00
Sage Weil
6c744ea582 Merge PR #24229 into master
* refs/pull/24229/head:
	common: drop BL_BACKWARD_COMPAT in bufferlist.
	osd: OSDMap encoding uses bufferlist::contiguous_filler.
	mds: encode_xattrs() uses buffer::list::contiguous_filler.
	common: introduce contiguous_filler to optimize ENCODE_START.
	common: optimize hole appending in bufferlist.
	common: duplicate an encoding macro to suppress warnings.
	common: drop backward iteration from bufferlist.

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-10-29 08:42:48 -05:00
Sage Weil
c40685ebdd Merge PR #24787 into master
* refs/pull/24787/head:
	Merge PR #24796 into nautilus
	osd: fix heartbeat_reset unlock
	Merge PR #24780 into nautilus
	Merge PR #24761 into nautilus
	Merge PR #24651 into nautilus
	osd: fix race between op_wq and context_queue
	test: Make sure kill_daemons failure will be easy to find
	test: Add flush_pg_stats to make test more deterministic
2018-10-29 08:36:34 -05:00