Commit Graph

93908 Commits

Author SHA1 Message Date
Sage Weil
4f48314a7a Merge PR #25937 into master
* refs/pull/25937/head:
	qa: specify filestore for misc tests
	osd/objectstore: change osd_objectstore default to bluestore

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-01-17 18:51:16 -06:00
Xie Xingguo
00b7ac8670
Merge pull request #25693 from shun-s/silence-mon-load-metadata
MDSMonitor: silence unable to load metadata

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2019-01-18 08:49:23 +08:00
Sage Weil
b5e5ee6f40 Merge PR #25849 into master
* refs/pull/25849/head:
	qa/suites/rados/upgrade: one mon per node, and enable-msgr2 at end
	qa/rados/thrash-old-clients: avoid msgr2
	mon: make bootstrap rank check more robust
	mon: clean up probe debug output a bit
	msg/async: use v1 for v1 <-> [v2,v1] peers
	msg/async/AsyncMessenger: drop single-use _send_to
	mon/HealthMonitor: raise MON_MSGR2_NOT_ENABLED if mons not bound to msgr2
	doc/rados/operations/health-checks: document MON_* health warnings
	mon/MonMapMonitor: add 'mon enable-msgr2' command
	mon: respawn if rank addr changes
	mon/MonMap: calc_addr_mons() after setting rank addrvec

Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-01-17 11:04:30 -06:00
Sage Weil
7a89787cde qa/suites/rados/upgrade: one mon per node, and enable-msgr2 at end
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-17 10:03:14 -06:00
Sage Weil
f7b6a4b440 qa/rados/thrash-old-clients: avoid msgr2
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-17 10:03:14 -06:00
Lenz Grimmer
a1d6f9c72d
Merge pull request #25654 from tspmelo/wip-missing-i18n
mgr/dashboard: Add missing frontend I18N

Reviewed-by: Sebastian Krah <skrah@suse.com>
2019-01-17 16:33:43 +01:00
Lenz Grimmer
1efa21c41d
Merge pull request #25997 from zmc/wip-db-graf-validate
mgr/dashboard: Fix /api/grafana/validation

Reviewed-by: Volker Theile <vtheile@suse.com>
2019-01-17 16:25:56 +01:00
Lenz Grimmer
bb4e49bacd
Merge pull request #25870 from votdev/validate_ip_addr
mgr/dashboard: Improve RGW address parser

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
2019-01-17 13:08:48 +01:00
Xie Xingguo
66712c360c
Merge pull request #25959 from xiexingguo/wip-memory-leak
crush: fix memory leak

Reviewed-by: Sage Weil <sage@redhat.com>
2019-01-17 18:23:23 +08:00
Xie Xingguo
18b3f73ecb
Merge pull request #25941 from xiexingguo/wip-warn-enable-upmap
mgr/balancer: blame if upmap won't actually work

Reviewed-by: Sage Weil <sage@redhat.com>
2019-01-17 18:22:28 +08:00
Lenz Grimmer
d6826b892e
Merge pull request #25836 from votdev/improve_rgw_status_endpoint
mgr/dashboard: Improve exception handling in /api/rgw/status

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-01-17 09:05:34 +01:00
Gregory Farnum
619304ba83
Merge pull request #25950 from gregsfortytwo/wip-githubmap
Wip githubmap
2019-01-16 21:09:29 -08:00
Kefu Chai
035e9f534a
Merge pull request #25751 from batrick/stackstringstream-reset
common: reinit StackStringStream on clear

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-01-17 10:43:35 +08:00
Song Shun
c4c73e686c MDSMon: silence unable to load metadata
silence unable to load metadata

Signed-off-by: Song Shun <song.shun3@zte.com.cn>
2019-01-17 09:02:00 +08:00
Patrick Donnelly
b57f896ed5
Merge PR #25994 into master
* refs/pull/25994/head:
	qa: silence read-only WRN for damage testing

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-01-16 12:43:35 -08:00
Zack Cerza
132eb8b798 mgr/dashboard: Fix /api/grafana/validation
If the Grafana URL contains a trailing slash, this endpoint ends up
returning a 404, disabling the integration entirely. Fix that.

