]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
6 years agokv/rocksdb: support rmrange unconditionally
Casey Bodley [Tue, 6 Aug 2019 20:48:52 +0000 (16:48 -0400)]
kv/rocksdb: support rmrange unconditionally

removes the config options rocksdb_enable_rmrange and
rocksdb_max_items_rmrange that avoid calls to DeleteRange()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agocls/rgw: rgw_bi_log_trim() uses cls_cxx_map_remove_range()
Casey Bodley [Fri, 19 May 2017 21:30:11 +0000 (17:30 -0400)]
cls/rgw: rgw_bi_log_trim() uses cls_cxx_map_remove_range()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agocls/log: cls_log_trim() uses cls_cxx_map_remove_range()
Casey Bodley [Mon, 12 Nov 2018 23:45:14 +0000 (18:45 -0500)]
cls/log: cls_log_trim() uses cls_cxx_map_remove_range()

uses cls_cxx_map_get_keys() instead of cls_cxx_map_get_vals() to limit
the number of keys removed

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agotest/cls: add cls_log.trim_by_marker test
Casey Bodley [Sun, 21 May 2017 01:16:38 +0000 (21:16 -0400)]
test/cls: add cls_log.trim_by_marker test

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agotest/cls: test_cls_log doesn't allocate ObjectOperations
Casey Bodley [Sat, 20 May 2017 23:56:09 +0000 (19:56 -0400)]
test/cls: test_cls_log doesn't allocate ObjectOperations

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agotest/cls: test_cls_log uses fixture for temporary pool
Casey Bodley [Sat, 20 May 2017 23:54:59 +0000 (19:54 -0400)]
test/cls: test_cls_log uses fixture for temporary pool

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agotest/cls: add cls_rgw.bi_log_trim test
Casey Bodley [Sat, 20 May 2017 23:23:59 +0000 (19:23 -0400)]
test/cls: add cls_rgw.bi_log_trim test

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agocls/rgw: expose cls_rgw_bilog_list/trim() for single shard
Casey Bodley [Tue, 6 Aug 2019 20:16:27 +0000 (16:16 -0400)]
cls/rgw: expose cls_rgw_bilog_list/trim() for single shard

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agotest/cls: test_cls_rgw uses cls_rgw_obj_key
Casey Bodley [Sat, 20 May 2017 23:22:39 +0000 (19:22 -0400)]
test/cls: test_cls_rgw uses cls_rgw_obj_key

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agotest/cls: test_cls_rgw doesn't allocate ObjectOperations
Casey Bodley [Sat, 20 May 2017 21:52:57 +0000 (17:52 -0400)]
test/cls: test_cls_rgw doesn't allocate ObjectOperations

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agotest/cls: test_cls_rgw uses fixture for temporary pool
Casey Bodley [Sat, 20 May 2017 21:52:03 +0000 (17:52 -0400)]
test/cls: test_cls_rgw uses fixture for temporary pool

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoobjclass: add cls_cxx_map_remove_range()
Casey Bodley [Thu, 18 May 2017 18:15:54 +0000 (14:15 -0400)]
objclass: add cls_cxx_map_remove_range()

