Commit Graph

93738 Commits

Author SHA1 Message Date
Sage Weil
ed56c86b1c Merge PR #25806 into master
* refs/pull/25806/head:
	mgr: diskprediction_cloud Add nvme devcie support

Reviewed-by: Sage Weil <sage@redhat.com>
2019-01-12 05:13:32 -06:00
Ilya Dryomov
fce08ffbab
Merge pull request #25662 from yangdongsheng/abort_on_full
rbd: introduce abort_on_full option for rbd map

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2019-01-12 10:29:56 +01:00
Dongsheng Yang
5639a8b187 rbd: introduce abort_on_full option for rbd map
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2019-01-12 03:42:15 -05:00
Neha Ojha
995f320fc6
Merge pull request #25924 from neha-ojha/wip-fix-scrub-doc
doc/rados/configuration: add osd scrub {begin,end} week day

Reviewed-by: Sage Weil <sage@redhat.com>
2019-01-11 15:05:02 -08:00
Neha Ojha
3659a8c5f6 doc/rados/configuration: add osd scrub {begin,end} week day
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-01-11 12:55:51 -08:00
Jason Dillaman
fad75f10f4
Merge pull request #24427 from thmour/thmour_api_purge
librbd: add trash purge api calls

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-01-11 14:43:08 -05:00
Jason Dillaman
0d8b41f10d
Merge pull request #25908 from trociny/wip-dperf-bytes
mgr: change 'bytes' dynamic perf counters to COUNTER type

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-01-11 14:42:40 -05:00
Neha Ojha
7c081e0fc8
Merge pull request #25887 from neha-ojha/wip-hide-flag
include/rados.h: hide CEPH_OSDMAP_PGLOG_HARDLIMIT from ceph -s

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Xie Xingguo <xie.xingguo@zte.com.cn>
2019-01-11 09:21:50 -08:00
Jason Dillaman
504f4e78ef librbd: tweaked trash purge API
Removed the internal usage of the public librbd API, avoided double-opening
image to determine data pool, and fixed issues with the unit test case.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-01-11 10:40:54 -05:00
Jason Dillaman
a3155c3fc2 cls/rbd: reduce erroneous error messages when omap keys don't exist
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-01-11 09:18:45 -05:00
Julien Collet
4d281f8321 test/librbd: fix librbrd test relative to trash purge
Signed-off-by: Julien Collet <julien.collet@cern.ch>
2019-01-11 09:18:45 -05:00
Theofilos Mouratidis
b6f9aab037 librbd: add trash purge api calls
Add trash purge api calls and fix the docs of some other rbd trash functions

Signed-off-by: Theofilos Mouratidis <mtheofilos@gmail.com>
2019-01-11 09:18:45 -05:00
Jason Dillaman
e920693ff6
Merge pull request #25529 from Songweibin/wip-fix-rbd-migration
librbd: disallow trash restoring when image being migrated

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-01-11 09:03:58 -05:00
Jason Dillaman
cf9deaf8f8
Merge pull request #25765 from Songweibin/wip-fix-migrate-parent
librbd/api: misc fix migration

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-01-11 09:03:39 -05:00
Jason Dillaman
4f16d9d871
Merge pull request #25834 from trociny/wip-21392
rbd-mirror: create and export replication perf counters to mgr 

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-01-11 09:02:19 -05:00
Jason Dillaman
9a91dc5ea2
Merge pull request #25896 from trociny/wip-37861
rbd: fix delay time calculation for trash move

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-01-11 09:01:49 -05:00
Lenz Grimmer
0cc78cfb63
Merge pull request #25656 from tspmelo/wip-npm-update
mgr/dashboard: Update npm packages

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-01-11 14:11:36 +01:00
Mykola Golub
6eac70d83a
Merge pull request #25883 from dillaman/wip-37745
librbd: keep access/modified timestamp updates out of IO path

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-01-11 13:30:40 +02:00
Lenz Grimmer
c9f005db10
Merge pull request #25894 from Devp00l/wip-kv-table-update
mgr/dashboard: Hide empty fields and render all objects in KV-table

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-01-11 10:29:39 +01:00
Mykola Golub
bf5435409f mgr: change 'bytes' dynamic perf counters to COUNTER type
(so they are of the same type as in static perf)

Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-01-11 09:13:45 +00:00
Stephan Müller
1033314a24 mgr/dashboard: Render all objects in KV-table
The problem was that the key value table didn't render all objects in
the given object, even if 'renderObjects' was set to true.

