Commit Graph

93650 Commits

Author SHA1 Message Date
Sage Weil
2762955576 qa/standalone/mon/mon-handle-forward: fix grep path and check return results
This makes the test more strict and less confusing.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-10 17:18:38 -06:00
Sage Weil
a210f7dd3b mon/MonClient: be less aggressive/paranoid about reopening mon connections
Previously we were reopening any time the name of our mon changed.  That
was pretty much every time, since we started out with names from the
seed monmap like 'noname-[abc]' that never match the real mons.

Instead, only reopen if the addr we are connecting to is no longer in the
monmap.  We don't actually care about the mon's name.

Fixes: http://tracker.ceph.com/issues/37868
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-10 17:18:38 -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
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
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
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
Sage Weil
2483b774f2 Merge PR #25823 into master
* refs/pull/25823/head:
	msg/async/Protocol*: fix mark_down vs accept race

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-01-08 13:05:11 -06:00
Casey Bodley
1b2b885518
Merge pull request #25381 from cbodley/wip-qa-rgw-cls
qa/rgw: add cls_lock/log/refcount/version tests to verify suite

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-01-08 13:05:11 -05:00
Matt Benjamin
b2f9adf77b
Merge pull request #24027 from theanalyst/wip-civetweb-poll
rgw: civetweb: use poll instead of select while waiting on sockets
2019-01-08 12:50:49 -05:00
Sage Weil
b8e475af0c Merge PR #25835 into master
* refs/pull/25835/head:
	mgr/ServiceMap: print daemon addr in legacy format

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-01-08 11:19:21 -06:00
Patrick Donnelly
6873dfc06e
Merge PR #24172 into master
* refs/pull/24172/head:
	client: fix fuse client hang because its pipe to mds is not ok

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-08 08:20:59 -08:00
Nathan Weinberg
b8226793b8 mgr/dashboard: Added breadcrumb and tab tests to Pools menu
Fixes: https://tracker.ceph.com/issues/37667
Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
2019-01-08 10:16:04 -06:00
Sage Weil
671641df5a mgr/ServiceMap: print daemon addr in legacy format
The v1/v2 prefix isn't useful anyway since the client can connect via
any protocol.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-08 09:23:12 -06:00
Patrick Donnelly
112d754650
Merge PR #25741 into master
* refs/pull/25741/head:
	mds: remove wrong assertion in Locker::snapflush_nudge

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-08 07:03:40 -08:00
Patrick Donnelly
5e073231f9
Merge PR #25479 into master
* refs/pull/25479/head:
	client: fix fuse client can't read or write data due its caps is invalid
	Revert "client: fix fuse client can't read or write data due its caps is invalid"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-08 07:00:26 -08:00
Mykola Golub
24cc60335d test/pybind/test_rbd: filter out unknown list_children2 keys
Fixes: http://tracker.ceph.com/issues/37729
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-01-08 16:35:13 +02:00
Lenz Grimmer
e0c8284ec5
Merge pull request #25812 from Exotelis/toc
mgr/dashboard: Add table of contents to HACKING.rst

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-01-08 15:34:53 +01:00
Lenz Grimmer
22947238f3
Merge pull request #25830 from rhcs-dashboard/grafana-500
mgr/dashboard: Fixes Grafana 500 error

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-01-08 15:33:41 +01:00
Sage Weil
587b548043 Merge PR #25801 into master
* refs/pull/25801/head:
	qa/tasks/radosbench: default to 64k writes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-01-08 08:30:25 -06:00
Matt Benjamin
87a1baa8a6
Merge pull request #24714 from pritha-srivastava/wip-rgw-role-doc
rgw: Adding documentation for Roles.
2019-01-08 09:11:26 -05:00
Volker Theile
18b435a529 mgr/dashboard: Improve RgwUser controller
Use the new 'user?list' RGW Admin OPS API endpoint.

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-01-08 14:44:47 +01:00
Sage Weil
d8207b916d Merge PR #25821 into master
* refs/pull/25821/head:
	doc/dev/msgr2: checksum frame header (tag + length)

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-01-08 07:23:48 -06:00
Sage Weil
a1613e60a0 msg/async/Protocol*: fix mark_down vs accept race
If we mark_down the connection while we have the lock dropped the state
maybe CLOSED when we retake it.  Bail out if that happens instead of
continuing to process the connection and eventually running into an
assertion on can_write.

Fixes: http://tracker.ceph.com/issues/36497
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-08 07:13:23 -06:00
Alfredo Deza
4f345d4c9f
Merge pull request #25820 from alfredodeza/wip-rm37805
ceph-volume tests/functional declare ceph-ansible roles instead of importing them

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2019-01-08 07:49:21 -05:00
Kanika Murarka
609fe223d4 mgr/dashboard: Fixes Grafana 500 error
Fixes: http://tracker.ceph.com/issues/37809
Signed-off-by: Kanika Murarka <kmurarka@redhat.com>
2019-01-08 12:15:05 +05:30
YunfeiGuan
77bc12e21e client: fix fuse client can't read or write data due its caps is invalid
We can't do read or write if we don't have Fr or Fw. Similarly, if the
caps is invalid, we can't read or wirte either.

What's worse, the mds don't konw our cap gen is invalid and think client
inode's caps is right. Thus will lead client application hung all the time.

Fixes: http://tracker.ceph.com/issues/36189
Signed-off-by: Guan yunfei <yunfei.guan@xtaotech.com>
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2019-01-08 11:42:53 +08:00
Yan, Zheng
c7f324b0ce Revert "client: fix fuse client can't read or write data due its caps is invalid"
This reverts commit 1d742aa51b.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2019-01-08 11:42:43 +08:00
Sage Weil
9badd953f4 doc/dev/msgr2: checksum frame header (tag + length)
Ensure we catch transport errors early (before we, say, try to allocate
a missized payload buffer).

Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-07 15:01:21 -06:00
Alfredo Deza
ad6b924e2b ceph-volume tests/functional declare ceph-ansible roles instead of importing them
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2019-01-07 15:15:21 -05:00
Sage Weil
d49e2e9075 Merge PR #25795 into master
* refs/pull/25795/head:
	ceph-objectstore-tool: fix split check on import

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-01-07 10:54:22 -06:00
Sage Weil
78070b96bf qa/tasks/radosbench: default to 64k writes
The default rados bench is 4MB writes, but this tends to fill up our
tiny test clusters.  Use 64KB instead.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-07 07:22:29 -06:00
alfonsomthd
dcf46cfe94 mgr/dashboard: updated health API test
Updated test_full_health to reflect changes in
mgr_map / mon_status payloads.

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2019-01-07 12:49:25 +01:00
Sebastian Krah
cb254e7fcd mgr/dashboard: Add table of contents
Adds a table of contents to the HACKING.rst to make the navigation easier

Signed-off-by: Sebastian Krah <skrah@suse.com>
2019-01-07 11:11:50 +01:00
Yan, Zheng
b593e5a881 tools/cephfs: make 'cephfs-data-scan scan_links' update snaptable
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2019-01-07 16:50:04 +08:00
Yan, Zheng
01089652d3 tools/cephfs: make 'cephfs-data-scan scan_links' update inotable
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2019-01-07 16:49:31 +08:00
Kefu Chai
fa24a0312f
Merge pull request #25646 from tone-zhang/nvme-hang
bluestore/NVMEDevice.cc: fix NVMEManager thread hang

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
2019-01-07 16:00:11 +08:00