Commit Graph

96162 Commits

Author SHA1 Message Date
Yuri Weinstein
afb47c6264 qa/tests: reduced frequency for luminous and mimic runs
added all suites for nauitlus

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2019-03-20 13:26:58 -07:00
Ilya Dryomov
532bb2004b Merge PR #27042 into master
* refs/pull/27042/head:
	qa: add krbd_discard_granularity.t test
	qa: update and rename krbd_discard_1b.t

Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-03-19 15:32:00 +01:00
Kefu Chai
c7247eb30a
Merge pull request #27004 from tchaikov/wip-crimson-osdmap
crimson/osd: crimson/osd: do not load fullmap.0

Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-03-19 20:07:27 +08:00
Nathan Cutler
03c6e135c2
Merge pull request #26973 from smithfarm/wip-nautilus-backports
script: enable nautilus in backport scripts

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-03-19 12:16:24 +01:00
Ilya Dryomov
a337cc58cd qa: add krbd_discard_granularity.t test
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-03-19 11:49:19 +01:00
Sage Weil
2203c4d07a Merge PR #27019 into master
* refs/pull/27019/head:
	doc/releases/nautilus: add reference to msgr2 config update section
	doc/cephfs/nfs: update ceph.conf example
	doc/releases/nautilus: final upgrade note updates

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-19 05:38:11 -05:00
Sebastian Wagner
fc974ad979
Merge pull request #26772 from sebastian-philipp/orchestrator-rm-stateful-rule
mgr/orchestrator: Remove `(add|test|remove)_stateful_service_rule`

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
2019-03-19 10:10:52 +01:00
Sage Weil
665e60edee Merge tag 'v14.2.0'
v14.2.0
2019-03-19 03:08:21 -05:00
Kefu Chai
01abe61539
Merge pull request #26977 from p-na/wip-pna-fix-tox-env-vars
mgr/dashboard: Fix env vars of `run-tox.sh`

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-19 11:16:18 +08:00
Matt Benjamin
affb7d396f
Merge pull request #26095 from bbc/s3secretcache
rgw: Added caching for S3 credentials retrieved from keystone
2019-03-18 17:35:04 -04:00
Casey Bodley
cab4169677
Merge pull request #26564 from theanalyst/wip-reshard-lc-fixes
rgw: LC: handle resharded buckets

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-03-18 15:13:06 -04:00
Casey Bodley
bd71147dd2
Merge pull request #27001 from linuxbox2/wip-rgw-delimchar
rgw: fix signed char truncation in delimiter check

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-03-18 15:04:37 -04:00
Ilya Dryomov
481b6c2146 qa: update and rename krbd_discard_1b.t
Passing 1 for alloc_size is no longer allowed.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-03-18 19:17:44 +01:00
Sage Weil
b298aa972d Merge remote-tracking branch 'gh/nautilus' 2019-03-18 12:10:50 -05:00
Kefu Chai
1033746e42
Merge pull request #26457 from mogeb/osd-stop-steady-clock
osd: use steady clock in prepare_to_stop()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-19 00:00:37 +08:00
Patrick Nawracay
5dee0b6a87 mgr/dashboard: Fix env vars of run-tox.sh
Fixes: http://tracker.ceph.com/issues/38798

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2019-03-18 15:19:11 +01:00
Jenkins Build Slave User
3a54b2b6d1 14.2.0 2019-03-18 10:08:29 +00:00
Sage Weil
dac96a4c0e doc/releases/nautilus: add reference to msgr2 config update section
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-18 03:14:24 -05:00
Sage Weil
08e2b6ada2 doc/cephfs/nfs: update ceph.conf example
and reference 'ceph config generate-minimal-conf'

Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-17 23:16:49 -05:00
Sage Weil
cbcad6325c Merge PR #26956 into nautilus
* refs/pull/26956/head:
	doc/releases/nautilus: more detail around ceph-volume step

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2019-03-17 23:09:34 -05:00
Brad Hubbard
9c024bafa3
Merge pull request #27013 from badone/wip-nautilus-CA-change
qa/ceph-ansible: Move to Nautilus

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2019-03-18 07:07:46 +10:00
Kefu Chai
6f1fd44bbc
Merge pull request #27011 from liewegas/wip-redirect-mimic
qa/suites/upgrade/mimic-x/parallel: enable all classes

Reviewed-by: Myoungwon Oh <omwmw@sk.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-18 01:22:44 +08:00
Kefu Chai
6401e0f35b
Merge pull request #27018 from liewegas/wip-38294
qa/suites/upgrade/luminous-x: disable c-o-t import/export tests between versions

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-18 01:22:01 +08:00
Sage Weil
2dc0993b47 Merge PR #26960 into nautilus
* refs/pull/26960/head:
	ceph_release: nautilus is will be 'stable' for v14.2.0

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2019-03-17 08:32:11 -05:00
Sage Weil
8aa07a764c Merge PR #27017 into master
* refs/pull/27017/head:
	osd: transpose two wait lists in comment

Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-17 08:19:54 -05:00
Sage Weil
c529925e2f doc/releases/nautilus: final upgrade note updates
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-17 05:29:27 -05:00
Sage Weil
b71a766d19 qa/suitse/upgrade/luminous-x/stress-split-erasure-code: disable c-o-t tests
The stress-split thrasher already had this off, but the ec variant did
not.  We don't support ceph-objectstore-tool exports/imports between major
versions.