For example you give it an object with 2 attributes each of them holds a
non empty object, this will result in a table data that is not fully
converted to key value objects, which will result as text '[Object
object]' in the table view.

Now every object will be rendered and the key value array will be sorted
by key.

Fixes: https://tracker.ceph.com/issues/37859
Signed-off-by: Stephan Müller <smueller@suse.com>
2019-01-11 09:07:47 +01:00
Stephan Müller
e99a8ee39b mgr/dashboard: Hide empty fields in KV-table
It exends the key value table by the option to hide empty fields.

Fixes: https://tracker.ceph.com/issues/37860
Signed-off-by: Stephan Müller <smueller@suse.com>
2019-01-11 09:07:47 +01:00
Sage Weil
5dfcb551ff Merge PR #25755 into master
* refs/pull/25755/head:
	msg/async/Protocol*: bump global_seq when retrying connection
	msg/async/Protocol*: unregister con from accept vs mark_down race

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
2019-01-10 18:12:47 -06:00
Sage Weil
221afb0e28 Merge PR #25840 into master
* refs/pull/25840/head:
	qa/msgr: add async-v1only case

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-01-10 17:20:10 -06:00
Sage Weil
f1dd338eb6 Merge PR #25792 into master
* refs/pull/25792/head:
	common/numa: remove unused _mask variants
	osd: support osd_numa_node, osd_numa_auto_affinity, osd_numa_prefer_iface
	mon/OSDMonitor: add 'osd numa-status' command
	osd: report numa node for network interface(s)
	common/pick_address: get numa node info for a interface
	os/bluestore: report numa node info for storage
	os/bluestore/KernelDevice: report numa info for each device
	os/bluestore: allow get_devices() to run without bluestore started
	common/blkdev: query numa info
	common/numa: cpu_set helpers and numa helpers
	common/blkdev: drop debug statements

Reviewed-by: Mark Nelson <mnelson@redhat.com>
2019-01-10 16:50:38 -06:00
Sage Weil
2114036e59 Merge PR #25841 into master
* refs/pull/25841/head:
	mon/MonClient: make mon hunt more aggressive

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-01-10 16:50:09 -06:00
Sage Weil
888bf53235 Merge PR #25827 into master
* refs/pull/25827/head:
	test/cls_rgw: fix signed/unsigned warning
	test/msgr/test_msgr: fix signed/unsigned warning
	msg/Connection: protect peer_addrs with safe_item_history<>

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-01-10 16:29:10 -06:00
Josh Durgin
76f95c52c4
Merge pull request #25704 from tchaikov/wip-36737-unittest-log
test: write log file to current directory

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-01-10 13:33:57 -08:00
Sage Weil
4eee470cd3 Merge PR #25898 into master
* refs/pull/25898/head:
	qa/tests: reduced nubmer of runs on 'ovh'

Reviewed-by: Sage Weil <sage@redhat.com>
2019-01-10 12:06:04 -06:00
Yuri Weinstein
4d7d0f53f3 qa/tests: reduced nubmer of runs on 'ovh'
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2019-01-10 09:03:16 -08:00
Sage Weil
bdb86f4f9c Merge PR #25544 into master
* refs/pull/25544/head:
	common/PriorityCache: Automatic chunk sizing