Signed-off-by: Zack Cerza <zack@redhat.com>
2019-01-16 13:36:23 -07:00
Patrick Donnelly
ac302de7b7
qa: silence read-only WRN for damage testing
Fixes: http://tracker.ceph.com/issues/37944

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-16 11:55:54 -08:00
Sage Weil
63ba6d249a Merge PR #25934 into master
* refs/pull/25934/head:
	msg/msg_type: entity_addr_t: fix legacy decode
	msg/msg_types: make set_sockaddr() work with AF_UNSPEC (i.e., zeroed)
	msg/msg_types: make set_sockaddr() a bit more robust
	msg/async: fix IP inference

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-01-16 13:12:35 -06:00
Vikhyat Umrao
8a694fc2f9 qa: specify filestore for misc tests
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-16 13:09:19 -06:00
Vikhyat Umrao
200a8f261a osd/objectstore: change osd_objectstore default to bluestore
Fixes: http://tracker.ceph.com/issues/36494

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2019-01-16 13:08:04 -06:00
Patrick Donnelly
f8da35cc5b
Merge PR #25975 into master
* refs/pull/25975/head:
	doc: complete documentation for ceph fs administration commands

Reviewed-by: Sage Weil <sage@redhat.com>
2019-01-16 10:17:50 -08:00
Sebastian Wagner
9e3d90b17e
Merge pull request #25964 from jmolmo/get_config_replaced
mgr/ansible: Replace deprecated <get_config> calls

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-01-16 16:50:06 +01:00
Sage Weil
559afb80f8 Merge PR #25966 into master
* refs/pull/25966/head:
	doc: add mimic 13.2.3 and 13.2.4 to releases chart

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-01-16 08:44:34 -06:00
Patrick Donnelly
5be993d36c
doc: complete documentation for ceph fs administration commands
Fixes: http://tracker.ceph.com/issues/24580

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-16 06:42:08 -08:00
Sage Weil
88824a9750 msg/msg_type: entity_addr_t: fix legacy decode
If we decode a zeroed sockaddr, we should end up with a TYPE_NONE
entity_addr_t, not v1::/0.

This was obscured by unit test TestAddrvecEncodeAddrDecode3, which
took an addrvec with all v2 addrs, decoded to an addr variable that
previously had v1:1.2.3.4:/0, and asserted the result was not v1::/0.
The test passed before because the set_sockaddr() failed on AF_UNSPEC
and the addr kept v1:1.2.3.4, but with the previous commit it failed
because it equaled v1::/0.  In reality, addr should get - (addr TYPE_NONE).

The TestEmptyAddrvecEncodeAddrDecode test case is similarly adjusted.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-16 08:30:44 -06:00
Sebastian Wagner
6b170687d1
Merge pull request #25970 from jtlayton/wip-rook
Fix rook spec and have service_describe provide rados_config_location field for nfs services

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-01-16 14:49:03 +01:00
Tiago Melo
7fe6c8be10 mgr/dashboard: Add missing frontend I18N
Fixes: http://tracker.ceph.com/issues/36719
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-01-16 12:03:05 +00:00
Lenz Grimmer
6b1970933b
Merge pull request #25376 from rhcs-dashboard/about-modal
mgr/dashboard: About modal proposed changes

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-01-16 12:20:16 +01:00
Kefu Chai
7b111bd524
Merge pull request #25978 from falcon78921/wip-submitting-patches-doc
SubmittingPatches: added inline markup to important references

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-01-16 18:42:02 +08:00
Lenz Grimmer
d4a16f4de6
Merge pull request #25865 from Devp00l/wip-issue-37841
mgr/dashboard: RbdMirroringService test suite fails in dev mode

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-01-16 11:38:45 +01:00
Volker Theile
a0e05fd7d8 mgr/dashboard: Improve exception handling in /api/rgw/status
In some cases the exception message was not forwarded to the caller.

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-01-16 10:55:35 +01:00
Kanika Murarka
175b83c56e mgr/dashboard: About modal proposed changes
Fixes: http://tracker.ceph.com/issues/35693
Signed-off-by: Kanika Murarka <kmurarka@redhat.com>
2019-01-16 12:55:09 +05:30
Kefu Chai
5a2849f26c
Merge pull request #25939 from cyx1231st/wip-crimson-msgr-fix-segfault
crimson/net: fix misc issues for segment-fault and test-failures

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-01-16 15:15:14 +08:00
James McClune
d78863e049 SubmittingPatches: added inline markup to important references
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-01-15 22:42:05 -05:00
xie xingguo
c7356c66b0 mgr/balancer: blame if upmap won't actually work
With automatic balancing on, and if mode is set to upmap,
balancer will fail silently if min_compat_client is lower than
luminous.
You can't figure out that unless you take a closer look at the
mgr log, which is super annoying..

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-01-16 09:19:54 +08:00
Xie Xingguo
51ea3b2538
Merge pull request #25940 from xiexingguo/wip-balancer-pools-support
mgr/balancer: auto balance a list of pools