Fixes: http://tracker.ceph.com/issues/19975
Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agolibrados: add rados_write_op_omap_rm_range2()
Casey Bodley [Sun, 21 May 2017 03:01:23 +0000 (23:01 -0400)]
librados: add rados_write_op_omap_rm_range2()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoosdc: add Objecter omap_rm_range()
Casey Bodley [Sun, 21 May 2017 03:00:07 +0000 (23:00 -0400)]
osdc: add Objecter omap_rm_range()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoosd: add CEPH_OSD_OP_OMAPRMKEYRANGE to do_osd_ops()
Casey Bodley [Thu, 18 May 2017 18:44:30 +0000 (14:44 -0400)]
osd: add CEPH_OSD_OP_OMAPRMKEYRANGE to do_osd_ops()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoosd: add omap_rmkeyrange() to PGTransaction
Casey Bodley [Thu, 18 May 2017 18:44:11 +0000 (14:44 -0400)]
osd: add omap_rmkeyrange() to PGTransaction

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoos: add bufferlist overload for omap_rmkeyrange()
Casey Bodley [Thu, 18 May 2017 18:55:51 +0000 (14:55 -0400)]
os: add bufferlist overload for omap_rmkeyrange()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agotracing: add do_osd_op_pre_omaprmkeyrange
Casey Bodley [Thu, 18 May 2017 18:37:15 +0000 (14:37 -0400)]
tracing: add do_osd_op_pre_omaprmkeyrange

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorados: add CEPH_OSD_OP_OMAPRMKEYRANGE
Casey Bodley [Thu, 18 May 2017 18:23:22 +0000 (14:23 -0400)]
rados: add CEPH_OSD_OP_OMAPRMKEYRANGE

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #28331 from linuxbox2/wip-rgw-uinfo-by-acc
Matt Benjamin [Thu, 1 Aug 2019 20:07:34 +0000 (16:07 -0400)]
Merge pull request #28331 from linuxbox2/wip-rgw-uinfo-by-acc

rgw: permit rgw-admin to populate user info by access-key

6 years agoMerge pull request #29413 from tchaikov/wip-remove-test/python
Kefu Chai [Thu, 1 Aug 2019 16:38:28 +0000 (00:38 +0800)]
Merge pull request #29413 from tchaikov/wip-remove-test/python

test/python: remove stale tests

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #29445 from ricardoasmarques/fix-doc-rbd-namespace
Jason Dillaman [Thu, 1 Aug 2019 16:03:25 +0000 (12:03 -0400)]
Merge pull request #29445 from ricardoasmarques/fix-doc-rbd-namespace

doc: Fix rbd namespace documentation

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agodoc: Fix rbd namespace documentation
Ricardo Marques [Thu, 1 Aug 2019 10:27:22 +0000 (11:27 +0100)]
doc: Fix rbd namespace documentation

Pool and namespace should be separated by a slash.

Fixes: https://tracker.ceph.com/issues/41046
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge pull request #29446 from tchaikov/wip-cmake-tox-test
Kefu Chai [Thu, 1 Aug 2019 14:04:30 +0000 (22:04 +0800)]
Merge pull request #29446 from tchaikov/wip-cmake-tox-test

cmake: add add_tox_test()

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agoMerge pull request #29423 from rhcs-dashboard/wip-41023-master
Kefu Chai [Thu, 1 Aug 2019 13:43:15 +0000 (21:43 +0800)]
Merge pull request #29423 from rhcs-dashboard/wip-41023-master

doc: Show Jenkins commands

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #29297 from iotcg/starlingx
Kefu Chai [Thu, 1 Aug 2019 13:41:06 +0000 (21:41 +0800)]
Merge pull request #29297 from iotcg/starlingx

ceph-objectstore-tool: set log date format

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: add add_tox_test()
Kefu Chai [Thu, 1 Aug 2019 11:40:36 +0000 (19:40 +0800)]
cmake: add add_tox_test()

to consolidate the tox tests

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #29364 from capri1989/doc-pg-num
Abhishek L [Thu, 1 Aug 2019 12:18:53 +0000 (14:18 +0200)]
Merge pull request #29364 from capri1989/doc-pg-num

doc: pg_num should always be a power of two

Reviewed-By: Jan Fajerski <jfajerski@suse.com>
Reviewed-By: Sage Weil <sage@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
6 years agoMerge pull request #29063 from sebastian-philipp/orchestrator-get_feature_set
Sebastian Wagner [Thu, 1 Aug 2019 07:37:16 +0000 (09:37 +0200)]
Merge pull request #29063 from sebastian-philipp/orchestrator-get_feature_set

mgr/orchestrator: Split *_stateless_service and add get_feature_set

