]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agomgr/dashboard: Add support for blinking enclosure LEDs 31851/head
Volker Theile [Mon, 11 Nov 2019 15:30:50 +0000 (16:30 +0100)]
mgr/dashboard: Add support for blinking enclosure LEDs

Fixes: https://tracker.ceph.com/issues/42609
Signed-off-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #32172 from wjwithagen/wjw-fix-test_cls_rbd-compat
Mykola Golub [Thu, 12 Dec 2019 12:00:43 +0000 (14:00 +0200)]
Merge pull request #32172 from wjwithagen/wjw-fix-test_cls_rbd-compat

test/cls_rbd: include compat.h for ERESTART

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #32182 from sebastian-philipp/upstream-pull-31757
Sebastian Wagner [Thu, 12 Dec 2019 11:27:46 +0000 (12:27 +0100)]
Merge pull request #32182 from sebastian-philipp/upstream-pull-31757

mgr/test_orchestrator: Add dummy data

Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #31920 from ricardoasmarques/fix-sso-certs
Lenz Grimmer [Thu, 12 Dec 2019 09:47:12 +0000 (09:47 +0000)]
Merge pull request #31920 from ricardoasmarques/fix-sso-certs

mgr/dashboard: Invalid SSO configuration when certificate path does not exist

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
5 years agomgr/dashboard: Use badges for counters in tabs (#31938)
Lenz Grimmer [Thu, 12 Dec 2019 09:44:18 +0000 (09:44 +0000)]
mgr/dashboard: Use badges for counters in tabs (#31938)

mgr/dashboard: Use badges for counters in tabs

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #31787 from shyukri/wip-36728-c_v-util-which-path
Jan Fajerski [Thu, 12 Dec 2019 09:26:39 +0000 (10:26 +0100)]
Merge pull request #31787 from shyukri/wip-36728-c_v-util-which-path

ceph-volume: util: look for executable in $PATH

5 years agoMerge pull request #32080 from smithfarm/wip-43171
Nathan Cutler [Thu, 12 Dec 2019 09:18:13 +0000 (10:18 +0100)]
Merge pull request #32080 from smithfarm/wip-43171

ceph.spec.in: move distro-conditional deps to dedicated section

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge pull request #32175 from rzarzynski/wip-crimson-errorator-do_with-friendship
Kefu Chai [Thu, 12 Dec 2019 09:00:47 +0000 (17:00 +0800)]
Merge pull request #32175 from rzarzynski/wip-crimson-errorator-do_with-friendship

crimson: make seastar::do_with() a friend of errorated futures.

Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32143 from tchaikov/wip-qa-rocksdb-test 31701/head
Kefu Chai [Thu, 12 Dec 2019 05:51:03 +0000 (13:51 +0800)]
Merge pull request #32143 from tchaikov/wip-qa-rocksdb-test

qa/workunits/rados/test_envlibrados_for_rocksdb: accomodate rocksdb c…

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #32099 from hjwsm1989/wip-cancel-invalid-upmap-2
Xie Xingguo [Thu, 12 Dec 2019 03:11:34 +0000 (11:11 +0800)]
Merge pull request #32099 from hjwsm1989/wip-cancel-invalid-upmap-2

crush: remove invalid upmap items

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: David Zafman <dzafman@redhat.com>
5 years agoMerge PR #32193 into master
Sage Weil [Thu, 12 Dec 2019 02:30:53 +0000 (20:30 -0600)]
Merge PR #32193 into master

* refs/pull/32193/head:
qa/tasks/ceph2 -> cephadm
mgr/ssh -> mgr/cephadm
mgr/ssh,cephadm: ceph-daemon -> cephadm
doc/bootstrap: ceph-daemon -> cephadm
ceph-daemon-adoption-corpus -> cephadm-adoption-corpus
qa: rename ceph-daemon tests -> cephadm
qa/tasks: ceph-daemon -> cephadm throughput var names and comments
mgr/ssh,qa/tasks/ceph2: fix mode to be cephadm-package (vs root)
mgr/ssh: rename option ceph_daemon_path -> cephadm_path
files,rpm,deb: rename ceph-daemon -> cephadm

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoqa/tasks/ceph2 -> cephadm 32193/head
Sage Weil [Wed, 11 Dec 2019 21:41:14 +0000 (15:41 -0600)]
qa/tasks/ceph2 -> cephadm

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/ssh -> mgr/cephadm
Sage Weil [Wed, 11 Dec 2019 21:35:02 +0000 (15:35 -0600)]
mgr/ssh -> mgr/cephadm

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/ssh,cephadm: ceph-daemon -> cephadm
Sage Weil [Wed, 11 Dec 2019 21:17:38 +0000 (15:17 -0600)]
mgr/ssh,cephadm: ceph-daemon -> cephadm

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agodoc/bootstrap: ceph-daemon -> cephadm
Sage Weil [Wed, 11 Dec 2019 21:17:28 +0000 (15:17 -0600)]
doc/bootstrap: ceph-daemon -> cephadm

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoceph-daemon-adoption-corpus -> cephadm-adoption-corpus
Sage Weil [Wed, 11 Dec 2019 20:03:40 +0000 (14:03 -0600)]
ceph-daemon-adoption-corpus -> cephadm-adoption-corpus

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa: rename ceph-daemon tests -> cephadm
Sage Weil [Wed, 11 Dec 2019 19:57:45 +0000 (13:57 -0600)]
qa: rename ceph-daemon tests -> cephadm

Also move the workunit to a better location.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/tasks: ceph-daemon -> cephadm throughput var names and comments
Sage Weil [Wed, 11 Dec 2019 19:55:08 +0000 (13:55 -0600)]
qa/tasks: ceph-daemon -> cephadm throughput var names and comments

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/ssh,qa/tasks/ceph2: fix mode to be cephadm-package (vs root)
Sage Weil [Wed, 11 Dec 2019 19:52:25 +0000 (13:52 -0600)]
mgr/ssh,qa/tasks/ceph2: fix mode to be cephadm-package (vs root)

At the same time align the option names with ceph2.py, yay.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/ssh: rename option ceph_daemon_path -> cephadm_path
Sage Weil [Wed, 11 Dec 2019 19:49:21 +0000 (13:49 -0600)]
mgr/ssh: rename option ceph_daemon_path -> cephadm_path

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agofiles,rpm,deb: rename ceph-daemon -> cephadm
Sage Weil [Wed, 11 Dec 2019 19:48:02 +0000 (13:48 -0600)]
files,rpm,deb: rename ceph-daemon -> cephadm

This is just renaming the files and adjusting the packages.  Lots of
cleanup to do still.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32189 into master
Sage Weil [Wed, 11 Dec 2019 21:49:04 +0000 (15:49 -0600)]
Merge PR #32189 into master

* refs/pull/32189/head:
mgr/orchestrator_cli: set type for 'orchestrator' option

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #32157 into master
Sage Weil [Wed, 11 Dec 2019 21:48:47 +0000 (15:48 -0600)]
Merge PR #32157 into master

* refs/pull/32157/head:
ceph-daemon: fix pod stop

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agopython-common: Also test mgr/test_orchestrator/dummy_data.json 32182/head
Sebastian Wagner [Wed, 11 Dec 2019 14:28:35 +0000 (15:28 +0100)]
python-common: Also test mgr/test_orchestrator/dummy_data.json

Make sure, `pybind/mgr/test_orchestrator/dummy_data.json` is not getting out of date.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/orchestrator_cli: set type for 'orchestrator' option 32189/head
Sage Weil [Wed, 11 Dec 2019 18:26:10 +0000 (12:26 -0600)]
mgr/orchestrator_cli: set type for 'orchestrator' option

If we don't specify the type, the mgr_module.py will str() the default
value, turning it into "None", breaking the self-test.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #31729 into master
Patrick Donnelly [Wed, 11 Dec 2019 17:44:27 +0000 (09:44 -0800)]
Merge PR #31729 into master

* refs/pull/31729/head:
qa: reduce cache size further
mds: obsoleting 'mds_cache_size'

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31718 into master
Patrick Donnelly [Wed, 11 Dec 2019 17:42:18 +0000 (09:42 -0800)]
Merge PR #31718 into master

* refs/pull/31718/head:
mds: Reorganize class members in ScrubStack header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31717 into master
Patrick Donnelly [Wed, 11 Dec 2019 17:41:27 +0000 (09:41 -0800)]
Merge PR #31717 into master

* refs/pull/31717/head:
mds: Reorganize class members in ScrubHeader header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31716 into master
Patrick Donnelly [Wed, 11 Dec 2019 17:40:25 +0000 (09:40 -0800)]
Merge PR #31716 into master

* refs/pull/31716/head:
mds: Reorganize class members in ScatterLock header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31635 into master
Patrick Donnelly [Wed, 11 Dec 2019 17:39:27 +0000 (09:39 -0800)]
Merge PR #31635 into master

* refs/pull/31635/head:
mds: Reorganize class members in RecoveryQueue header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31597 into master
Patrick Donnelly [Wed, 11 Dec 2019 17:37:54 +0000 (09:37 -0800)]
Merge PR #31597 into master

* refs/pull/31597/head:
mds: Reorganize class members in OpenFileTable header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #30201 into master
Patrick Donnelly [Wed, 11 Dec 2019 17:36:49 +0000 (09:36 -0800)]
Merge PR #30201 into master

* refs/pull/30201/head:
qa/tasks: remove subvolume, subvolumegroup and their snapshots with --force
qa/tasks: Fix the commands success
qa/tasks: Fix raises that doesn't re-raise

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32178 into master
Sage Weil [Wed, 11 Dec 2019 17:10:42 +0000 (11:10 -0600)]
Merge PR #32178 into master

* refs/pull/32178/head:
qa/standalone/test_ceph_daemon.sh: disable adoption for the moment

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge pull request #32176 from idryomov/wip-doc-fancy-striping
Jason Dillaman [Wed, 11 Dec 2019 16:35:42 +0000 (11:35 -0500)]
Merge pull request #32176 from idryomov/wip-doc-fancy-striping

doc: clarify support for rbd fancy striping

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge PR #32163 into master
Patrick Donnelly [Wed, 11 Dec 2019 14:24:13 +0000 (06:24 -0800)]
Merge PR #32163 into master

* refs/pull/32163/head:
qa: fix output check to not be sensitive to debugging

Reviewed-by: Rishabh Dave <ridave@redhat.com>
5 years agoceph.spec.in: move distro-conditional deps to dedicated section 32080/head
Nathan Cutler [Fri, 6 Dec 2019 13:51:40 +0000 (14:51 +0100)]
ceph.spec.in: move distro-conditional deps to dedicated section

Post e92cb7a0336406a2981e9241031497b1749b26aa cleanup. Restore previous
structure of "distro-conditional make check dependencies" section.

Fixes: https://tracker.ceph.com/issues/43171
Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #32083 from smithfarm/wip-42612
Nathan Cutler [Wed, 11 Dec 2019 14:14:31 +0000 (15:14 +0100)]
Merge pull request #32083 from smithfarm/wip-42612

rpm: add rpm-build to SUSE-specific make check deps

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agomgr/test_orchestrator: Add dummy data
Volker Theile [Wed, 20 Nov 2019 10:43:10 +0000 (11:43 +0100)]
mgr/test_orchestrator: Add dummy data

Add a JSON file containing dummy data for testing the orchestrator.

Signed-off-by: Volker Theile <vtheile@suse.com>
5 years agoMerge PR #32160 into master
Sage Weil [Wed, 11 Dec 2019 14:06:40 +0000 (08:06 -0600)]
Merge PR #32160 into master

* refs/pull/32160/head:
doc/releases/nautilus,PendingReleaseNotes: consolidate telemetry note

Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoqa/standalone/test_ceph_daemon.sh: disable adoption for the moment 32178/head
Sage Weil [Wed, 11 Dec 2019 13:32:29 +0000 (07:32 -0600)]
qa/standalone/test_ceph_daemon.sh: disable adoption for the moment

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32161 from mgfritch/wip-cd-tox-warn
Thomas Bechtold [Wed, 11 Dec 2019 12:44:27 +0000 (13:44 +0100)]
Merge pull request #32161 from mgfritch/wip-cd-tox-warn

ceph-daemon: `imp` module  DeprecationWarning

5 years agomgr/dashboard: Disable cache for static files (#31018)
Lenz Grimmer [Wed, 11 Dec 2019 12:28:19 +0000 (12:28 +0000)]
mgr/dashboard: Disable cache for static files (#31018)

mgr/dashboard: Disable cache for static files

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
5 years agodoc: clarify support for rbd fancy striping 32176/head
Ilya Dryomov [Wed, 11 Dec 2019 11:41:09 +0000 (12:41 +0100)]
doc: clarify support for rbd fancy striping

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 years agocrimson: make seastar::do_with() a friend of errorated futures. 32175/head
Radoslaw Zarzynski [Wed, 11 Dec 2019 10:53:37 +0000 (11:53 +0100)]
crimson: make seastar::do_with() a friend of errorated futures.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agotest/cls_rbd: include compat.h for ERESTART 32172/head
Willem Jan Withagen [Wed, 11 Dec 2019 10:07:36 +0000 (11:07 +0100)]
test/cls_rbd: include compat.h for ERESTART

Fixes:9328b402c2d471c7cfc34fa9414825bf2915e7a2
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
5 years agoMerge pull request #32025 from tchaikov/wip-pick-address-silence-warning
Kefu Chai [Wed, 11 Dec 2019 04:08:10 +0000 (12:08 +0800)]
Merge pull request #32025 from tchaikov/wip-pick-address-silence-warning

common/pick_address.cc: silence GCC warning

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #32091 into master
Sage Weil [Wed, 11 Dec 2019 04:05:03 +0000 (22:05 -0600)]
Merge PR #32091 into master

* refs/pull/32091/head:
common/config: update values when they are removed via mon

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agocommon/pick_address.cc: silence GCC warning 32025/head
Kefu Chai [Thu, 5 Dec 2019 07:34:12 +0000 (15:34 +0800)]
common/pick_address.cc: silence GCC warning

* use `string_view` instead of string
* use `auto` instead of `int` to silence the warning
* use `enum class` instead of plain `enum`
* do not specify the value of enum, as
  we don't care about it

this change silences following warning

```
../src/common/pick_address.cc: In function ‘int get_iface_numa_node(const string&, int*)’:
../src/common/pick_address.cc:517:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_type’ {aka ‘const long unsigned int’} [-Wsign-com\
pare]
  517 |   if (pos != string::npos ) {
      |       ~~~~^~~~~~~~~~~~~~~
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #31839 from alimaredia/wip-s3-test-branch-refactor
Kefu Chai [Wed, 11 Dec 2019 01:28:58 +0000 (09:28 +0800)]
Merge pull request #31839 from alimaredia/wip-s3-test-branch-refactor

qa: update s3-test download code for s3-test tasks

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
5 years agoqa: fix output check to not be sensitive to debugging 32163/head
Patrick Donnelly [Tue, 10 Dec 2019 23:08:41 +0000 (15:08 -0800)]
qa: fix output check to not be sensitive to debugging

The traceback would screw up the equality checks.

Also, use unittest asserts so we can easily see the assert values.

Fixes: https://tracker.ceph.com/issues/43247
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31772 into master
Sage Weil [Tue, 10 Dec 2019 22:40:58 +0000 (16:40 -0600)]
Merge PR #31772 into master

* refs/pull/31772/head:
qa/standalone/test_ceph_daemon.sh: clone corpus explicitly
ceph-daemon: re-enable the OSD standalone test
ceph-daemon: move standalone test tgz to corpus
ceph-daemon: add ceph-daemon-adoption-corpus.git submodule

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #30548 from trociny/wip-41557
Jason Dillaman [Tue, 10 Dec 2019 21:41:28 +0000 (16:41 -0500)]
Merge pull request #30548 from trociny/wip-41557

rbd-mirror: snapshot mirror mode

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge PR #31122 into master
Patrick Donnelly [Tue, 10 Dec 2019 21:33:54 +0000 (13:33 -0800)]
Merge PR #31122 into master

* refs/pull/31122/head:
mds: Reorganize class members in MDSTable header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31253 into master
Patrick Donnelly [Tue, 10 Dec 2019 21:32:19 +0000 (13:32 -0800)]
Merge PR #31253 into master

* refs/pull/31253/head:
mds: Reorganize class members in Migrator header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31596 into master
Patrick Donnelly [Tue, 10 Dec 2019 21:31:28 +0000 (13:31 -0800)]
Merge PR #31596 into master

* refs/pull/31596/head:
mds: Reorganize class members in PurgeQueue header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoqa: reduce cache size further 31729/head
Patrick Donnelly [Tue, 10 Dec 2019 21:24:50 +0000 (13:24 -0800)]
qa: reduce cache size further

1M isn't low enough to trigger recall/trimming.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoceph-daemon: `imp` module DeprecationWarning 32161/head
Michael Fritch [Tue, 10 Dec 2019 21:09:08 +0000 (14:09 -0700)]
ceph-daemon: `imp` module  DeprecationWarning

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agodoc/releases/nautilus,PendingReleaseNotes: consolidate telemetry note 32160/head
Sage Weil [Tue, 10 Dec 2019 20:36:06 +0000 (14:36 -0600)]
doc/releases/nautilus,PendingReleaseNotes: consolidate telemetry note

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32148 into master
Sage Weil [Tue, 10 Dec 2019 20:33:02 +0000 (14:33 -0600)]
Merge PR #32148 into master

* refs/pull/32148/head:
doc/releases/nautilus: fix release notes (crash->device)

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
5 years agoceph-daemon: fix pod stop 32157/head
Sage Weil [Tue, 10 Dec 2019 19:19:40 +0000 (13:19 -0600)]
ceph-daemon: fix pod stop

- rm -f, not stop, so we don't leave things lingering in 'podman ps -a'
  output
- this also seems to fix/work around a problem where stopping the container
  leaves the daemon running?

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32041 from dzafman/wip-balancer3-pending
David Zafman [Tue, 10 Dec 2019 18:56:04 +0000 (10:56 -0800)]
Merge pull request #32041 from dzafman/wip-balancer3-pending

release note: Add pending release notes for already merged code

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoqa/standalone/test_ceph_daemon.sh: clone corpus explicitly 31772/head
Sage Weil [Fri, 6 Dec 2019 22:00:36 +0000 (16:00 -0600)]
qa/standalone/test_ceph_daemon.sh: clone corpus explicitly

When this is run by teuthology we don't have a full ceph source tree
checkout with submodules.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoceph-daemon: re-enable the OSD standalone test
Michael Fritch [Wed, 4 Dec 2019 22:55:12 +0000 (15:55 -0700)]
ceph-daemon: re-enable the OSD standalone test

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoceph-daemon: move standalone test tgz to corpus
Michael Fritch [Wed, 4 Dec 2019 22:50:46 +0000 (15:50 -0700)]
ceph-daemon: move standalone test tgz to corpus

Fixes: https://tracker.ceph.com/issues/42876
Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoceph-daemon: add ceph-daemon-adoption-corpus.git submodule
Michael Fritch [Wed, 4 Dec 2019 18:45:30 +0000 (11:45 -0700)]
ceph-daemon: add ceph-daemon-adoption-corpus.git submodule

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #32127 into master
Sage Weil [Tue, 10 Dec 2019 18:16:23 +0000 (12:16 -0600)]
Merge PR #32127 into master

* refs/pull/32127/head:
mgr/rook: Added Mypy static type checking

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32138 into master
Sage Weil [Tue, 10 Dec 2019 18:16:07 +0000 (12:16 -0600)]
Merge PR #32138 into master

* refs/pull/32138/head:
ceph-daemon: combine SUDO and ARGS into a single var

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32137 into master
Sage Weil [Tue, 10 Dec 2019 18:15:53 +0000 (12:15 -0600)]
Merge PR #32137 into master

* refs/pull/32137/head:
ceph-daemon: don't deref symlinks during chown

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoqa: update s3-test download code for s3-test tasks 31839/head
Ali Maredia [Mon, 25 Nov 2019 02:30:03 +0000 (21:30 -0500)]
qa: update s3-test download code for s3-test tasks

- Ensure the download code for all tasks running
s3-tests is consistent.
- Simplify download code to only use the config
variable 'force-branch' for the branch being
cloned.
- make ceph-master the force-branch for all
suites using s3-tests.

Fixes: https://tracker.ceph.com/issues/43077
Signed-off-by: Ali Maredia <amaredia@redhat.com>
5 years agorpm: add rpm-build to SUSE-specific make check deps 32083/head
Nathan Cutler [Fri, 6 Dec 2019 14:29:30 +0000 (15:29 +0100)]
rpm: add rpm-build to SUSE-specific make check deps

The binary /usr/bin/rpmspec was recently moved to rpm-build, breaking
install-deps.sh on openSUSE Tumbleweed. The package is not strictly
needed for SLE-15-SP* and openSUSE Leap 15.*, but it doesn't hurt to
have it, and will future-proof these distros from this regression.

Putting the dependency in the spec file does not address the issue,
because /usr/bin/rpmspec must be available before install-deps.sh runs it to
determine the dependencies, but it's nice to have it explicitly listed there,
since it *is* a dependency of "make check" on SUSE distros.

SUSE versions < 15 are of no interest in master/octopus+.

Fixes: https://tracker.ceph.com/issues/42612
Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge PR #32145 into master
Patrick Donnelly [Tue, 10 Dec 2019 17:22:06 +0000 (09:22 -0800)]
Merge PR #32145 into master

* refs/pull/32145/head:
doc: show how to count jobs before triggering them

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #32140 from tchaikov/wip-cmake-cleanup
Kefu Chai [Tue, 10 Dec 2019 16:28:49 +0000 (00:28 +0800)]
Merge pull request #32140 from tchaikov/wip-cmake-cleanup

cmake: silence messages when cppcheck/IWYU is not found

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge pull request #31954 from dzafman/wip-42346
David Zafman [Tue, 10 Dec 2019 16:08:37 +0000 (08:08 -0800)]
Merge pull request #31954 from dzafman/wip-42346

osd: Use physical ratio for nearfull (doesn't include backfill resserve)

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agolibrbd: force promote for snapshot mirroring 30548/head
Mykola Golub [Sat, 30 Nov 2019 17:07:38 +0000 (17:07 +0000)]
librbd: force promote for snapshot mirroring

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: introduce LIST_WATCHERS_MIRROR_INSTANCES_ONLY flag
Mykola Golub [Wed, 4 Dec 2019 09:31:48 +0000 (09:31 +0000)]
librbd: introduce LIST_WATCHERS_MIRROR_INSTANCES_ONLY flag

Also, don't skip listing mirror watchers if the image has journaling
disabled -- it is not correct for snapshot mirror mode.

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: refactor CreateNonPrimaryRequest and CreatePrimaryRequest
Mykola Golub [Thu, 28 Nov 2019 11:04:35 +0000 (11:04 +0000)]
librbd: refactor CreateNonPrimaryRequest and CreatePrimaryRequest

to extract re-usable functions into utils

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: store/remove image state when creating/removing mirror snapshot
Mykola Golub [Thu, 21 Nov 2019 14:26:34 +0000 (14:26 +0000)]
librbd: store/remove image state when creating/removing mirror snapshot

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: requests for mirror snapshot image state
Mykola Golub [Thu, 21 Nov 2019 14:25:46 +0000 (14:25 +0000)]
librbd: requests for mirror snapshot image state

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agocls/rbd: async methods for snapshot_get_limit
Mykola Golub [Thu, 21 Nov 2019 14:21:09 +0000 (14:21 +0000)]
cls/rbd: async methods for snapshot_get_limit

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agorbd: list primary mirror snapshots in mirror image status
Mykola Golub [Sun, 10 Nov 2019 18:09:34 +0000 (18:09 +0000)]
rbd: list primary mirror snapshots in mirror image status

TODO: provide the same in verbose mirror pool status.

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agorbd: add 'mirror image snapshot' command
Mykola Golub [Sun, 10 Nov 2019 10:17:44 +0000 (10:17 +0000)]
rbd: add 'mirror image snapshot' command

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: API method to get mirror image mode
Mykola Golub [Wed, 13 Nov 2019 16:24:48 +0000 (16:24 +0000)]
librbd: API method to get mirror image mode

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: add mirror image snapshot tests
Mykola Golub [Sun, 3 Nov 2019 15:31:42 +0000 (15:31 +0000)]
librbd: add mirror image snapshot tests

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: add mirror image snapshot API
Mykola Golub [Thu, 19 Sep 2019 13:07:16 +0000 (14:07 +0100)]
librbd: add mirror image snapshot API

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: when removing mirror peer unlink it from all snapshots
Mykola Golub [Thu, 10 Oct 2019 19:17:37 +0000 (20:17 +0100)]
librbd: when removing mirror peer unlink it from all snapshots

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: snapshot mirror mode
Mykola Golub [Sun, 1 Sep 2019 08:48:16 +0000 (09:48 +0100)]
librbd: snapshot mirror mode

Enabling mirroring for an image that does not support journaling
assumes snapshot based mirroring, which is supported only when the
pool is in the "image" mirror mode.

Also for the pool in the "image" mirror mode disabling/enabling
journaling feature for a mirroring image will switch
snapshot/journal mirror mode.

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: state machine for snapshot based mirror promote/demote
Mykola Golub [Fri, 11 Oct 2019 18:32:31 +0000 (19:32 +0100)]
librbd: state machine for snapshot based mirror promote/demote

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: state machine for creating mirroring snapshot
Mykola Golub [Thu, 10 Oct 2019 15:18:00 +0000 (16:18 +0100)]
librbd: state machine for creating mirroring snapshot

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: state machine for unlinking peer from mirror snapshot
Mykola Golub [Mon, 7 Oct 2019 16:07:34 +0000 (17:07 +0100)]
librbd: state machine for unlinking peer from mirror snapshot

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agocls/rbd: method to set mirror snapshot copy progress
Mykola Golub [Thu, 24 Oct 2019 15:28:36 +0000 (16:28 +0100)]
cls/rbd: method to set mirror snapshot copy progress

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agocls/rbd: method to unlink peer from mirror snapshot
Mykola Golub [Wed, 9 Oct 2019 13:38:55 +0000 (14:38 +0100)]
cls/rbd: method to unlink peer from mirror snapshot

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agocls/rbd: async methods for mirror_peer_list
Mykola Golub [Thu, 10 Oct 2019 15:14:46 +0000 (16:14 +0100)]
cls/rbd: async methods for mirror_peer_list

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: cleanup: remove unused function
Mykola Golub [Tue, 12 Nov 2019 15:05:46 +0000 (15:05 +0000)]
librbd: cleanup: remove unused function

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agocls/rbd: add mode (journal/snapshot) to mirror image
Mykola Golub [Mon, 4 Nov 2019 09:59:32 +0000 (09:59 +0000)]
cls/rbd: add mode (journal/snapshot) to mirror image

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agoceph-daemon: don't deref symlinks during chown 32137/head
Michael Fritch [Tue, 10 Dec 2019 04:42:43 +0000 (21:42 -0700)]
ceph-daemon: don't deref symlinks during chown

- consolidate move/copy loop logic
- chown the actual file and not the symlink

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #32132 into master
Sage Weil [Tue, 10 Dec 2019 14:49:52 +0000 (08:49 -0600)]
Merge PR #32132 into master

* refs/pull/32132/head:
osd/OSDMap: rename old calc_pg_role -> calc_pg_role_broken
osd/OSDMap: remove dead osd_is_valid_op_target
osd/OSDMap: fix get_pg_acting_role()
osd: use spg_t for pending_creates_from_osd
osd/OSDMap: drop unused get_pg_acting_role()
osd/OSDMap: fix+simplify is_up_acting_osd_shard
osd: use new and improved calc_pg_role()
osd/OSDMap: new calc_pg_role() that takes a pg_shard_t
osd/OSDMap: calc_pg_rank -> calc_pg_role
osd/PeeringState: debug lines for upacting_features, proc_lease
osd/PeeringState: use pg_vector_string for operator<<

Reviewed-by: Samuel Just <sjust@redhat.com>
5 years agodoc/releases/nautilus: fix release notes (crash->device) 32148/head
Sage Weil [Tue, 10 Dec 2019 14:32:02 +0000 (08:32 -0600)]
doc/releases/nautilus: fix release notes (crash->device)

Fix pending note for octopus too

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #31827 into master
Sage Weil [Tue, 10 Dec 2019 13:15:59 +0000 (07:15 -0600)]
Merge PR #31827 into master

* refs/pull/31827/head:
mgr/ssh: add 'upgrade check' command
ceph-daemon: add 'pull' command
mgr/orchestrator_cli: document orchestrator option
mgr/ssh: move entity name munging into a helper

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #31970 into master
Sage Weil [Tue, 10 Dec 2019 13:13:47 +0000 (07:13 -0600)]
Merge PR #31970 into master

* refs/pull/31970/head:
doc/releases: add Nautilus 14.2.5 to release timeline
doc/releases: add release notes for nautilus v14.2.5

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #32141 from tchaikov/wip-doc-highlight-console
Kefu Chai [Tue, 10 Dec 2019 13:12:28 +0000 (21:12 +0800)]
Merge pull request #32141 from tchaikov/wip-doc-highlight-console

doc: use the console lexer for rendering command line sessions

Reviewed-by: Sage Weil <sage@redhat.com>