Reviewed-by: Sage Weil <sage@redhat.com>
2019-01-16 08:52:29 +08:00
Jeff Layton
90b4c5157f mgr/rook: populate rados_config_location field
The dashboard ganesha management code requires the rados:// config
URL for the nfs-ganesha daemons. Ensure that we populate that.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-01-15 14:14:35 -05:00
Jeff Layton
5df34eeb11 mgr/rook: lowercase the "RADOS" dict label
rook is lowercasing this tag in the CRD in response to review comments.
Change the orchestrator accordingly.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-01-15 12:41:19 -05:00
Nathan Cutler
0a46fb0f45 doc: add mimic 13.2.3 and 13.2.4 to releases chart
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-01-15 18:40:16 +01:00
Juan Miguel Olmo Martínez
77f20e725c
mgr/ansible: Replace deprecated <get_config> calls
Changes needed to replace the obsolete get_config by the new get_module_option manager module method

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2019-01-15 18:04:06 +01:00
Sage Weil
b7273450df mon: make bootstrap rank check more robust
If we search for myaddrs, then we will detect our rank properly if we were
[a,b] and the a addr got removed.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-15 10:54:56 -06:00
Sage Weil
0c2f792aa7 mon: clean up probe debug output a bit
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-15 10:42:29 -06:00
Sage Weil
cb5ada1970 msg/async: use v1 for v1 <-> [v2,v1] peers
If *peers* are communicating, i.e. there may be bidirectional connection
attempts, we must use the same protocol version from both ends or else
we will get very confused.

Fix this by forcing the use of v1 when we

- are bound to a v1 endpoint only (people can't connect to us via v2)
- we are connecting to a *peer*

If it is a non-peer, then connections are uni-directional.  If we both
have v2, we will both use v2.

If we ever switch to [v2,v1], it will be as part of a restart.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-15 10:42:29 -06:00
Sage Weil
9459c6118a msg/async/AsyncMessenger: drop single-use _send_to
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-15 10:42:29 -06:00
Sage Weil
6ba8db68cd mon/HealthMonitor: raise MON_MSGR2_NOT_ENABLED if mons not bound to msgr2
If the ms_bind_msgr2 option is enabled, and all mons are nautilus,
raise a health alert if any mons aren't bound to msgr2 addresses.

Whitelist tests that mon_bind_addrvec=false or mon_bind_msgr2=false.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-15 10:42:29 -06:00
Sage Weil
57c4795c00 doc/rados/operations/health-checks: document MON_* health warnings
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-15 10:42:29 -06:00
Sage Weil
10a4a7fbda mon/MonMapMonitor: add 'mon enable-msgr2' command
This switches any monitor listening on v1:...:6789 only to v2 (on
3300) + v1 (on 6789).  It should be run after upgrading all monitors
to nautilus.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-15 10:42:29 -06:00
Sage Weil
2986a1b70e mon: respawn if rank addr changes
If the address for our rank change, then respawn!

Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-15 10:42:29 -06:00
Sage Weil
38a99f04f4 Merge PR #25947 into master
* refs/pull/25947/head:
	msg/Messenger: remove get_connection() and send_message()
	ceph_test_msgr: remove final get_connection() user

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-01-15 09:42:40 -06:00
Patrick Donnelly
d0355acb36
common: restore constructor fmtflags on clear
This is to prevent fmtflags changes from a previous use (e.g. debug message)
leaking into the the next (i.e. the next debug message).

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-15 06:41:39 -08:00