6 years agoMerge pull request #29131 from sebastian-philipp/rook-caching
Sebastian Wagner [Thu, 1 Aug 2019 07:35:21 +0000 (09:35 +0200)]
Merge pull request #29131 from sebastian-philipp/rook-caching

mgr/rook: Add caching for the Dashboard

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
6 years agoMerge PR #29334 into master
Sage Weil [Thu, 1 Aug 2019 01:27:27 +0000 (20:27 -0500)]
Merge PR #29334 into master

* refs/pull/29334/head:
qa/tasks/mgr/dashboard/test_mgr_module: adjust expected schema
mgr/telemetry: separate out cluster config vs running daemons
mgr/telemetry: include any config options that are customized

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
6 years agoMerge PR #29340 into master
Sage Weil [Thu, 1 Aug 2019 01:27:06 +0000 (20:27 -0500)]
Merge PR #29340 into master

* refs/pull/29340/head:
mgr/telemetry: specify license when opting in

Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
6 years agoMerge pull request #29419 from vshankar/wip-fix-rbd-support
Jason Dillaman [Wed, 31 Jul 2019 21:30:54 +0000 (17:30 -0400)]
Merge pull request #29419 from vshankar/wip-fix-rbd-support

pybind/rbd: fix call to unregister_osd_perf_queries

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #29406 from yuriw/wip-yuriw-upgrade-rwg-master_2
Yuri Weinstein [Wed, 31 Jul 2019 19:32:49 +0000 (12:32 -0700)]
Merge pull request #29406 from yuriw/wip-yuriw-upgrade-rwg-master_2

qa/tests: added rgw into upgrade sequence to improve coverage

6 years agoMerge pull request #29428 from yuriw/wip-yuriw-crontab-master
Yuri Weinstein [Wed, 31 Jul 2019 19:32:24 +0000 (12:32 -0700)]
Merge pull request #29428 from yuriw/wip-yuriw-crontab-master

qa/tests: added mimic-x on master run

6 years agoMerge PR #29104 into master
Patrick Donnelly [Wed, 31 Jul 2019 19:06:39 +0000 (12:06 -0700)]
Merge PR #29104 into master

* refs/pull/29104/head:
qa/cephfs: test case for timeout config of individual session
mds: add command that config individual client session

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #29430 from uweigand/fix-no-boost-context-build
Casey Bodley [Wed, 31 Jul 2019 19:00:17 +0000 (15:00 -0400)]
Merge pull request #29430 from uweigand/fix-no-boost-context-build

rgw: tests: Fix building with -DWITH_BOOST_CONTEXT=OFF

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge PR #29412 into master
Patrick Donnelly [Wed, 31 Jul 2019 18:59:22 +0000 (11:59 -0700)]
Merge PR #29412 into master

* refs/pull/29412/head:
doc: mds-config-ref: update 'mds_log_max_segments' value.

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #29355 into master
Patrick Donnelly [Wed, 31 Jul 2019 18:33:36 +0000 (11:33 -0700)]
Merge PR #29355 into master

* refs/pull/29355/head:
mgr/volumes: set uid/gid of FS client's mount as 0/0

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #29133 from ricardoasmarques/prevent-iscsi-target-delete-with...
Ricardo Dias [Wed, 31 Jul 2019 17:59:33 +0000 (18:59 +0100)]
Merge pull request #29133 from ricardoasmarques/prevent-iscsi-target-delete-with-sessions

mgr/dashboard: Prevent deletion of iSCSI IQNs with open sessions

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge PR #29388 into master
Patrick Donnelly [Wed, 31 Jul 2019 17:33:18 +0000 (10:33 -0700)]
Merge PR #29388 into master

* refs/pull/29388/head:
qa: sleep briefly after resetting kclient

Reviewed-by: David Galloway <dgallowa@redhat.com>
6 years agoMerge PR #29377 into master
Patrick Donnelly [Wed, 31 Jul 2019 17:32:50 +0000 (10:32 -0700)]
Merge PR #29377 into master

