Commit Graph

91710 Commits

Author SHA1 Message Date
Kefu Chai
9167c8381f librados: move get_inconsistent_pgs() into RadosClient
so we don't need parse the pg string and render it again for librados C
API.

the downside of this change is that, get_inconsistent_pgs() could be
implemented using RadosClient, instead be *in* it. but before we have
a place for the helper functions for these higher-level functions,
RadosClient is a good place for hosting them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-02 00:09:17 +08:00
Casey Bodley
c0fd904b99
Merge pull request #24406 from ivancich/wip-rgw-renew-reshard-lock
rgw: renew resharding locks to prevent expiration

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-11-01 12:06:11 -04:00
Jason Dillaman
3f8ad2e3a7
Merge pull request #20598 from rishabh-d-dave/fix-rbdfuse-look-for-ceph-conf
rbd-fuse: look for ceph.conf in standard locations

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-11-01 09:55:58 -04:00
Lenz Grimmer
de72ece6cb
Merge pull request #24829 from p-na/pna-fix-docstring
mgr/dashboard: Fix links to external documentation

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-11-01 14:04:39 +01:00
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
Patrick Nawracay
823ffc30a6 mgr/dashboard: Cleanup imports
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-10-30 14:58:37 +01:00
Patrick Nawracay
4c8c55ff67 mgr/dashboard: Fix links to documentations
- Added anchor to Grafana in URL of OSD, Overall Performance
- Fixed URL in Object Gateway, Buckets

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-10-30 14:58:37 +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
Rishabh Dave
a68cf961d5 rbd-fuse: look for ceph.conf in standard locations
Fixes: http://tracker.ceph.com/issues/12219
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-10-30 12:14:58 +00: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