]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
5 years agoqa: Fix flake8 for qa/tasks/cephfs/test_volumes.py
Thomas Bechtold [Fri, 13 Dec 2019 04:54:11 +0000 (05:54 +0100)]
qa: Fix flake8 for qa/tasks/cephfs/test_volumes.py

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
5 years agoqa: Run flake8 on python2 and python3
Thomas Bechtold [Mon, 9 Dec 2019 16:27:46 +0000 (17:27 +0100)]
qa: Run flake8 on python2 and python3

To be able to catch problems with python2 *and* python3, run flake8
with both versions. From the flake8 homepage:

It is very important to install Flake8 on the correct version of
Python for your needs. If you want Flake8 to properly parse new
language features in Python 3.5 (for example), you need it to be
installed on 3.5 for Flake8 to understand those features. In many
ways, Flake8 is tied to the version of Python on which it runs.

Also fix the problems with python3 on the way.
Note: This requires now the six module for teuthology. But this is
already an install_require in teuthology itself.

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
5 years agoMerge pull request #32230 from shellwedance/ceph-volume_typo_fix
Neha Ojha [Fri, 13 Dec 2019 04:31:24 +0000 (20:31 -0800)]
Merge pull request #32230 from shellwedance/ceph-volume_typo_fix

doc: fix a typo in a command

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #32170 from rosinL/wip-rss
Kefu Chai [Fri, 13 Dec 2019 04:25:36 +0000 (12:25 +0800)]
Merge pull request #32170 from rosinL/wip-rss

msg/async/DPDK: refactor set_rss_table to support DPDK 19.05

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agodoc: fix a typo in a command
taeuk_kim [Fri, 13 Dec 2019 02:26:45 +0000 (11:26 +0900)]
doc: fix a typo in a command

Co-authored-by: donggyu_park <donggyu_park@tmax.co.kr>
Signed-off-by: taeuk_kim <taeuk_kim@tmax.co.kr>
5 years agoMerge PR #32179 into master
Sage Weil [Fri, 13 Dec 2019 02:00:23 +0000 (20:00 -0600)]
Merge PR #32179 into master

* refs/pull/32179/head:
lvm: add deactivate subcommand
util/system: add unmount_tmpfs helper
api/lvm: add get_lv_by_osd_id method
api/lvm: add deactivate method to Volume class

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32225 into master
Sage Weil [Thu, 12 Dec 2019 23:14:51 +0000 (17:14 -0600)]
Merge PR #32225 into master

* refs/pull/32225/head:
qa: add force-branch to suites running s3readwrite & s3roundtrip tasks

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge PR #32003 into master
Sage Weil [Thu, 12 Dec 2019 23:05:11 +0000 (17:05 -0600)]
Merge PR #32003 into master

* refs/pull/32003/head:
mgr/ssh fix tests for update_mds/mgr/mds/rgw/rbd-mirror
Allow List[HostSpec] in PlacementSpec
mgr/rook: adapt to arg passing change in orchestrator_cli.py
mgr/ssh: Add SimpleScheduler and streamline arg passing
orch_cli: adapt to changes in PlacementSpec and ServiceSpec
orch: extend PlacementSpec and add StatefulServiceSpec

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #32218 into master
Sage Weil [Thu, 12 Dec 2019 23:04:02 +0000 (17:04 -0600)]
Merge PR #32218 into master

* refs/pull/32218/head:
cephadm: use raw string during `re.sub`
cephadm: fix ConfigParser DeprecationWarning in py3

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

* refs/pull/32187/head:
ceph.in: (py3) use binary stdout
pybind/mgr: index=4, sort_keys=True for json.dumps throughput

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
5 years agoMerge pull request #32013 from liewegas/doc-foundation
Mike Perez [Thu, 12 Dec 2019 22:04:35 +0000 (14:04 -0800)]
Merge pull request #32013 from liewegas/doc-foundation

doc/foundation: add cloudbase and vexxhost

5 years agoMerge pull request #32197 from neha-ojha/wip-report-doc-bug
Neha Ojha [Thu, 12 Dec 2019 21:38:46 +0000 (13:38 -0800)]
Merge pull request #32197 from neha-ojha/wip-report-doc-bug

doc/_templates/page.html: redirect to etherpad

Reviewed-by: Zac Dover zac.dover@gmail.com
Reviewed-by: Sage Weil sage@redhat.com
5 years agoqa: add force-branch to suites running s3readwrite & s3roundtrip tasks
Ali Maredia [Thu, 12 Dec 2019 21:09:07 +0000 (16:09 -0500)]
qa: add force-branch to suites running s3readwrite & s3roundtrip tasks

Signed-off-by: Ali Maredia <amaredia@redhat.com>
5 years agoMerge PR #32220 into master
Sage Weil [Thu, 12 Dec 2019 20:23:06 +0000 (14:23 -0600)]
Merge PR #32220 into master