* refs/pull/29377/head:
mds: add perf counter for finisher of MDSRank

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoqa/tests: added rgw into upgrade sequence to improve coverage
Yuri Weinstein [Tue, 30 Jul 2019 19:57:00 +0000 (12:57 -0700)]
qa/tests: added rgw into upgrade sequence to improve coverage

added rgw into upgrade sequence to improve coverage - splits
See https://github.com/ceph/ceph/pull/29234 https://github.com/ceph/ceph/pull/29282

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agorgw: tests: Fix building with -DWITH_BOOST_CONTEXT=OFF
Ulrich Weigand [Wed, 31 Jul 2019 15:38:23 +0000 (17:38 +0200)]
rgw: tests: Fix building with -DWITH_BOOST_CONTEXT=OFF

Attempting to build with -DWITH_BOOST_CONTEXT=OFF will result in
a "conflicting declaration" error when building
test/rgw/test_rgw_dmclock_scheduler.cc

Fixed by avoiding the boost/asio/spawn.hpp include in that case.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
6 years agoqa/tests: added mimic-x on master run
Yuri Weinstein [Wed, 31 Jul 2019 14:56:25 +0000 (07:56 -0700)]
qa/tests: added mimic-x on master run

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agodoc: Address further comments on choosing pg_num
Lars Marowsky-Bree [Wed, 31 Jul 2019 13:12:49 +0000 (15:12 +0200)]
doc: Address further comments on choosing pg_num

Signed-off-by: Lars Marowsky-Bree <lmb@suse.com>
6 years agodoc: adjust examples to use 2^n pg_num
Lars Marowsky-Bree [Wed, 31 Jul 2019 13:02:25 +0000 (15:02 +0200)]
doc: adjust examples to use 2^n pg_num

The examples used pg_num set to 300 or 1000. This misled some users.

Signed-off-by: Lars Marowsky-Bree <lmb@suse.com>
6 years agoMerge pull request #29405 from wjwithagen/wjw-fix-env-vs-args.t
Kefu Chai [Wed, 31 Jul 2019 12:42:06 +0000 (20:42 +0800)]
Merge pull request #29405 from wjwithagen/wjw-fix-env-vs-args.t

test/cli: Make the ceph-conf test more liberal

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #29414 from tchaikov/wip-mgr-api-test
Kefu Chai [Wed, 31 Jul 2019 11:51:31 +0000 (19:51 +0800)]
Merge pull request #29414 from tchaikov/wip-mgr-api-test

pybind/mgr: install setuptools >= 12

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
6 years agoMerge pull request #27754 from jan--f/c-v-validate-device-lists
Jan Fajerski [Wed, 31 Jul 2019 11:16:11 +0000 (13:16 +0200)]
Merge pull request #27754 from jan--f/c-v-validate-device-lists

ceph-volume: batch ensure device lists are disjoint

6 years agodoc: Show Jenkins commands
Ernesto Puerta [Wed, 31 Jul 2019 10:56:24 +0000 (12:56 +0200)]
doc: Show Jenkins commands

Fixes: https://tracker.ceph.com/issues/41023
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
6 years agotest/cli: Make the ceph-conf test more liberal
Willem Jan Withagen [Tue, 30 Jul 2019 19:43:56 +0000 (21:43 +0200)]
test/cli: Make the ceph-conf test more liberal

The tests look for the exact error text.
But they are OS dependant, and thus on FreeBSD the output is
slightly different:
2019-07-30T19:04:16.581+0000 80bc48000 -1 parse_file: filesystem error: in file_size: No such file or directory [from-env]

This stems from the fact that different OSes use different
standard libraries: libc++ <> libstd++

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
6 years agopybind/rbd: fix call to unregister_osd_perf_queries
Venky Shankar [Wed, 31 Jul 2019 05:47:02 +0000 (01:47 -0400)]
pybind/rbd: fix call to unregister_osd_perf_queries

