Commit Graph

110105 Commits

Author SHA1 Message Date
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
Kefu Chai
ce84ee7856
Merge pull request #34369 from smithfarm/wip-43895
cmake: really stop at top of source code tree

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-08 09:57:04 +08:00
Kefu Chai
65823a9e23
Merge pull request #34383 from matthewoliver/older-tox
tox: Fix the tox.ini's to support older versions of tox

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-08 09:56:24 +08:00
Kefu Chai
b28a1dacc0
Merge pull request #34427 from smithfarm/wip-44964
spec: address some warnings raised by RPM 4.15.1

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-08 09:54:33 +08:00
Kefu Chai
f1375de3eb
Merge pull request #33945 from rishabh-d-dave/fs-qa-vstart_runner.LocalRemote.sh
qa/vstart_runner: update vstart_runner.LocalRemote.sh

Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
2020-04-08 09:53:32 +08:00
Yuri Weinstein
7c2a0a455e
Merge pull request #34456 from ceph/wip-crontab-master
qa/tests: removed ceph-deploy from master and octopus (ceph-deploy is…
2020-04-07 17:29:05 -07:00
yuriw
2dc7af0f0f qa/tests: removed ceph-deploy from master and octopus (ceph-deploy isn't written to run on el8)
Signed-off-by: yuriw <yuri.weinstein@gmail.com>
2020-04-07 16:47:56 -07:00
Sebastian Wagner
6745b0ddcd
Merge pull request #34439 from jschmid1/osdspec_encrypted_docs
docs/cephadm: <encrypted> is a global flag

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-08 00:01:59 +02:00
Sebastian Wagner
aeb601bd37
Merge pull request #34053 from matthewoliver/iscsi-cephadm
cephadm: Add ceph-iscsi

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-07 23:49:06 +02:00
Sebastian Wagner
b1d5172c0d
Merge pull request #34357 from mgfritch/mgr-orch-test-warn
mgr/orch: fix python3 DeprecationWarning

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-07 23:48:32 +02:00
Kefu Chai
b1738cd1ef qa/standalone/scrub: s/$(pgid)/${pgid}/
to address the test failures like
```
2020-04-07T15:44:58.693 INFO:tasks.workunit.client.0.smithi049.stderr:/home/ubuntu/cephtest/clone.client.0/qa/standalone/scrub/osd-scrub-repair.sh:498: TEST_auto_repair_bluestore_failed:  ceph pg dump
pgs
2020-04-07T15:44:58.694 INFO:tasks.workunit.client.0.smithi049.stderr://home/ubuntu/cephtest/clone.client.0/qa/standalone/scrub/osd-scrub-repair.sh:498: TEST_auto_repair_bluestore_failed:  pgid
2020-04-07T15:44:58.694 INFO:tasks.workunit.client.0.smithi049.stderr:/home/ubuntu/cephtest/clone.client.0/qa/standalone/scrub/osd-scrub-repair.sh: line 498: pgid: command not found
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-08 00:54:46 +08:00
Alfonso Martínez
81d1e80d25 mgr/dashboard: fix errors related to frontend service subscriptions.
- Created TimerService: for getting a scheduled observable that checks if there are any observers subscribed before sending a request.
Now FeatureTogglesService uses it internally (solving a hidden bug in it).
- SummaryService & RbdMirroringService: instead of having window.setInterval/setTimeout tasks launched in constructor, now they have a method for polling (and subscribing to it). These methods are called in the appropriate component so we unsubscribe properly.
- Fixed: some subscriptions were not being unsubscribed properly.
- RbdFormComponent: little refactoring and fixed (also improved) unit tests.

Fixes: https://tracker.ceph.com/issues/44228
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2020-04-07 18:07:54 +02:00
Ernesto Puerta
d8d3b33633
rpm: add python3-saml as install dependency
`python.*-saml` is required for Ceph-Dashboard SSO support (optional
feature).

Fixes: https://tracker.ceph.com/issues/44721
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-04-07 18:06:26 +02:00
Lenz Grimmer
da52df8a8d
Merge pull request #34396 from tspmelo/wip-npm-hacking
mgr/dashboard: Update HACKING.rst

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-04-07 15:54:39 +02:00
Jan Fajerski
2822c53ef6
Merge pull request #34412 from jan--f/c-v-fix-simple-scan-log-string
devices/simple/scan: Fix string in log statement
2020-04-07 15:37:09 +02:00
Jason Dillaman
366ecdb26d rbd: ignore tx-only mirror peers when adding new peers
There is a restriction for supporting only a single RX peer but
we should support multiple TX-only peers.

Fixes: https://tracker.ceph.com/issues/44938
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-04-07 07:54:53 -04:00
Joshua Schmid
d524ad7230 doc/cephadm: <encrypted> is a global flag
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-04-07 13:40:21 +02:00
Sebastian Wagner
58cc88dd14
Merge pull request #34406 from liewegas/fix-cephadm-upgrade-start
qa/suites/rados/cephadm/upgrade: start from v15.2.0

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-07 11:59:00 +02:00
Brad Hubbard
9c9be1b695
Merge pull request #34310 from badone/wip-restful-api-dont-pass-empty-dict-to-get
qa/suites/rados/rest: don't pass empty dict as data arg

Reviewed-by: Sage Weil <sage@redhat.com>
2020-04-07 08:14:03 +10:00
Brad Hubbard
ab569c3818
Merge pull request #34302 from badone/wip-specify-rule-for-pool-creation
Wip specify rule for pool creation

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2020-04-07 07:44:30 +10:00
Nathan Cutler
853ff61805 ceph.spec.in: remove extra tokens at end of %endif directive
RPM 4.15.1 warns: extra tokens at the end of %endif directive

Heed the warning.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-04-06 23:00:43 +02:00
Nathan Cutler
48c79c1102 ceph.spec.in: version an Obsoletes
RPM 4.15.1 warns: It's not recommended to have unversioned Obsoletes.

Heed the warning.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-04-06 23:00:23 +02:00
Adam C. Emerson
8777980283 osd: Build ceph-osd without using namespace declarations in headers
This is part of a series of commits to clean up using namespace at top
level in headers.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2020-04-06 11:15:06 -04:00
Adam C. Emerson
dc6528b3c2 {common, rgw}: Build ceph-osd without namespace pollution in headers
This is part of a series of commits to clean up using namespace at top
level in headers.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2020-04-06 11:15:06 -04:00
Adam C. Emerson
83ee7598c6 include/ceph_assert: qualify __assert_warn call in assert_warn macro
A macro never knows where it will be expanded.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2020-04-06 11:15:06 -04:00
Adam C. Emerson
297223e22f perfglue: Build ceph-osd without using namespace declarations in headers
This is part of a series of commits to clean up using namespace at top
level in headers.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2020-04-06 11:15:06 -04:00