Commit Graph

110130 Commits

Author SHA1 Message Date
Sage Weil
be5f525df0 qa/suites/upgrade: whitelist when orchestrator_cli can't be loaded
This happens because mgrs may start before mons, or before mons have
published a new mgrmap that disables orchestrator_cli.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:10:32 -05:00
Sage Weil
731e508bbe qa/standalone/mon/msgr-v2-transition: remove test
v2 was introduced in nautilus, and we don't support mimic -> pacific
upgrades (only mimic -> octopus).  This test can be removed!

Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:10:32 -05:00
Sage Weil
e9ca9af975 mon/MgrMonitor: disable orchestrator_cli if >= octopus
Fixes: https://tracker.ceph.com/issues/44883
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:10:32 -05:00
Sage Weil
3c7d5291de qa/suites/ugprade: remove mimic -> pacific upgrade tests
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:10:32 -05:00
Sage Weil
279c437994 qa/standalone/mon/misc: update TEST_mon_features
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:10:32 -05:00
Sage Weil
dc9a286524 mon/MgrMap: use always_on_modules from most recent release
If our release isn't in the always_on_map, say because you just upgraded,
then start with the modules from the last/most recent release.  This
should be sufficient to allow an upgrade when the mon is still the old
release and the mgrmap doesn't tell us what modules we should be enabling.

(Arguably, the always_on_modules should be enshrined in the MgrMap itself
and not in the mon?)

Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:10:32 -05:00
Sage Weil
cc99c3bc24 mon/MonCommands: require-osd-release pacific
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
858b3a9c55 qa/suites/rados/thrash-old-clients: adjust octopus package list for el7
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
3d8d2e0768 doc/dev/release-kickoff-checklist: include ceph-build change
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
6833f89990 qa/workunits/cephtool/test.sh: fix require-osd-release test
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
480370827d mon/MgrMonitor: define mgr modules for pacific
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
92fa0a6ed2 doc/dev/release-checklists: generalize
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
9322bae3a6 doc/dev/release-kickoff-checklist: quotes
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
80fb39e469 qa/suites/rados/thrash-old-clients/1-install/octopus
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
ac34cedd13 qa/releases/pacific.yaml
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
6e7138d194 mds/cephfs_features: CEPHFS_CURRENT_RELEASE
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
c190df18b7 doc/dev/release-kickoff-checklist: a few other items
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
2c3989c0de osd: remove redundant check
This is already covered by the ceph_osd.cc can_upgrade_from() check.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
5b3c21b6f6 mon/OSDMonitor: make pacific changes
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
cab7e8a392 mon/mon_types: add mon pacific feature
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
fe25c861c8 include/ceph_features: define SERVER_PACIFIC
Reuse bit 20, which is available.

Declare it as gen 3 so that we | in SERVER_MIMIC (bits 57+28).

Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
16c46c5163 include/ceph_features: fix whitespace
Goofed this up in 47049407ad.  We only
want spaces if the same RETIRED bit isn't reused yet.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
df82ac1d0d mon: persistent INCOMPAT_PACIFIC item
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
774560c61f ceph-volume: __release__ == pacific
We didn't do this for octopus...  :/

Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
740051f349 script: update backport scripts for now-released octopus
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
babc0c1d69 common: pacific release constants
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
c3431bee2c doc/dev/release-kickoff-checklist
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
03e3703a7d src/ceph_release: pacific, 16, dev
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Sage Weil
6d09963ec5 CMakeLists: 16.0.0
Signed-off-by: Sage Weil <sage@redhat.com>
2020-04-08 08:09:41 -05:00
Kefu Chai
8e093e5328
Merge pull request #34398 from rzarzynski/wip-crimson-outdata-to-pglog
crimson/osd: record op's outdata and rval in pg log

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-08 21:03:31 +08:00
Kefu Chai
02497d9cc4
Merge pull request #34466 from tchaikov/wip-cmake-get-git-version
cmake: check $top_srcdir/.git directly

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-04-08 20:29:08 +08:00
Sebastian Wagner
333439f2b2
Merge pull request #34220 from mgfritch/cephadm-nfs-container-image
mgr/cephadm: allow config for an nfs `container_image`

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-08 13:46:00 +02:00
Mykola Golub
dbb8495662
Merge pull request #34422 from dillaman/wip-44938
rbd: ignore tx-only mirror peers when adding new peers

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-04-08 14:23:51 +03:00
Lenz Grimmer
887d5bb044
Merge pull request #34058 from rhcs-dashboard/44228-fix-frontend-services-subscription-errors
mgr/dashboard: fix errors related to frontend service subscriptions.

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-04-08 13:17:10 +02:00
Radoslaw Zarzynski
7dc579c5e4 crimson/osd: record op's outdata and rval in pg log.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-04-08 12:22:30 +02:00
Radoslaw Zarzynski
aae6e4c67f osd: pg_log_entry_t::set_op_returns() takes const reference now.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-04-08 12:22:30 +02:00
Kefu Chai
a05d7179e2 cmake: check $top_srcdir/.git directly
in 0437adc33a, we stop right before
reaching $top_srcdir, but we should stop at its parent directory.