.. should be invoked as self.unregister_osd_perf_queries()
rather than self.module.unregister_osd_perf_queries().

Signed-off-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #29318 from tspmelo/wip-backport-component
Jan Fajerski [Wed, 31 Jul 2019 08:33:23 +0000 (10:33 +0200)]
Merge pull request #29318 from tspmelo/wip-backport-component

script/ceph-backport.sh: Allow to set component label

6 years agopybind/mgr: install setuptools >= 12
Kefu Chai [Wed, 31 Jul 2019 08:20:33 +0000 (16:20 +0800)]
pybind/mgr: install setuptools >= 12

otherwise we have
```
  Running setup.py egg_info for package apache-libcloud

    libcloud/utils/py3.py:76: UserWarning: Missing backports.ssl_match_hostname package
      warnings.warn("Missing backports.ssl_match_hostname package")
    Traceback (most recent call last):
...
      File "build/bdist.linux-x86_64/egg/setuptools_scm/version.py", line 66, in _warn_if_setuptools_outdated

...
setuptools_scm.version.SetuptoolsOutdatedWarning: your setuptools is too old (<12)
...
Command python setup.py egg_info failed with error code 1 in /tmp/tmp.i95Fg82Ea4/venv/build/apache-libcloud
```

and more important thing is, setuptools >= 12 allows us to install the
python modules in venv, without uninstalling existing modules if they
are also installed in by system packages.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/rook: monkey-patch for CoreV1Api.list_node
Sebastian Wagner [Thu, 25 Jul 2019 12:48:26 +0000 (14:48 +0200)]
mgr/rook: monkey-patch for CoreV1Api.list_node

`kubernetes.client.apis.core_v1_api.CoreV1Api#list_node` is
broken and needs a monkey patch. Might be related to
an incompatible k8s cluster version.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agomgr/orchestrator: better format `service ls`
Sebastian Wagner [Thu, 25 Jul 2019 09:15:29 +0000 (11:15 +0200)]
mgr/orchestrator: better format `service ls`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agomgr/rook: Implement fallback for CentOS 7
Sebastian Wagner [Tue, 23 Jul 2019 10:12:48 +0000 (12:12 +0200)]
mgr/rook: Implement fallback for CentOS 7

`kubernetes-client` requires `urllib3` > 1.15, but CentOS 7 ships 1.10

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agomgr/rook: Move KubernetesResource to rook_cluser.py
Sebastian Wagner [Fri, 19 Jul 2019 13:44:57 +0000 (15:44 +0200)]
mgr/rook: Move KubernetesResource to rook_cluser.py

Use `KubernetesResource` as cache for pods, inventory maps and nodes.
This is required for the dashboard.

Also:
  properly return K8s nodes
  fix minor issues

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agomgr/rook: Add feature to gather k8s storageclass information
Paul Cuzner [Tue, 18 Jun 2019 03:58:17 +0000 (15:58 +1200)]
mgr/rook: Add feature to gather k8s storageclass information

Provide ability to fetch or watch k8s resources,
and hold the resulting objects in a dict. A method
has been added to the rook module to allow other
mgr modules to fetch the state of specific k8s
resources.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
6 years agomgr/orchestrator_clli: Always return str
Sebastian Wagner [Mon, 29 Jul 2019 11:51:23 +0000 (13:51 +0200)]
mgr/orchestrator_clli: Always return str

Also: Don't return `"None"`
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agomgr/ansible: Moved RGW defaults to ansible
Sebastian Wagner [Wed, 24 Jul 2019 11:55:03 +0000 (13:55 +0200)]
mgr/ansible: Moved RGW defaults to ansible

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agomgr/rook: Fix RGW creation
Sebastian Wagner [Mon, 22 Jul 2019 18:59:13 +0000 (20:59 +0200)]
mgr/rook: Fix RGW creation