* refs/pull/32220/head:
qa/workunits/cephadm/test_cephadm.sh: need --fsid always

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #31629 into master
Patrick Donnelly [Thu, 12 Dec 2019 18:30:55 +0000 (10:30 -0800)]
Merge PR #31629 into master

* refs/pull/31629/head:
cephfs-shell: rearrange code for convenience

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoqa/workunits/cephadm/test_cephadm.sh: need --fsid always
Sage Weil [Thu, 12 Dec 2019 13:36:23 +0000 (07:36 -0600)]
qa/workunits/cephadm/test_cephadm.sh: need --fsid always

Otherwise the test breaks if there are other cluster(s) on the host (like
there normally are in my dev environment).

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32129 into master
Sage Weil [Thu, 12 Dec 2019 16:26:17 +0000 (10:26 -0600)]
Merge PR #32129 into master

* refs/pull/32129/head:
qa: Enable flake8 tox and fix failures

5 years agoceph.in: (py3) use binary stdout
Sage Weil [Wed, 11 Dec 2019 16:59:24 +0000 (10:59 -0600)]
ceph.in: (py3) use binary stdout

This fixes an error like

$ ceph -s -o -
Traceback (most recent call last):
  File "bin/ceph", line 1267, in <module>
    retval = main()
  File "bin/ceph", line 1229, in main
    outf.write(outbuf)
TypeError: write() argument must be str, not bytes

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agopybind/mgr: index=4, sort_keys=True for json.dumps throughput
Sage Weil [Wed, 11 Dec 2019 16:33:17 +0000 (10:33 -0600)]
pybind/mgr: index=4, sort_keys=True for json.dumps throughput

- fixes balancer test on py3 by making the pool ls order deterministic
- makes everybody else behave consistently

I left internal json storage alone--no need to sort/normalize.  I also
left out some CLI commands returning non-indented json.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32094 from cbodley/wip-40585
Casey Bodley [Thu, 12 Dec 2019 16:20:16 +0000 (11:20 -0500)]
Merge pull request #32094 from cbodley/wip-40585

test/rgw: raise timer durations for unittest_rgw_reshard_wait

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32153 from smithfarm/wip-23981
Nathan Cutler [Thu, 12 Dec 2019 15:19:40 +0000 (16:19 +0100)]
Merge pull request #32153 from smithfarm/wip-23981

install-deps.sh: install python2-{virtualenv,devel} on SUSE if needed

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
5 years agocephadm: use raw string during `re.sub`
Michael Fritch [Thu, 12 Dec 2019 15:10:44 +0000 (08:10 -0700)]
cephadm: use raw string during `re.sub`

cephadm:198: DeprecationWarning: invalid escape sequence \s
  nice_conf = re.sub('\n(\s)+', '\n', raw_conf)

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agocephadm: fix ConfigParser DeprecationWarning in py3
Michael Fritch [Thu, 12 Dec 2019 15:02:34 +0000 (08:02 -0700)]
cephadm: fix ConfigParser DeprecationWarning in py3

DeprecationWarning: This method will be removed in future versions.
Use 'parser.read_file()' instead.

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #32151 from liewegas/fix-scipy
Kefu Chai [Thu, 12 Dec 2019 14:06:20 +0000 (22:06 +0800)]
Merge pull request #32151 from liewegas/fix-scipy

install-deps.sh: preload wheel for all mgr requirements.txt files

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agolvm: add deactivate subcommand
Jan Fajerski [Wed, 11 Dec 2019 13:54:16 +0000 (14:54 +0100)]
lvm: add deactivate subcommand

This new subcommand unmounts and OSDs tmpfs mount and closes crypt
devices if there are any.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
5 years agoutil/system: add unmount_tmpfs helper
Jan Fajerski [Thu, 12 Dec 2019 08:28:27 +0000 (09:28 +0100)]
util/system: add unmount_tmpfs helper

Thsi unmounts a path if and only if it's a tmpfs mount.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
5 years agomsg/async/dpdk: refactor set_rss_table to support DPDK 19.05
f00391043 [Thu, 14 Nov 2019 07:58:34 +0000 (15:58 +0800)]
msg/async/dpdk: refactor set_rss_table to support DPDK 19.05

The filter API was deprecated in DPDK 19.05, using the flow
API to set rss table.

Signed-off-by: Chunsong Feng <fengchunsong@huawei.com>
Signed-off-by: luo rixin <luorixin@huawei.com>
5 years agoinstall-deps.sh: install python2-{virtualenv,devel} on SUSE if needed
Nathan Cutler [Tue, 10 Dec 2019 17:13:49 +0000 (18:13 +0100)]
install-deps.sh: install python2-{virtualenv,devel} on SUSE if needed