in this change, instead of trying to be smart and to walk all the way
up to the root directory or $top_srcdir, we just check $top_srcdir/.git
directly, as we just know it's there or it does not exist at all.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-08 18:03:37 +08:00
Kefu Chai
e9f9e74f93
Merge pull request #34229 from Yan-waller/wip-walle-fixsparsereadlength
osd/PrimaryLogPG: fix SPARSE_READ stat

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-04-08 15:42:26 +08:00
Kefu Chai
ae9247b7a0
Merge pull request #34342 from ideepika/fixes-44862
mon: calculate min_size on osd pool set size

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-04-08 15:39:48 +08:00
Kefu Chai
c07e915dac
Merge pull request #34219 from yanghonggang/bluefs-tool
os/bluestore: Don't pollute old journal when add new device

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-04-08 15:34:16 +08:00
Kefu Chai
e9796c4409
Merge pull request #34143 from tchaikov/wip-mgr-disable-dne-module
mon/MgrMonitor: show different error message when disabling a dne module

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-04-08 15:32:49 +08:00
Kefu Chai
b8cac4f109
Merge pull request #34366 from SUSE/wip-mgr-fix-python-traceback
mgr/PyModule: fix missing tracebacks in handle_pyerror()

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-08 15:29:34 +08:00
Kefu Chai
3311063916
Merge pull request #34337 from majianpeng/throttle-remove-lock
common/Throttle: Don't lock for atomic type update.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-08 15:28:04 +08:00
Kefu Chai
9748350a79
Merge pull request #34381 from rhcs-dashboard/fix-44721-master
rpm: add python3-saml as install dependency

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-08 15:25:22 +08:00
Kefu Chai
6734a8c589
Merge pull request #34409 from adamemerson/wip-namespace-osd
osd: build without `using namespace` declarations in headers

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-08 15:20:22 +08:00
Kefu Chai
293c8b39c5
Merge pull request #34460 from majianpeng/cmakefile-fix
cmake: remove duplicated code.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-08 15:07:00 +08:00
Kefu Chai
e4cad106cd
Merge pull request #34451 from tchaikov/wip-standalone-pgid
qa/standalone/scrub: s/$(pgid)/${pgid}/

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-04-08 12:50:47 +08:00
Kefu Chai
a7602a8449
Merge pull request #34245 from rzarzynski/wip-bug-24995
mgr: synchronize ClusterState's health and mon_status.

Reviewed-by: Tim Serong <tserong@suse.com>
2020-04-08 11:55:59 +08:00
Jianpeng Ma
9d76123fdf cmake: remove duplicated code.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2020-04-08 11:08:02 +08:00
Kefu Chai
e4690c6a66
Merge pull request #34368 from majianpeng/msg-remove-unsued-code
msg, common/Throttle: remove unsued code.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-08 09:59:51 +08:00