* Moved RGWSpec defaults to a new method

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agomgr/orchestrator: Split *_stateless_service and add get_feature_set
Sebastian Wagner [Tue, 16 Jul 2019 10:47:29 +0000 (12:47 +0200)]
mgr/orchestrator: Split *_stateless_service and add get_feature_set

Split *_stateless_service, because every orchestrator
did some method dispatching internally anyway.

Also: Added test

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agoceph-volume: batch ensure device lists are disjoint
Jan Fajerski [Thu, 11 Apr 2019 14:58:32 +0000 (16:58 +0200)]
ceph-volume: batch ensure device lists are disjoint

Fixes: https://tracker.ceph.com/issues/41018
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
6 years agotest/python: remove test for ceph cli
Kefu Chai [Wed, 31 Jul 2019 06:29:24 +0000 (14:29 +0800)]
test/python: remove test for ceph cli

we have abundant test for exercising `ceph` cli, like

qa/standalone/mon/misc.sh.

and `test_ceph.py` does not test any functionality of this python script
other than importing it, which basically runs it through python's syntax
check.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agotest/python: remove test for brag/client
Kefu Chai [Wed, 31 Jul 2019 06:25:21 +0000 (14:25 +0800)]
test/python: remove test for brag/client

ceph-brag is now take replaced by telemetry. and it was removed in
cf97b5c1 .

so no need to keep its test.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #29363 into master
Sage Weil [Wed, 31 Jul 2019 03:46:55 +0000 (22:46 -0500)]
Merge PR #29363 into master

* refs/pull/29363/head:
qa/suites/multimds/basic/tasks/ceph_test_snapshots: disable RECENT_CRASH
qa/suites/kcephfs/recovery/failover.yaml: disable RECENT_CRASH
qa/suites/fs/multifs/tasks/failover.yaml: disable RECENT_CRASH

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoqa/tasks/mgr/dashboard/test_mgr_module: adjust expected schema
Sage Weil [Fri, 26 Jul 2019 18:53:55 +0000 (13:53 -0500)]
qa/tasks/mgr/dashboard/test_mgr_module: adjust expected schema

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agodoc: mds-config-ref: update 'mds_log_max_segments' value.
Konstantin Shalygin [Wed, 31 Jul 2019 03:26:37 +0000 (10:26 +0700)]
doc: mds-config-ref: update 'mds_log_max_segments' value.

Also drop options that not exists on code:

* mds_log_max_expiring
* mds_log_eopen_size

Signed-off-by: Konstantin Shalygin <k0ste@k0ste.ru>
6 years agoMerge PR #29185 into master
Sage Weil [Wed, 31 Jul 2019 02:55:04 +0000 (21:55 -0500)]
Merge PR #29185 into master

* refs/pull/29185/head:
os/bluestore: add tail length when caculating reserved buffer size
os/bluestore: record next_offs when offset is not sequential.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 years agoMerge PR #29356 into master
Sage Weil [Wed, 31 Jul 2019 02:54:36 +0000 (21:54 -0500)]
Merge PR #29356 into master

* refs/pull/29356/head:
pybind/mgr/restful: use dict.items() for py3 compatibility

Reviewed-by: Sebastian Wagner <swagner@suse.com>
6 years agoMerge pull request #29098 from liewegas/wip-unhexdump-c
Josh Durgin [Wed, 31 Jul 2019 01:27:27 +0000 (18:27 -0700)]
Merge pull request #29098 from liewegas/wip-unhexdump-c

src/script/unhexdump-C: script to reverse a 'hexdump -C' style hexdump

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #29394 from mkogan1/wip-rgw-bi-list-shard-id
Casey Bodley [Tue, 30 Jul 2019 19:16:56 +0000 (15:16 -0400)]
Merge pull request #29394 from mkogan1/wip-rgw-bi-list-shard-id

rgw: add option to specify shard-id for "bi list" admin command

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agoMerge PR #29362 into master
Patrick Donnelly [Tue, 30 Jul 2019 18:40:56 +0000 (11:40 -0700)]
Merge PR #29362 into master