Recent versions of openSUSE are fully Python 3 systems, but Python 2 can still
be installed on them. When Python 2 *and* Python 3 are installed, tox will try
to run unit tests ("make check" tests) on both. But the spec-file-based
mechanism used by install-deps.sh for determining "make check" dependencies only
installs python3-virtualenv and python3-devel.

Fixes: https://tracker.ceph.com/issues/23981
Signed-off-by: Nathan Cutler <ncutler@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 agomgr/ssh fix tests for update_mds/mgr/mds/rgw/rbd-mirror
Joshua Schmid [Thu, 5 Dec 2019 13:21:19 +0000 (14:21 +0100)]
mgr/ssh fix tests for update_mds/mgr/mds/rgw/rbd-mirror

Signed-off-by: Joshua Schmid <jschmid@suse.de>
5 years agoAllow List[HostSpec] in PlacementSpec
Joshua Schmid [Thu, 5 Dec 2019 11:17:04 +0000 (12:17 +0100)]
Allow List[HostSpec] in PlacementSpec

Signed-off-by: Joshua Schmid <jschmid@suse.de>
5 years agoqa: Enable flake8 tox and fix failures
Thomas Bechtold [Mon, 9 Dec 2019 15:17:23 +0000 (16:17 +0100)]
qa: Enable flake8 tox and fix failures

There were a couple of problems found by flake8 in the qa/
directory (most of them fixed now). Enabling flake8 during the usual
check runs hopefully avoids adding new issues in the future.

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
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 agomgr/rook: adapt to arg passing change in orchestrator_cli.py
Joshua Schmid [Wed, 4 Dec 2019 12:45:42 +0000 (13:45 +0100)]
mgr/rook: adapt to arg passing change in orchestrator_cli.py

Signed-off-by: Joshua Schmid <jschmid@suse.de>
5 years agomgr/ssh: Add SimpleScheduler and streamline arg passing
Joshua Schmid [Wed, 4 Dec 2019 12:42:30 +0000 (13:42 +0100)]
mgr/ssh: Add SimpleScheduler and streamline arg passing

* adding a mechanism to augment specs.placement.nodes
  even when no nodes are provided via dynamic determination
  from host_pools. (NodeAssignment)

* added SimpleScheduler
  implements most simple placment algorithm possible.
  Choose from a shuffled list of hosts.

* streamlined args passed to the public update_$service
  functions. They all take `spec` now.

Signed-off-by: Joshua Schmid <jschmid@suse.de>
5 years agoorch_cli: adapt to changes in PlacementSpec and ServiceSpec
Joshua Schmid [Wed, 4 Dec 2019 12:39:56 +0000 (13:39 +0100)]
orch_cli: adapt to changes in PlacementSpec and ServiceSpec

* adapt to changes in PlacementSpec (count moved to PlacementSpec)
* added label param to update_& functions

Signed-off-by: Joshua Schmid <jschmid@suse.de>
5 years agoorch: extend PlacementSpec and add StatefulServiceSpec
Joshua Schmid [Wed, 4 Dec 2019 12:37:58 +0000 (13:37 +0100)]
orch: extend PlacementSpec and add StatefulServiceSpec

* add public set_nodes()
* add StatefulServiceSpec

Signed-off-by: Joshua Schmid <jschmid@suse.de>
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 agodebian/control: install scipy for build too
Sage Weil [Wed, 11 Dec 2019 13:26:04 +0000 (07:26 -0600)]
debian/control: install scipy for build too

Needed for make check

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32143 from tchaikov/wip-qa-rocksdb-test
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 agocephfs-shell: rearrange code for convenience
Rishabh Dave [Mon, 9 Dec 2019 10:02:05 +0000 (15:32 +0530)]
cephfs-shell: rearrange code for convenience

Signed-off-by: Rishabh Dave <ridave@redhat.com>
5 years agodoc/_templates/page.html: redirect to etherpad
Neha [Thu, 12 Dec 2019 04:21:04 +0000 (04:21 +0000)]
doc/_templates/page.html: redirect to etherpad

This simplifies things for users who are not able to add cards to
https://github.com/ceph/ceph/projects/4 due to insufficient permissions.

Signed-off-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
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
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
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
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 agoapi/lvm: add get_lv_by_osd_id method
Jan Fajerski [Wed, 11 Dec 2019 12:17:19 +0000 (13:17 +0100)]
api/lvm: add get_lv_by_osd_id method

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
5 years agoqa/standalone/test_ceph_daemon.sh: disable adoption for the moment
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 agoapi/lvm: add deactivate method to Volume class
Jan Fajerski [Wed, 11 Dec 2019 12:17:02 +0000 (13:17 +0100)]
api/lvm: add deactivate method to Volume class

Simply calls lvchange -an to deactivate a logical volume.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
5 years agodoc: clarify support for rbd fancy striping
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.
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
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
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
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
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
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
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
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>