Reviewed-by: Sage Weil <sage@redhat.com>
2019-01-10 09:54:00 -06:00
Sage Weil
39e8de2d72 msg/async/Protocol*: bump global_seq when retrying connection
In the top connect retry in particular we do not bump connect_seq, so it
is critical that we bump global_seq so that the two connection attempts
are distinguishable at the peer.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-10 09:33:28 -06:00
Casey Bodley
4eb2911360
Merge pull request #25744 from cbodley/wip-test-rgw-reshard-wait
test/rgw: add ifdef for HAVE_BOOST_CONTEXT

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-01-10 10:32:26 -05:00
Mykola Golub
947351e626 rbd: fix delay time calculation for trash move
Fixes: https://tracker.ceph.com/issues/37861
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-01-10 15:15:36 +00:00
Jason Dillaman
5f3cb951c5 librbd: keep access/modified timestamp updates out of IO path
If the cache is enabled, it was possible for the timestamp updates
to cause race conditions with librbd clients (e.g. rbd export)
that had data corrupting effects since callbacks were expected to
be serialized.

Fixes: http://tracker.ceph.com/issues/37745
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-01-10 10:00:20 -05:00
Casey Bodley
8338de3ee4
Merge pull request #25892 from theanalyst/doc-rgw-usage-fix
doc: rgw: fix the default value of usage log setting

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-01-10 09:37:18 -05:00
Mykola Golub
ffb41b06c8 rbd-mirror: add aggregated replication perf counters
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-01-10 10:36:45 +00:00
Mykola Golub
99763d2d46 pybind/mgr/prometheus: export rbd-mirror metadata
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-01-10 10:36:45 +00:00
Mykola Golub
2162ed91d9 pybind/mgr: add rbd-mirror to get_all_perf_counters by default
This effectively enables rbd-mirror stats for modules like prometheus or
influx.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-01-10 10:36:45 +00:00
Mykola Golub
bb3d573a6e pybind/mgr/diskprediction_cloud: only perfs for mon and osd needed
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-01-10 10:36:45 +00:00
Mykola Golub
048bd5d0cc pybind/mgr: allow to specify services for get_all_perf_counters
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-01-10 10:36:45 +00:00
Mykola Golub
19a41c3563 rbd-mirror: create and export replication perf counters to mgr
Fixes: https://tracker.ceph.com/issues/21392
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-01-10 10:36:45 +00:00
Abhishek Lekshmanan
b21c96ec69 doc: rgw: fix the default value of usage log setting
Fixes: http://tracker.ceph.com/issues/37856
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-01-10 11:13:33 +01:00
Lenz Grimmer
929575bdad
Merge pull request #25769 from votdev/navbar_focus_color
mgr/dashboard: Fix navbar focused color

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Neha Gupta <gnehapk@gmail.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2019-01-10 11:01:21 +01:00
Lenz Grimmer
7fe4820c60
Merge pull request #25791 from rhcs-dashboard/36740-pool-stats-read-write-columns
mgr/dashboard: add columns to Pools table

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2019-01-10 09:58:05 +01:00
Sebastian Wagner
4dd332ebfb
Merge pull request #25839 from tchaikov/wip-37773
mgr/test_orchestrator: correct ceph-volume path

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-01-10 09:29:11 +01:00
Neha Ojha
dfc2929235 include/rados.h: hide CEPH_OSDMAP_PGLOG_HARDLIMIT from ceph -s
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-01-09 18:12:17 -08:00
Tiago Melo
4980c2668e mgr/dashboard: Update bootstrap to 3.4.0
Fixes: https://tracker.ceph.com/issues/37834
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-01-09 22:20:32 -01:00
Tiago Melo
c0a45c9f0a mgr/dashboard: Update npm packages
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-01-09 22:20:32 -01:00
Mykola Golub
9a3b87bf98 test/journal: ReplayEntry::get_data is const
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-01-09 21:39:07 +00:00