* refs/pull/29362/head:
Update nautilus release for 14.2.2
Updated schedule with latest Nautilus release

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #28239 into master
Patrick Donnelly [Tue, 30 Jul 2019 18:35:13 +0000 (11:35 -0700)]
Merge PR #28239 into master

* refs/pull/28239/head:
cephfs-shell: Add tox for testing with flake8

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #29386 from alfredodeza/wip-rm40987
Andrew Schoen [Tue, 30 Jul 2019 18:33:40 +0000 (13:33 -0500)]
Merge pull request #29386 from alfredodeza/wip-rm40987

ceph-volume  simple: better detection when 'type' file is not present

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agocephfs-shell: Add tox for testing with flake8
Varsha Rao [Fri, 24 May 2019 13:15:16 +0000 (18:45 +0530)]
cephfs-shell: Add tox for testing with flake8

Fixes: https://tracker.ceph.com/issues/39947
Signed-off-by: Varsha Rao <varao@redhat.com>
6 years agoMerge PR #29331 into master
Patrick Donnelly [Tue, 30 Jul 2019 17:14:57 +0000 (10:14 -0700)]
Merge PR #29331 into master

* refs/pull/29331/head:
common: add comment about pod memory requests/limits

Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
6 years agoMerge pull request #29161 from valentinbajrami/improve-grep-regex
Kefu Chai [Tue, 30 Jul 2019 14:09:32 +0000 (22:09 +0800)]
Merge pull request #29161 from valentinbajrami/improve-grep-regex

src/script/check_commands.sh: fix grep regex class range

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agorgw: add option to specify shard-id for "bi list" admin command
Mark Kogan [Tue, 30 Jul 2019 11:02:44 +0000 (07:02 -0400)]
rgw: add option to specify shard-id for "bi list" admin command

related to: https://tracker.ceph.com/issues/40700
Signed-off-by: Mark Kogan <mkogan@redhat.com>
6 years agosrc/script/check_commands.sh: fix grep regex class range
Valentin Bajrami [Tue, 30 Jul 2019 09:14:09 +0000 (11:14 +0200)]
src/script/check_commands.sh: fix grep regex class range

Correct the faulty regex class.

Signed-off-by: Valentin Bajrami <valentin.bajrami@gmail.com>
6 years agoMerge pull request #28915 from sebastian-philipp/python-common-package-2
Sebastian Wagner [Tue, 30 Jul 2019 07:31:34 +0000 (09:31 +0200)]
Merge pull request #28915 from sebastian-philipp/python-common-package-2

python-common:  Python common package

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tim Serong <tserong@suse.com>
6 years agoMerge pull request #27336 from SUSE/wip-orchestrator-deepsea-iscsi-ganesha
Sebastian Wagner [Tue, 30 Jul 2019 07:13:25 +0000 (09:13 +0200)]
Merge pull request #27336 from SUSE/wip-orchestrator-deepsea-iscsi-ganesha

mgr/deepsea: return ganesha and iscsi endpoint URLs

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agodoc: pg_num should always be a power of two
Kai Wagner [Fri, 26 Jul 2019 14:55:09 +0000 (16:55 +0200)]
doc: pg_num should always be a power of two

Signed-off-by: Kai Wagner <kwagner@suse.com>
6 years agoMerge pull request #29387 from ceph/wip-ceph-volume-tests-no-dashboard
Jan Fajerski [Tue, 30 Jul 2019 06:23:59 +0000 (08:23 +0200)]
Merge pull request #29387 from ceph/wip-ceph-volume-tests-no-dashboard

ceph-volume: when testing disable the dashboard

6 years agoMerge pull request #29347 from smithfarm/wip-40974
Kefu Chai [Tue, 30 Jul 2019 04:46:37 +0000 (12:46 +0800)]
Merge pull request #29347 from smithfarm/wip-40974

