Commit Graph

93708 Commits

Author SHA1 Message Date
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
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
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
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
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
Josh Durgin
a05f9ebaa6
Merge pull request #25816 from neha-ojha/wip-36686
osd/mon: fix upgrades for pg log hard limit

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil  <sage@redhat.com>
2019-01-09 13:17:30 -08:00
Alfredo Deza
3b9262a825
Merge pull request #25321 from votdev/fix_dict_changed_size
ceph-volume: Add unit test

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2019-01-09 13:29:54 -05:00
Neha Ojha
b2879e5a04 pybind/mgr/dashboard: add modified messages.xlf
This is to fix the make check failure in
mgr-dashboard-frontend-unittests.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-01-09 10:17:35 -08:00
Sage Weil
a591dfbbae common/numa: remove unused _mask variants
These parse the 'local_cpus' file that has a hex bitmask, but I didn't end
up using them.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-09 09:44:48 -06:00
Jason Dillaman
d0af9eaa73
Merge pull request #25863 from trociny/wip-rbd-mirror-mock-warnings
test/rbd_mirror: fix gmock warnings

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-01-09 10:04:47 -05:00
Kefu Chai
0080efb05e mgr/test_orchestrator: correct ceph-volume path
s/ceph_volume/ceph-volume/

Fixes: http://tracker.ceph.com/issues/37773
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-09 22:19:07 +08:00
Jason Dillaman
0d3fe8f225
Merge pull request #25860 from trociny/wip-prometheus-rbd_stats_pools
pybind/mgr/prometheus: improve 'rbd_stats_pools' param parsing

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-01-09 08:49:17 -05:00
Lenz Grimmer
dcfbec6a3e
Merge pull request #25300 from votdev/improve_rgw_user_list
mgr/dashboard: Improve RgwUser controller

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-01-09 14:40:21 +01:00
Sebastian Wagner
9bb8e2dd20
Merge pull request #25634 from sebastian-philipp/doc-orchestrator-wal
doc/mgr/orchestrator: add `wal` to blink lights

Reviewed-by: Volker Theile <vtheile@suse.com>
2019-01-09 14:39:37 +01:00
Lenz Grimmer
26de63e5af
Merge pull request #25813 from rhcs-dashboard/updated-test-full-health
mgr/dashboard: updated health API test
2019-01-09 14:32:40 +01:00
Jason Dillaman
c223e707b6
Merge pull request #25743 from trociny/wip-37541
journal: set max journal order to 26
2019-01-09 08:31:36 -05:00
Jason Dillaman
a231e69816
Merge pull request #25789 from trociny/wip-36038
rbd_mirror: don't report error if image replay canceled

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-01-09 08:30:55 -05:00
Jason Dillaman
086d3f3a16
Merge pull request #25832 from trociny/wip-37729-1
test/pybind/test_rbd: filter out unknown list_children2 keys

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-01-09 08:30:12 -05:00
Kefu Chai
5c8dcdd353
Merge pull request #25861 from tchaikov/wip-seastar-connect-fix
seastar: pickup fix for segfault in POSIX stack

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-01-09 20:08:35 +08:00
Mykola Golub
6e225c2774 test/rbd_mirror: expect service daemon update instance_id attribute
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-01-09 11:52:00 +00:00
Mykola Golub
1619bcf08f test/rbd_mirror: fix gmock warnings when running with debug
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-01-09 11:49:41 +00:00
Lenz Grimmer
97f1c053fb
Merge pull request #25572 from nathan-weinberg/pools-tests
mgr/dashboard: Added breadcrumb and tab tests to Pools menu

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-01-09 11:54:49 +01:00
Kefu Chai
47f9dad57a seastar: pickup fix for segfault in POSIX stack
see
5e399906d1

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-09 17:57:32 +08:00
Mykola Golub
35340b2395 pybind/mgr/prometheus: improve 'rbd_stats_pools' param parsing
re.split can still produce a list with empty string elements (e.g. if
'rbd_stats_pools' is just an empty string) and we want to filter out
those.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-01-09 09:34:45 +00:00
alfonsomthd
d9404d6813 mgr/dashboard: add columns to Pools table
* Added columns:
Usage, Read bytes, Write bytes, Read ops, Write ops.

* TableKeyValueComponent:
Bugfix in method: _insertFlattenObjects

* Updated jest global mock:
Now window.getComputedStyle returns an object
that has getPropertyValue defined
(otherwise jest pool tests involving chart.js threw error). See:
https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle

Fixes: https://tracker.ceph.com/issues/37717
Fixes: https://tracker.ceph.com/issues/34320

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2019-01-09 08:59:47 +01:00
Patrick Donnelly
03990857fa
Merge PR #25621 into master
* refs/pull/25621/head:
	mds: allow boot on read-only
	mds: setup readonly mode for PurgeQueue
	mds: return string_view for type str
	mds: add missing locks for PurgeQueue methods
	mds: delete on_error context on des

Reviewed-by: Zheng Yan <zyan@redhat.com>
2019-01-08 15:56:16 -08:00
Patrick Donnelly
4e4db26c9c
Merge PR #24556 into master
* refs/pull/24556/head:
	tools/cephfs: make 'cephfs-data-scan scan_links' update snaptable
	tools/cephfs: make 'cephfs-data-scan scan_links' update inotable

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-08 15:10:28 -08:00
Sage Weil
86d74e9ad7 Merge PR #25818 into master
* refs/pull/25818/head:
	mon: adjust mon sync, extra_probe_peers to use addrvec

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-01-08 14:15:28 -06:00
Sage Weil
ee893445d5 mon/MonClient: make mon hunt more aggressive
With v2 and v1 addresses, it helps to be a bit more aggressive
searching for mons since the v1 or v2 ports may not be in use.

- try 3 parallel connection attempts, not 2
- increase the timeout interval more slowly

Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-08 14:04:37 -06:00
Sage Weil
4c69fe2d3b qa/msgr: add async-v1only case
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-08 13:22:39 -06:00
Sage Weil
3d34c4ebd2 mon: adjust mon sync, extra_probe_peers to use addrvec
The peer addr stuff via asok is a bit fragile because the user must
provide an exact addrvec matching the mon to avoid some weirdness, but
it's rarely used, and the fix would be some robustness/tolerance in the
messenger that is a bigger project than this.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-08 13:08:31 -06:00