Commit Graph

91818 Commits

Author SHA1 Message Date
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
Pritha Srivastava
d0acc30173 rgw: Fixes to STS Lite documentation.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-10-31 11:22:40 +05:30
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
02949bb37d common/mempool: tolerate sum < 0
If we are adding up the shards, and race with some allocations and
deallocations, we might get a negative sum.  E.g., with 2 shards, intially
[0,0],

- A: read shard 0 (0)
- B: allocate object on shard 0 (now 1)
- C: dallocate object on shard 1 (now -1)
- A: read shard 1 (-1)
- A: sum is -1

Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-30 15:35:23 -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
220ec2b9e9 include/buffer: make static_assert c++11-safe
The variant with only one arg was added in c++17.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-30 10:42:47 -05: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
Sage Weil
5f51cd286b Merge PR #24804 into nautilus
* refs/pull/24804/head:
	include/types: fixed compile warning for signed/unsigned comparison
	osd/PrimaryLogPG: uncommitted dup ops should respond with logged return code
	osd/PrimaryLogPG: propagate error return codes on object copy_get ops
	osd/PGLog: optionally record error return codes for extra_reqids
	osd/osd_types: include PG log return codes in object copy data
2018-10-29 20:38:57 -05: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
Greg Farnum
6623963388 test: make readable.sh fail if it doesn't run anything
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2018-10-29 14:03:48 -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
Sage Weil
c3c1393882 common/ceph_context: add perf counters for all mempools
Report bytes and items for each mempool.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-29 13:19:23 -05:00
Sage Weil
941930e5cf common/ceph_common: add heartbeat perf counters unconditionally
rgw and rbd_mirror were enabling a perfcounter monitoring the heartbeatmap.
Enable this unconditionally for all ccts.  This is simpler and more
useful!

Add a CINIT_FLAG to avoid starting them up. This is only used by the unit
tests which do not expect all the cct crap and we don't want to
break every time we add a new cct counter.  That means removing
the CephContextPerfCounters test.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-29 13:19:23 -05: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