rpm: improve ceph-mgr plugin package summaries

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agoMerge pull request #29346 from smithfarm/wip-40973
Kefu Chai [Tue, 30 Jul 2019 04:44:32 +0000 (12:44 +0800)]
Merge pull request #29346 from smithfarm/wip-40973

rpm: fdupes in SUSE builds to conform with packaging guidelines

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #29367 from tchaikov/wip-doc-crush-rule
Kefu Chai [Tue, 30 Jul 2019 01:28:08 +0000 (09:28 +0800)]
Merge pull request #29367 from tchaikov/wip-doc-crush-rule

doc/rados/operations: crush_rule is a name

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #29368 from tchaikov/wip-40618
Kefu Chai [Tue, 30 Jul 2019 01:27:29 +0000 (09:27 +0800)]
Merge pull request #29368 from tchaikov/wip-40618

qa/tasks/mgr/test_progress.py: s/ev/new_event/

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agomgr/telemetry: specify license when opting in
Sage Weil [Thu, 25 Jul 2019 22:28:34 +0000 (17:28 -0500)]
mgr/telemetry: specify license when opting in

Choosing not to include this in the docs so that the user is more likely
to see this interactively.  (That is...probably good?)

Choose sharing-1-0.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoqa/suites/multimds/basic/tasks/ceph_test_snapshots: disable RECENT_CRASH
Sage Weil [Mon, 29 Jul 2019 23:17:15 +0000 (18:17 -0500)]
qa/suites/multimds/basic/tasks/ceph_test_snapshots: disable RECENT_CRASH

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #28804 into master
Patrick Donnelly [Mon, 29 Jul 2019 21:53:28 +0000 (14:53 -0700)]
Merge PR #28804 into master

* refs/pull/28804/head:
mds: delay exporting directory whose pin value exceeds max rank id

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #29339 into master
Patrick Donnelly [Mon, 29 Jul 2019 21:49:17 +0000 (14:49 -0700)]
Merge PR #29339 into master

* refs/pull/29339/head:
client: don't report any vxattrs to listxattr

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
6 years agoMerge PR #29304 into master
Patrick Donnelly [Mon, 29 Jul 2019 21:47:03 +0000 (14:47 -0700)]
Merge PR #29304 into master

* refs/pull/29304/head:
cephfs: avoid map been inserted by mistake

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #29321 into master
Patrick Donnelly [Mon, 29 Jul 2019 21:45:44 +0000 (14:45 -0700)]
Merge PR #29321 into master

* refs/pull/29321/head:
Client: unlink dentry for inode with llref=0

Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoqa: sleep briefly after resetting kclient
Patrick Donnelly [Mon, 29 Jul 2019 21:08:17 +0000 (14:08 -0700)]
qa: sleep briefly after resetting kclient

Continuation of 6b83f43ba0a99ad86850974d354b17c3e23877be.

Fixes: https://tracker.ceph.com/issues/40999
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoceph-volume: when testing disable the dashboard
Andrew Schoen [Mon, 29 Jul 2019 20:25:19 +0000 (15:25 -0500)]
ceph-volume: when testing disable the dashboard

ceph-ansible has started enabling the dashboard by
default as of https://github.com/ceph/ceph-ansible/pull/4268

Disabling the dashboard gets us around needing to run
the grafana_server role which is required for the dashboard
and not needed for ceph-volume functional tests.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge PR #29338 into master
Patrick Donnelly [Mon, 29 Jul 2019 20:10:02 +0000 (13:10 -0700)]
Merge PR #29338 into master

* refs/pull/29338/head:
qa: ignore expected MDS_CLIENT_LATE_RELEASE warning

Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #28825 into master
Patrick Donnelly [Mon, 29 Jul 2019 20:08:29 +0000 (13:08 -0700)]
Merge PR #28825 into master

* refs/pull/28825/head:
qa: wait for kernel client death
qa: use hard_reset to reboot kclient

Reviewed-by: David Galloway <dgallowa@redhat.com>