Fixes: http://tracker.ceph.com/issues/38294
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-17 04:59:36 -05:00
Kefu Chai
253b8734c1 osd: transpose two wait lists in comment
see PrimaryLogPG::do_request(), we check for

1. is_peered(), then
2. flushes_in_progress, then
3. is_active()
4. scrubber.is_chunky_scrub_active() && write_blocked_by_scrub(head) in
   PrimaryLogPG::do_op() which is called by PrimaryLogPG::do_request().

while in PrimaryLogPG::on_change()

we requeue the waiting request in the reversed order,

1. requeue_ops(waiting_for_peered);
2. requeue_ops(waiting_for_flush);
3. requeue_ops(waiting_for_active);

so the comment is not in sync with the code. in this change,
"waiting_for_active" and "waiting_for_flush" are transposed in the
comment explaining blocked request wait lists.

also, sync the pre-conditions of "waiting_for_peered" and
"waiting_for_flush" with "PrimaryLogPG::do_request()"

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-17 16:36:47 +08:00
Sage Weil
04dad6beaf Merge PR #26822 into master
* refs/pull/26822/head:
	osd/PG: adjust pg history on fabricated merge target if necessary

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-03-16 17:15:33 -05:00
Sage Weil
c2e1ddfe5e ceph_test_rados_api_tier_cxx: remove mimic checks
These checks don't work when the cluster is newer than mimic.

Instead, let's just try not to run this test on a pre-mimic cluster.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-16 17:12:01 -05:00
Sage Weil
5d1f6044d9 Merge PR #27002 into nautilus
* refs/pull/27002/head:
	mgr/telemetry: check for errors when sending report

Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-16 15:47:29 -05:00
Sage Weil
bfd0581c5f qa/suites/upgrade/mimic-x/parallel: enable all classes
This fixes the redirect tiering tests, which need the 'cas' class.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-16 15:27:29 -05:00
Sage Weil
eb29743a95 ceph_test_rados_api_tier_cxx: remove luminous check
It was a flawed check, since it would fail for anything newer than
luminous.  And in any case, we don't need it anymore.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-16 15:21:37 -05:00
Sage Weil
896b7f3ea9 Merge PR #27000 into nautilus
* refs/pull/27000/head:
	osd: stringify as int

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-16 13:03:54 -05:00
Xie Xingguo
578d8b82c8
Merge pull request #26975 from xiexingguo/wip-mon-pri-lost
mon/MonMap: always set mon priority; add it to dump

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-16 19:49:37 +08:00
Xie Xingguo
8c8c8f84e8
Merge pull request #26903 from xiexingguo/wip-ds-auth
mgr/DaemonServer: handle caps more carefully

Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-16 19:48:11 +08:00
Kefu Chai
c74afcd9d2 crimson/osd: do not load fullmap.0
fullmap.0 is an empty map, it used when we try to rebase inc_map.1.

Signed-off-by: chunmei Liu <chunmei.liu@intel.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-16 15:30:36 +08:00
Kefu Chai
cf5d5e62f9 crimson/osd: reuse load_map() in store_maps()
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-16 15:30:27 +08:00
Kefu Chai
88c1eec429 crimson/osd: add OSD::load_map()
so we can reuse it when we need to load an non-cached osdmap.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-16 15:30:16 +08:00
Kefu Chai
7f62b656f3 crimson/osd: use boost::make_counting_iterator()
no need to repeat the type of the iterator.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-16 15:29:24 +08:00
Kefu Chai
2cbc45d68d crimson/osd: advance thru maps sequentially
we should not do this in parallel.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-16 15:29:08 +08:00
Dan Mick
de71f38a2c mgr/telemetry: check for errors when sending report
There was no error checking, and the server has been failing for
some time, but no one noticed.  Oops.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2019-03-15 20:08:03 -07:00
Brad Hubbard
db046d007c qa/ceph-ansible: Move to Nautilus
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2019-03-16 12:40:04 +10:00
Matt Benjamin
9d7a2873fe rgw: fix signed char truncation in delimiter check
Fixes: https://tracker.ceph.com/issues/24821

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2019-03-15 18:34:28 -04:00
Sage Weil
60066661da Merge PR #26563 into nautilus
* refs/pull/26563/head:
	doc/ceph-volume/lvm/batch: fix typos

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-15 16:49:02 -05:00
Sage Weil
106de8caf4 Merge PR #26994 into nautilus
* refs/pull/26994/head:
	doc: add scrub link for nautilus release notes

Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-15 16:48:27 -05:00
Sage Weil
9df050f5d6 Merge PR #26822 into nautilus
* refs/pull/26822/head:
	osd/PG: adjust pg history on fabricated merge target if necessary

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-03-15 16:45:53 -05:00
Sage Weil
8daf2885bb Merge PR #26986 into nautilus
* refs/pull/26986/head:
	mgr: Make 3rd parameter optional in ceph_get_module_option

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-15 16:43:33 -05:00
Sage Weil
8dbbb3a673 Merge PR #26949 into nautilus
* refs/pull/26949/head:
	mgr/dashboard: add test_module_selftest to API tests

Reviewed-by: Volker Theile <vtheile@suse.com>
2019-03-15 16:43:17 -05:00
Sage Weil
510e881b18 osd: stringify as int
Otherwise we get

$ hexdump -C require_osd_release
00000000  0e 0a                                             |..|
00000002

Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-15 16:41:53 -05:00